GenerateSyntheticAnova {grove} | R Documentation |
Generate synthetic functional ANOVA dataset
Description
This function generates a synthetic 3-factor functional ANOVA dataset.
Usage
GenerateSyntheticAnova(st.dev = 10, n.replicates = 5)
Arguments
st.dev |
The standard deviation of the error. |
n.replicates |
The number of replicates for each factor combination. |
Value
A list containing the data without noise, the data with noise, and the design matrix.
Examples
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")
[Package grove version 1.1.1 Index]