generate.data.FV17 {SparseFunClust} | R Documentation |
Data generation: no-misalignment case
Description
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).
Usage
generate.data.FV17(n, x, paramC = 0.5, plots = FALSE)
Arguments
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 ( |
Value
a list including:
$data
matrix (n xlength(x)
) with the simulated data$true.partition
vector (length = n) with the true cluster assignments
Examples
generate.data.FV17(5, seq(0, 1, len = 3))
[Package SparseFunClust version 1.0.0 Index]