htd.vanilla {HEMDAG} | R Documentation |
HTD-DAG vanilla
Description
Correct the computed scores in a hierarchy according to the HTD-DAG
algorithm.
Usage
htd.vanilla(S, g, norm = FALSE, norm.type = NULL)
Arguments
S |
a named flat scores matrix with examples on rows and classes on columns. |
g |
a graph of class |
norm |
a boolean value. Should the flat score matrix be normalized? By default |
norm.type |
a string character. It can be one of the following values:
|
Value
A matrix with the scores of the classes corrected according to the HTD-DAG
algorithm.
Examples
data(graph);
data(scores);
S.htd <- htd.vanilla(S, g, norm=FALSE, norm.type=NULL);
[Package HEMDAG version 2.7.4 Index]