powered by
This function is used to compute weights (wts)
wts(X)
a matrix with counts or densities arranged in species by time step
wts returns an object of class list consisting of
wts
a vector from 0 to 1 (not include 0 and 1)
a vector of wts
<Lei paper>
# NOT RUN { X<-matrix(runif(200,1,100), 10, 20) ans<-wts(X) # }
Run the code above in your browser using DataLab