windowsCut {longitudinalData} | R Documentation |
~ Function: windowsCut ~
Description
windowsCut
prepare an object ParWindows
according to its arguments.
Usage
windowsCut(x, addLegend = TRUE,closeScreen=TRUE)
Arguments
x |
|
addLegend |
|
closeScreen |
|
Details
If x
is a number of variable, the column and row number are
estimate according to the formula
nbCol <- ceiling(sqrt(x))
and nbRow <- ceiling(x/nbCol)
.
Value
An object of class ParWindows
.
Author
Christophe Genolini
1. UMR U1027, INSERM, Université Paul Sabatier / Toulouse III / France
2. CeRSM, EA 2931, UFR STAPS, Université de Paris Ouest-Nanterre-La Défense / Nanterre / France
References
[1] C. Genolini and B. Falissard
"KmL: k-means for longitudinal data"
Computational Statistics, vol 25(2), pp 317-328, 2010
[2] C. Genolini and B. Falissard
"KmL: A package to cluster longitudinal data"
Computer Methods and Programs in Biomedicine, 104, pp e112-121, 2011
Examples
### Simple cut with no space for legent
windowsCut(3,FALSE)
windowsCut(4,FALSE)
windowsCut(5,FALSE)
### Simple cut with legend
windowsCut(5)