curves-methods: Get curves results data of a Z* object.

Description Usage Arguments Details Value Author(s) See Also

Description

pr_lost is always included in the returned data, but other columns can be specified using cols argument.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
curves(x, cols = NULL, groups = FALSE, lost.lower = 0, lost.upper = 1)

## S4 method for signature 'ZCurvesDataFrame'
curves(x, cols = NULL)

## S4 method for signature 'ZGroupCurvesDataFrame'
curves(x, cols = NULL)

## S4 method for signature 'Zresults'
curves(x, cols = NULL, groups = FALSE, lost.lower = 0, lost.upper = 1)

## S4 method for signature 'Zvariant'
curves(x, cols = NULL, groups = FALSE, lost.lower = 0, lost.upper = 1)

Arguments

x

Z* object.

cols

numeric or character vector of columns to be returned

groups

logical indicating whether group curves data should be returned.

lost.lower

numeric defining the lower limit of pr_lost to be included [0.0, 0.99] (default: 0.0)

lost.upper

numeric defining the upper limit of pr_lost to be included [0.01, 1.0] (default: 1.0)

Details

Arguments upper and lower can be used to define a specific range of pr_lost to be returned.

Method implementation in class Zvariant is just a thin wrapper for passing the argumets to variant's codeZresults object.

Value

ZCurvesDataFrame or ZGroupCurvesDataFrame containing the (selected) curves file data. If column names are provided, but none are found, return NA.

Author(s)

Joona Lehtomaki joona.lehtomaki@gmail.com

See Also

Zresults-class Zvariant-class read_curves read_grp_curves


zonator documentation built on July 8, 2020, 6:18 p.m.