l_clusterLine {mgcViz} | R Documentation |
Cluster and plot smooth effects
Description
This layers clusters several smooth effects and plots the cluster centers.
Usage
l_clusterLine(centers, cluFun = kmeans, a.clu = list(), ...)
Arguments
centers |
the number of clusters. This is the same a the |
cluFun |
the function used for clustering. I must take (at least) arguments |
a.clu |
list of further argument to be passed to |
... |
graphical arguments to be passed to |
Value
An object of class gamLayer
.
See Also
See plot.fs.interaction.1D for examples.
[Package mgcViz version 0.1.11 Index]