Description Usage Arguments Value Examples
Plot the estimated density function (see est_dens
) for a given set of data using a given orthonormal basis
of some dimension. If known, compare the plot to the plot of the actual density function.
1 2 |
basis |
an object of class |
data |
a numeric vector containing a sample of i.i.d. real random variables with common density. |
D |
a numeric value, the dimension of the subspace in which the estimation will be calculated. |
pd |
a numeric value. Another dimension of a subspace in which the estimation can be calculated in.
The default is the dimension given by the model selection algorithm (see |
resol |
a numeric value, specifying the quality of the plot (length.out of processed values). The default is 300. |
dens |
a function, the true density of the distribution. Since the true density may not be known, the default is NULL. |
compare |
logical value. If TRUE the projection estimator (see |
no return
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.