mono.range: Proportion in Range

Description Usage Arguments Value Author(s) Examples

View source: R/mono.range.R

Description

This function reports the proportion of entries that fall inside of the prespecified range.

Usage

1
mono.range(data, data.r, tol, xr.col, x.col, y.col)

Arguments

data

a data.frame or matrix of measurement data

data.r

range for y values; must have three columns: 1 - must match values in x.col, 2 - lower range values, 3 - upper range values

tol

tolerance; how much outside of the range (data.r) is acceptable; same units as data in y.col

xr.col

column where x values, or time variable is stored in data.r

x.col

column where x values, or time variable is stored in data

y.col

column where y values, or measurements are stored in data

Value

Returns the proportion of y values that fall inside the prespecified range

Author(s)

Michele Josey mjosey@nccu.edu Melyssa Minto mminto@nccu.edu

Examples

1
2
3
4
data(simulated_data)
data(data.r)

mono.range(simulated_data, data.r, tol=4, xr.col=1 ,x.col=2, y.col=3)

MonoInc documentation built on May 2, 2019, 8:18 a.m.