plot_cluster {growfunctions} | R Documentation |
Plot estimated functions, faceted by cluster numbers, for a known clustering
Description
An internal function of the growfunctions
package.
Usage
plot_cluster(
y,
H,
sort = FALSE,
sample_rate = 0.05,
y.axis.label = NULL,
smoother = TRUE,
fade = 0.2,
cluster_order = NULL,
plot_render = TRUE
)
Arguments
y |
An |
H |
An |
sort |
An optional boolean input on whether to sort the cluster-indexed plot panels
of function by size of cluster. Defaults |
sample_rate |
An optional numeric value in (0,1] indicating percent of functions to randomly sample within each cluster to address over-plotting. Defaults to 1. |
y.axis.label |
An optional text label for y-axis. Defaults to |
smoother |
An optional scalar boolean input indicating whether to co-plot a smoother line through the functions in each cluster. |
fade |
An optional numeric input in |
cluster_order |
An optional numeric vector of length |
plot_render |
An optional boolean input indicating whether to render the plot.
Defaults to |
Value
A list object containing the plot of estimated functions, faceted by cluster,
and the associated data.frame
object.
p.basis |
A |
map |
A |
Author(s)
Terrance Savitsky tds151@gmail.com