smooth.loess {takos} | R Documentation |
Title smooth.loess
Description
a wrapper for the loess function included in the R base system
Usage
smooth.loess(x, y, safe.start = 5, safe.end = 5, myspan = 0.28)
Arguments
x |
variable x |
y |
variable y |
safe.start |
exclude a the n-th first values from calculation |
safe.end |
exclude a the n-th end values from calculation |
myspan |
span parameter for loess function |
Examples
npoints=1000
x=seq(1,npoints)
y=(dnorm(x, mean=npoints/2, sd=npoints/10))
y.smooth=smooth.loess(x,y)
plot(x,y)
[Package takos version 0.2.0 Index]