timeplot.select: To systematically select id in a longitudinal dataset based...

Description Usage Arguments Value

View source: R/timeplot.select.R

Description

To systematically select id in a longitudinal dataset based on residuals from fitted smooth

Usage

1
2
timeplot.select(formula, id, data, smoother = c("loess", "spline"),
  select = c(0, 0.05, 0.1, 0.25, 0.5, 0.75, 0.9, 0.95, 1), df = 4, ...)

Arguments

formula

formula to supply to smoother (y ~ x)

id

character specify name of id variable

data

longitudinal data

smoother

type of smooth

select

quantile to choose

df

degree of freedom if use spline as smoother (default = 4)

...

other arguments to supply to loess

Value

data frame contains id, max x, y at max x, and labels


lampk/Lmisc documentation built on Aug. 13, 2019, 8:02 a.m.