plot.rankLocReg: Plotting chosen local linear regression

Description Usage Arguments Value Author(s) See Also Examples

View source: R/functions.R

Description

Plotting chosen local linear regression.

Usage

1
2
## S3 method for class 'rankLocReg'
plot(x, ..., rank = 1)

Arguments

x

An object of class rankLocReg.

...

Other parameters to be passed through to plotting functions.

rank

Position, as in row number from input x, of local regression to be plotted.

Value

Generates a distribution of all local regression slopes + residual-plot diagnostics for chosen local regression + scatterplot.

Author(s)

Colin Olito and Diego Barneche.

See Also

rankLocReg.default.

Examples

1
2
3
4
5
6
# load sea urchin respirometry data
data(UrchinData)
# rank L metric by method 'eq'
allRegs  <-  rankLocReg(xall=UrchinData$time, yall=UrchinData$D, alpha=0.3, method="eq", verbose=TRUE)
# plot best local regression
plot(allRegs, rank=1)

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