Samples from a set of normal distributions with parameters given in xbar and xvar.
sampleFrom(xbar=0, xvar=1, n=1, randn=NULL, type="norm")A vector, with labels.
a named vector of means.
a named vector of variances.
a vector containing the sample sizes of each species.
a range of sample sizes are to be random.
"norm" is the only distribution implemented so far.
Liam Revell liam.revell@umb.edu
Revell, L. J. (2024) phytools 2.0: an updated R ecosystem for phylogenetic comparative methods (and other things). PeerJ, 12, e16505.