ngr.data.generator.bsplines: Generating random curves from B-Splines

View source: R/ngr.R

ngr.data.generator.bsplinesR 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


PFLR documentation built on Sept. 11, 2024, 7:21 p.m.