powered by
scacum(x, y = NA, z = NA)
numeric
NA
cumsum
x <- c(0.79,0.32,0.53,0.43,0.18) names(x) <- 1948:1952 y <- 4 z <- 1951 scacum(x,y,z) ##If y = NA then cummulative values are scaled arround ##max(cumsum(x)): max(cumsum(x)) scacum(x,NA)
Run the code above in your browser using DataLab