ngr.data.generator.bsplines {PFLR}R Documentation

Generating random curves from B-Splines

Description

Generating random curves from B-Splines n,nknots,norder,p,domain=c(0,1),snr,betaind

Usage

ngr.data.generator.bsplines(
  n,
  nknots,
  norder,
  p,
  domain = c(0, 1),
  snr,
  betaind
)

Arguments

n

Number of curves

nknots

Number of knots

norder

Degree

p

Number of time points

domain

Domain of time

snr

Signal to noise ratio

betaind

Numeric index for function

Value

X: The generated X matrix of curve sampled at each timepoint

Y: The generated dependent variable


[Package PFLR version 1.0.0 Index]