Learn R Programming

tsvr (version 1.0.2)

wts: Compute the weights (wts)

Description

This function is used to compute weights (wts)

Usage

wts(X)

Arguments

X

a matrix with counts or densities arranged in species by time step

Value

wts returns an object of class list consisting of

frequency

a vector from 0 to 1 (not include 0 and 1)

wts

a vector of wts

References

<Lei paper>

Examples

Run this code
# NOT RUN {
X<-matrix(runif(200,1,100), 10, 20)
ans<-wts(X)

# }

Run the code above in your browser using DataLab