result: Generic Function - result

resultR Documentation

Generic Function – result

Description

Generic function

Usage

  result(object, index)

Arguments

object

Depending on the class of object depends on the method used (and if one exists)

index

Single positive integer giving chain index.

Details

Generic Function

Value

Depends on the calss of object, see individual methods

Author(s)

Simon Taylor Rebecca Killick

See Also

result-methods

Examples

x = new("pcpt") # new pcpt object
results(x) = list(`1` = NULL, `2` = NULL)
result(x, 2) # retrieves the the second listed item from the results slot from x

taylors2/PeriodCPT documentation built on June 28, 2024, 12:32 p.m.