Description Usage Arguments Value Author(s) See Also Examples
Local Regression Function.
1 |
wins |
A matrix of vector positions, where wins[,1] contains left boundary positions,
and wins[,2] contains right boundary positions for the desired local regressions. Default
behaviour is optimized for use with |
xall |
A numeric vector. |
yall |
A numeric vector. |
resids |
Logical. Are residuals to be returned? |
A data frame if resids
is FALSE
. A list if resids
is TRUE
.
Colin Olito and Diego Barneche.
1 2 3 4 5 | # load sea urchin respirometry data
data(UrchinData)
# rank L metric by method 'eq'
wins <- getWindows(x=UrchinData$D, alpha=0.3)
reg <- locReg(wins[1, ], xall=UrchinData$time, yall=UrchinData$D, resids=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.