generateData: generate synthetic data on the unit hypercube

Description Usage Arguments

View source: R/generateData.R

Description

generate synthetic data on the unit hypercube

Usage

1
2
generateData(p = 3, n = 500, meanFunction, sdFunction = function(x)
  return(1), type = "log.normal")

Arguments

p

the dimension of the covariate space

n

the number of observations

meanFunction

the mean function

sdFunction

the standard deviation function

type

the type of data to generate (either "log.normal" or "poisson")


lorismichel/potForest documentation built on Nov. 18, 2017, 5:10 p.m.