Plots data and smooths from clustra output or internally from within
start_groups()
plot_smooths(
data,
fits = NULL,
max.data = 1e+05,
select.data = NULL,
group = "group",
...
)The data. If after clustra run, it includes resulting clusters as group.
The tps component of clustra output or internal start_groups fits.
If fits are supplied and select.data is NULL, the data is colored by
clusters. If NULL, or if select.data is not NULL, the data is black points.
The maximum number of data points to plot. If zero,
no points are plotted (overrides select.data). Use Inf value to plot all
points.
Either NULL or a list of length k, each element a data.frame (like data)
with time and response components. The select.data points will be
highlighted with cluster colors on the plot. This is used internally in the
start_groups function to show the selected starting points. In this case,
also the fits parameter can contain TPS fits to the starting points.
Character variable name in data to color the clusters. A NULL will produce
a b&w point plot.
Other parameters to plot function, such as xlim or ylim axis limits.