Description Usage Arguments Value Details Author(s) Examples
A function for simulating data generalizing the Toeplitz setting, where each class has a different covariance matrix. This results in a Quadratic Discriminant.
1 2  lol.sims.qdtoep(n, d, rotate = FALSE, priors = NULL, D1 = 10, b = 0.4,
rho = 0.5)

n 
the number of samples of the simulated data. 
d 
the dimensionality of the simulated data. 
rotate 
whether to apply a random rotation to the mean and covariance. With random rotataion matrix 
priors 
the priors for each class. If 
D1 
the dimensionality for the nonequal covariance terms. Defaults to 
b 
a scaling parameter for the means. Defaults to 
rho 
the scaling of the covariance terms, should be < 1. Defaults to 
A list of class simulation
with the following:
X 

Y 

mus 

Sigmas 

priors 

simtype 
The name of the simulation. 
params 
Any extraneous parameters the simulation was created with. 
For more details see the help vignette:
vignette("sims", package = "lolR")
Eric Bridgeford
1 2 3  library(lolR)
data < lol.sims.qdtoep(n=200, d=30) # 200 examples of 30 dimensions
X < data$X; Y < data$Y

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.