generate.y: Generate observations (underlying functions). Function to...

Usage Arguments Examples

View source: R/simulate-data-fun.R

Usage

1
generate.y(type = 1, seed = sample(2500, 1))

Arguments

type

Numeric value (1,2,...,10).

seed

If certain seed wanted.

Examples

1
2
3
4
y = generate.y(); plot(y)
y = generate.y(type = 2); plot(y)
y = generate.y(type = 3); plot(y)
y = generate.y(type = 4); plot(y)

helenecharlotte/L1splines documentation built on May 17, 2019, 3:24 p.m.