kin.derive: smooth then calculate derivatives of a given variable with...

View source: R/functions_smooth_derive.r

kin.deriveR Documentation

smooth then calculate derivatives of a given variable with respect to a specific predictor. Inputs:

Description

smooth then calculate derivatives of a given variable with respect to a specific predictor. Inputs:

Usage

kin.derive(x, y, l = 0.2, d)

Arguments

x:

predictor

y:

variable to be smoothed

l:

lambda - smoothing parameter (default to .2)

d:

order of derivative


ccamp83/kinesis documentation built on Feb. 28, 2024, 12:11 p.m.