I want to create a new data frame from the existing one for visualisation however, the datasets I want to combine vary in length. Is there a way of combining them without losing any of the data points of the variables from the longer datasets?
info_summary <- data.frame(Croydon = Readability.Croydon$Flesch, Kingston = Readability.Kingston$Flesch,Lambeth = Readability.Lambeth$Flesch, Merton = Readability.Merton$Flesch, Richmond = Readability.Richmond$Flesch, Sutton = Readability.Sutton$Flesch, Wandswoth = Readability.Wandsworth$Flesch)
When I ran that it came back with:
Error in data.frame(Croydon = Readability.Croydon$Flesch, Kingston = Readability.Kingston$Flesch, :
arguments imply differing number of rows: 9567, 3197, 9583, 6392, 3198, 3199, 9598
If any one has any suggestions on how to combine with into a new dataset would really help.
The means of visualisation I aim/hope to use is a box plot, where the readability levels are compared between the seven boroughs.