GenerateSyntheticAnova: Generate synthetic functional ANOVA dataset

Description Usage Arguments Value Examples

View source: R/GenerateSyntheticAnova.R

Description

This function generates a synthetic 3-factor functional ANOVA dataset.

Usage

1
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

1
2
3
4
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")

grove documentation built on May 2, 2019, 5:55 a.m.