Description Usage Arguments Value Author(s) See Also Examples
View source: R/denpro.R View source: R/treedisc.R
Prunes a level set tree or a tail tree so that it contains fewer levels. The pruning makes plotting of the trees much faster. The quality does not typically decrease essentially when a tree is pruned.
1 |
lst |
level set tree or a shape tree; output of for example "leafsfirst" |
pcf |
piecewise constant function; output of for example "pcf.kern" or "pcf.func"; "lst" should be the level set tree or shape tree of "pcf" |
ngrid |
positive integer; the number of levels which the pruned tree will have |
r |
vector of positive reals in increasing order; we may give the set of levels explicitely with the argument "r"; then the levels need not be equispaced as when we apply argument "ngrid" |
type |
"lst" or "shape"; not needed |
lowest |
a character; if lowest="dens", then it is assumed that the function whose level set tree we calculate is nonnegative |
a level set tree or a shape tree which contains fewer levels than the input
Jussi Klemela
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.