Description Usage Arguments Value Author(s) See Also Examples
Plotting chosen local linear regression.
1 2 |
x |
An object of class |
... |
Other parameters to be passed through to plotting functions. |
rank |
Position, as in row number from input |
Generates a distribution of all local regression slopes + residual-plot diagnostics for chosen local regression + scatterplot.
Colin Olito and Diego Barneche.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.