reRank: Re-rank 'rankLocReg'

Description Usage Arguments Details Value Author(s) Examples

View source: R/functions.R

Description

Re-rank an object of class rankLocReg.

Usage

1
reRank(x, newMethod)

Arguments

x

An object of class rankLocReg.

newMethod

Method with which object of class rankLocReg should be re-ranked.

Details

This function also updates x$call and x$method.

Value

An object of class rankLocReg.

Author(s)

Diego Barneche.

Examples

1
2
3
4
5
6
# load sea urchin respirometry data
data(UrchinData)
x  <-  rankLocReg(xall=UrchinData$time, yall=UrchinData$D, alpha=0.8, method="eq", verbose=TRUE)
x2  <-  reRank(x, newMethod="pc")
# check outputs
x$call; x2$call; x$method; x2$method

colin-olito/LoLinR documentation built on May 13, 2019, 9:54 p.m.