discr.sims.linear: Discriminability Linear Simulation

Description Usage Arguments Author(s)

View source: R/simulations.R

Description

A function to simulate multi-class data with a linear class-mean trend.

Usage

1
2
discr.sims.linear(n, d, K, sig.scale = 1, mean.scale = 1, rotate = FALSE,
  class.equal = TRUE, ind = FALSE)

Arguments

n

the number of samples.

d

the number of dimensions.

K

the number of classes in the dataset.

sig.scale

the scaling for the class-variance. Defaults to 1.

mean.scale

the scaling for the class-means. Defaults to 1.

class.equal

whether the number of samples/class should be equal, with each class having a prior of 1/K, or inequal, in which each class obtains a prior of k/sum(K) for k=1:K. Defaults to TRUE.

ind

whether to sample x and y independently. Defaults to FALSE.

Author(s)

Eric Bridgeford


neurodata/mgc-r documentation built on Feb. 3, 2019, 12:43 a.m.