Skip to contents

Creates a bifd object from a matrix.

Usage

Data2bifd(
  sargvals = NULL,
  targvals = NULL,
  y = NULL,
  sbasisobj = NULL,
  tbasisobj = NULL,
  Lfdobjs = NULL,
  Lfdobjt = NULL,
  lambdas = NULL,
  lambdat = NULL
)

Arguments

sargvals

Argument values for `s' in the matrix input y(s,t).

targvals

Argument values for `t' in the matrix input y(s,t).

y

Data (only one) as a matrix.

sbasisobj

basisfd object for `s'

tbasisobj

basisfd object for `t'

Lfdobjs

Number of derivatives used for smoothing along `s'. No smoohting will be done for NULL

Lfdobjt

Number of derivatives used for smoothing along `t'. No smoohting will be done for NULL

lambdas

Weight on the smoothing along `s'

lambdat

Weight on the smoothing along `t'