Displaying 1 result from an estimated 1 matches for "wua_tabl".
Did you mean:
wua_table
2014 Jun 20
1
zuzufarah Help with ggplot 2 error: Aesthetics must either be length one, or the same length as the dataProblems
WUA_table<-WUA.df[,2:dim(WUA.df)[2]]
WUA_discharge<-WUA.df[,1]
colour_scheme<-palette(rainbow(dim(WUA_table)[2]))
# Main scatterplot
p1 <- ggplot(NULL, aes(WUA_discharge,WUA_table)) +
geom_line() +
scale_color_manual(values=colour_scheme)+
scale_x_continuous(expand = c(0, 0)) +
scale_y_...