scacum | R Documentation |
This function computes cummulative and scaled sums of time-series replicates.
scacum(x, sc.c = NA, rf.t = NA)
x |
|
sc.c |
|
rf.t |
|
Cummulative sums of time-series replicates (e.g. tree-ring widths) are scaled around reference values (e.g. tree radii).
data frame with the original vector, and its scaled-cummulative sums.
Wilson Lara <wilarhen@gmail.com>, Felipe Bravo <fbravo@pvs.uva.es>
x <- c(0.79,0.32,0.53,0.43,0.18) names(x) <- 1948:1952 scacum(x,sc.c = 4,rf.t = 1951) ##If sc.c = NA then cummulative values are scaled arround ##max(cumsum(x)): max(cumsum(x)) scacum(x,NA,1951)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.