add_obs: Adding Summary of Observations in Plotted Growth Curves

Description Usage Arguments Value Examples

Description

Overlaying tendency and dispersal of observations in plotted growth curves.

For 'method="relative"', no error bars will be displayed.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
add_obs(x, method, ...)

## S4 method for signature 'data.frame,character'
add_obs(
  x,
  method = c("input", "piled", "relative"),
  factor,
  pch_args = list(),
  err_args = list(),
  scale_error = 1,
  ...
)

Arguments

x

A data frame obtained by summary_stats.

method

Method used by plot for plotting growth curves.

...

Further arguments passed among methods.

factor

Variable displayed at the x-axis.

pch_args, err_args

Lists of arguments passed to points() and segments(), respectively.

scale_error

Value multiplied to the dispersion variable for the display in error bars.

Value

Points and error bars overlaid to active plot device.

Examples

1
## No example at the moment

kamapu/cropgrowth documentation built on Aug. 22, 2021, 8:55 a.m.