single_FPC: This function computes the first DeFEC

Description Usage Arguments

View source: R/single_pc_step.R

Description

This function computes the first DeFEC

Usage

1
2
3
single_FPC(betalist = NULL, obs, timep, basis_intelist, spline_basis,
  threshold = 0.001, minit = 20, gamma = 0, maxeval = 1000,
  randomseed = 1001)

Arguments

betalist

a list of previous DeFEC's coefficients, the resulting one should be orthogonal to those previous computed ones.

obs

a list of observed longitudinal data; each element in the list is a numeric vector for one subject's observed data

timep

a list of observed time points

basis_intelist

a list of integrated B-spline basis function

spline_basis

the B-spline basis for the fitted FEC

gamma

a positive number, the smoothing parameter


YunlongNie/DeFEC documentation built on May 7, 2019, 10:56 a.m.