Description Usage Arguments Details Value See Also Examples
Estimates smooth curves and densities using the binned local polynomial smoothers in the KernSmooth
package.
1 2 3 4 |
formula |
two-sided formula (one-sided for density estimation in |
design |
|
bandwidth |
Smoothing bandwidth. Either this or
|
M |
Number of grid points for binned smoother |
sample.bandwidth |
either |
... |
dots |
The binning is performed in SQL, so for large data sets the computation
time is roughly linear in M
and in the number of
observations. M
should be a few times larger than
range(x)/bandwidth
, but can often be reduced from the default
value.
If sample.bandwidth
is not NULL
, a simple random sample
of the specified size is taken from the data and the optimal bandwidth is
computed using the functions in the 'KernSmooth' package and then
rescaled to the full sample size.
Quantile smoothing is not currently available.
An object of class svysmooth
, with plot
and lines
methods
sqlsurvey
,sqlrepsurvey
,svysmooth
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.