plotContWeights {ahw}R Documentation

Plots mean and individual weight trajectories

Description

Plotting all the individual weight trajectories in fr, along with the mean. Plots weights for assessment.

Usage

plotContWeights(
  fr,
  stopTimeName = "to",
  startStatusName = "from.state",
  endStatusName = "to.state",
  idName = "id"
)

Arguments

fr

Data with weight column

stopTimeName

Name of column with stop time of the at risk period

startStatusName

Name of the variable that contains the name of start state for each at-risk interval

endStatusName

Name of the variable that contains the name of end state for each at-risk interval

idName

Name of column in dataFr that identifies individuals

Value

No return value.

Author(s)

Pål Christie Ryalen <p.c.ryalen@medisin.uio.no>


[Package ahw version 0.1.0 Index]