View source: R/GenerateSyntheticAnova.R
GenerateSyntheticAnova | R Documentation |
This function generates a synthetic 3-factor functional ANOVA dataset.
GenerateSyntheticAnova(st.dev = 10, n.replicates = 5)
st.dev |
The standard deviation of the error. |
n.replicates |
The number of replicates for each factor combination. |
A list containing the data without noise, the data with noise, and the design matrix.
data <- GenerateSyntheticAnova(st.dev = 5, n.replicates = 10) ix <- 1 plot(data$clean.Y[ix, ], type = "l", col = "red", ylab = "") lines(data$noisy.Y[ix, ], col = "blue")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.