Description Usage Arguments Value Examples
Plot time series of data
1 |
data.df |
A data frame of t values and data values, with standard errors |
maintitle |
Title of plot |
plot.se |
Whether or not to plot standard errors |
A plot of time series data with standard errors, if desired.
1 2 3 4 5 6 7 8 9 10 | nyears <- 100
prop.sample <- 0.7
obs.err <- TRUE
sigma.y <- 0.5
seed <- 123
method <- 'splines'
params <- list(sigma.alpha = 1, order = 1)
res <- simulateFluctuations(nyears, prop.sample, method, params, obs.err, sigma.y)
res$se <- 0.1
plotData(res)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.