lol.sims.cigar {lolR} | R Documentation |
Stacked Cigar
Description
A simulation for the stacked cigar experiment.
Usage
lol.sims.cigar(n, d, rotate = FALSE, priors = NULL, a = 0.15, b = 4)
Arguments
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 |
a |
scalar for all of the mu1 but 2nd dimension. Defaults to |
b |
scalar for 2nd dimension value of mu2 and the 2nd variance term of S. Defaults to |
Value
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. |
Details
For more details see the help vignette:
vignette("sims", package = "lolR")
Author(s)
Eric Bridgeford
Examples
library(lolR)
data <- lol.sims.cigar(n=200, d=30) # 200 examples of 30 dimensions
X <- data$X; Y <- data$Y