yMax: Calculate y-axis limit for plotting multiple activity curves

Description Usage Arguments Value

View source: R/supportfunctions.R

Description

Identifies maximum probability density for multiple activity curves to select y-axis limit when plotting multiple curves

Usage

1
yMax(models, type = "mixture")

Arguments

models

List of objects of class GCMM containing output from GCMM function

type

Identifier for whether to use maximum probability density from GCMM mixture, using "mixture", or components, using "components"; default is to use the GCMM mixture density

Value

Returns a value of the maximum probability density plus buffer space to be used as the y-axis limit in activity curve plots


activityGCMM documentation built on June 15, 2021, 1:06 a.m.