Description Usage Arguments Value Details Author(s) Examples
A function to simulate from the 2class xor problem.
1  lol.sims.xor2(n, d, priors = NULL, fall = 100)

n 
the number of samples of the simulated data. 
d 
the dimensionality of the simulated data. 
priors 
the priors for each class. If 
fall 
the falloff for the covariance structuring. Sigma declines by ndim/fall across the variance terms. 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.xor2(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.