generate.data.FV17 {SparseFunClust} | R Documentation |
this function generates a set of simulated functional data in 2 clusters that reproduce the examples in Simulations 2A and 2B in Floriello & Vitelli (2017).
generate.data.FV17(n, x, paramC = 0.5, plots = FALSE)
n |
number of curves |
x |
curves' domain |
paramC |
proportion of cluster overlap (default 0.5, as in Simulation 2A) |
plots |
boolean; should plots be drawn ( |
a list including:
$data
matrix (n x length(x)
) with the simulated data
$true.partition
vector (length = n) with the true cluster assignments
generate.data.FV17(5, seq(0, 1, len = 3))