simu: Simulations of data

Usage Arguments Value

View source: R/simu.R

Usage

1
2
simu(n = 600, rho = 0.9, sigma = 1, name = "don", threshold = 0.5,
  seed = NULL)

Arguments

n

number of observations

rho

correlation between variables within a group

sigma

standard deviation of the variables in the group of noise

name

name of the data

threshold

to binarize y

seed

optional seed to pass to set.seed

Value

the matrix X of explonatory variables and y the binary variable to predict


robingenuer/CoVVSURF documentation built on May 27, 2019, 11:38 a.m.