powered by
a wrapper for the loess function included in the R base system
smooth.loess(x, y, safe.start = 5, safe.end = 5, myspan = 0.28)
variable x
variable y
exclude a the n-th first values from calculation
exclude a the n-th end values from calculation
span parameter for loess function
# NOT RUN { npoints=1000 x=seq(1,npoints) y=(dnorm(x, mean=npoints/2, sd=npoints/10)) y.smooth=smooth.loess(x,y) plot(x,y) # }
Run the code above in your browser using DataLab