There is a difference between specifying a scale inside the aes or
aes_string functions, and doing it in the arguments to the geom function.
Inside the aes function call it creates a mapping from your input data to
the layer variables, and you do not want to specify strings such as
"Cusum" but
Data
this is the data I used for the following problems:
dput(sdf)
structure(list(weeks = c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12,
13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28,
29, 30), values = c(9.45, 7.99, 9.29, 11.66, 12.16, 10.18, 8.04,
11.46, 9.2, 10.34, 9.03, 11.47, 10.
2 matches
Mail list logo