Learn R Programming

TwoRegression (version 1.1.1)

plot_walkrun: Plot behaviors for visualizing a walk/run cut-point

Description

Plot behaviors for visualizing a walk/run cut-point

Usage

plot_walkrun(
  object,
  activity_var,
  walkrun_activities,
  walkrun_cpVar,
  met_var,
  ...
)

Arguments

object

the TwoRegression object to plot from

activity_var

Character scalar. Name of the variable defining which activity is being performed

walkrun_activities

character vector giving values of activity_var that are walk/run activities

walkrun_cpVar

character scalar giving the name of the variable on which the walk/run cut-point is based

met_var

character scalar. The name of the variable containing energy expenditure values, in metabolic equivalents

...

further arguments passed to plotting calls