predict.fusedanova: Predict method for a fusedanova object

Description Usage Arguments See Also Examples

Description

Produce a prediction for a vector of lambda parameter and an array of class.

Usage

1
\S4method{predict}{fusedanova}(object, y= NULL, lambda=NULL, labels = FALSE)

Arguments

object

an object of class fusedanova.

y

a vector of class. By default, NULL. If NULL, all classes are predicted.

lambda

a numeric vector giving the list of lambda for which to predict. By default, NULL. If NULL, it is set to the lambdalist slot of object. If this slot is empty, lambda is set to the fusion times detected in the fusedanova function.

labels

logical. Kepp the labels or not.

See Also

fusedanova.

Examples

1
2
3
data(aves)
fa <- fusedanova(x=aves$weight, class=aves$family, weight="laplace", gamma=5)
predict(fa, labels=aves$order)


Search within the fusedanova package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.