Description Usage Arguments Details Value
An a priori clustering of components
is given, therefore coerced by the user.
We generate a hierarchical tree coerced
by the a priori component clustering.
We proceeds in two steps:
(i) by division from the coerced tree-level towards the leaves,
(i) by grouping from the coerced tree-level towards the trunk.
1 2 | complete_ftree(fobs, mOccur, xpr, affectElt, opt.mean, opt.model,
opt.nbMax = dim(mOccur)[2] )
|
fobs |
a numeric vector. The vector |
mOccur |
a matrix of occurrence (occurrence of elements).
Its first dimension equals to |
xpr |
a vector of numerics of |
affectElt |
a vector of integers
of If If |
opt.mean |
a character equals to Modelled performances are computed
using arithmetic mean ( |
opt.model |
a character equals to If If |
opt.nbMax |
an integer, comprizes between 1 and nbElt,
that indicates the last level of hierarchical tree to compute.
This option is very useful to shorten computing-time
in the test-functions
|
"divisive"
: We proceed by division,
varying the number of functional groups of components
from 1 to the number of components.
All components are initially regrouped
into a single, large, trivial functional group.
At each step, one of the functional groups is split
into two new functional groups: the new functional groups selected are
those that minimize the Residual Sum of Squares of the clustering.
The process stops when each component is isolated in a singleton,
that is when there are so many clsyters as components.
As a whole, the process generates a hierarchical divisive tree
of component clustering, whose RSS decreases monotonically
with the number of functional groups.
At each hierarchical level of the divisive tree, the division of the existing functional groups into new functional groups proceeds as follows. Each existing functional group is successively split into two new functional groups. To do that, each component of the functional group is isolated into a singleton: the singleton-component that minimizes RSS is selected as the nucleus of the new functional group. Each of the other components belonging to the existing functional group is successively moved towards the new functional group: the component clustering that minimizes RSS is kept. Moving component into the new functional group continues as long as the new component clustering decreases RSS.
"agglomerative"
: We proceed by grouping,
varying the number of functional groups of components
from the number of components until to 1.
All components are initially dispersed
into a singleton, as many singletons as components.
At each step, one of the functional groups is grouped
with another functional group: the new functional groups selected are
those that minimize the Residual Sum of Squares of the clustering.
The process stops when all components are grouped
into a large, unique functional group.
As a whole, the process generates a hierarchical aggloimerative tree
of component clustering, whose RSS decreases monotonically
with the number of functional groups.
At each hierarchical level of the agglomerative tree, the clustering of the existing functional groups into new functional groups proceeds as follows. Each existing functional group is successively grouped with other functional groups. The component clustering that minimizes RSS is kept.
Return an object "tree",
that is a list containing
(i) tree$aff
: an integer square-matrix of
component affectation to functional groups,
(ii) tree$cor
: a numeric vector of
coefficient of determination.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.