powered by
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)
a list including:
$data matrix (n x length(x)) with the simulated data
$data
length(x)
$true.partition vector (length = n) with the true cluster assignments
$true.partition
number of curves
curves' domain
proportion of cluster overlap (default 0.5, as in Simulation 2A)
boolean; should plots be drawn (FALSE default)
FALSE
generate.data.FV17(5, seq(0, 1, len = 3))
Run the code above in your browser using DataLab