gl.unequal {DTK} | R Documentation |
Produces a vector of samples of unequal sizes. Useful when observations are already sorted into groups by levels.
gl.unequal(n = "number of levels", k = "numeric vector of sample sizes")
n |
Scalar determining the number of levels. |
k |
Numeric vector specifying the sample size at each level. |
Produces a factored vector.
Be sure that you precisely specify the above arguments to correspond to your observation vector.
Matthew K. Lau, Department of Biological Sciences, Northern Arizona University, AZ
gl.unequal(n=3,k=c(25,30,35))