/packages/archive/2010/04.2010/04.30.2010/spacodi/man/resamp.1s.Rd
Unknown | 35 lines | 24 code | 11 blank | 0 comment | 0 complexity | 45aa69585e1d9226506567c7e571e69a MD5 | raw file
1\name{resamp.1s} 2 3\alias{resamp.1s} 4 5\title{randomizing a species-by-plots matrix: '1s' of Hardy (2008)} 6 7\usage{resamp.1s(obj)} 8 9\arguments{ 10 \item{obj}{a community-phylogenetic dataset in \code{SPACoDi} format (see \code{\link{as.spacodi}})} 11} 12 13\details{A resampling procedure for a species-by-plots matrix, where observed abundances are shuffled across species and plots.} 14 15\value{A shuffled dataset} 16 17\references{ 18 HARDY OJ. 2008. Testing the spatial phylogenetic 19 structure of local communities: statistical performances of 20 different null models and test statistics on a locally neutral 21 community. Journal of Ecology 96:914-926. 22} 23 24\author{Timothy Paine and Jonathan Eastman} 25 26\seealso{\code{\link{Bst.by.nodes}} for permutation tests of community diversity and additional randomization methods; 27see \code{\link{spacodi.calc}} for the main underlying function} 28 29\examples{ 30sp.plot <- sim.spacodi(species=10,plots=4,missing.prop=0.15,sim.tree=FALSE) 31sp.plot 32 33# shuffle dataset 34resamp.1s(obj=sp.plot) 35}