fsimulate: Simulate data

Description Usage Arguments Details See Also

View source: R/fsimulate.R

Description

Function simulates data from the paper

Usage

1
2
fsimulate(n = 100, d = 7, K = 3, dgrid = 51, clear = 0.85,
  noise.mag = 0.1)

Arguments

n

number of observations

d

number of dimensions

K

true 'low dimension'

dgrid

size of the grid

clear

fraction of observations to remove

noise_mag

the magnitude of noise

Details

The function simulates data as described in the paper. Generates observations X1,X2 and a Y = X1 + X2 + noise

See Also

fregression


kidzik/fcomplete documentation built on Nov. 13, 2018, 1:14 p.m.