Description Usage Arguments Value Author(s) See Also Examples

Function "densplit" returns an overfitting histogram as an evaluation tree. Function "prune" finds the candidate nodes for pruning. Function "scaspa" finds the number of modes (local maxima) in the histograms which are obtained by using these candidate nodes for pruning.

1 | ```
scaspa(treeseq, bind, eind)
``` |

`treeseq` |
a list returned by function "prune" |

`bind` |
integer in 1:subnum, where subnum is the number of elements in field "leafs" of "treeseq". We need bind<eind. |

`eind` |
integer in 1:subnum, where subnum is the number of elements in field "leafs" of "treeseq". We need bind<eind. |

List with the following vectors whose length is (eind-bind+1)

`moodilkm ` |
number of local maxima for each subtree |

`alfas ` |
value of the smoothing parameter alpha for each subtree |

`leafnums ` |
number of leaves for each subtree |

Jussi Klemela

1 2 3 4 5 6 7 8 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.