wts: Compute the weights (wts)

Description Usage Arguments Value Author(s) References Examples

View source: R/wts.R

Description

This function is used to compute weights (wts)

Usage

1
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

Author(s)

Lei Zhao, lei.zhao@cau.edu.cn; Daniel Reuman, reuman@ku.edu

References

<Lei paper>

Examples

1
2
X<-matrix(runif(200,1,100), 10, 20)
ans<-wts(X)

reumandc/tsvr documentation built on Jan. 17, 2021, 10:32 p.m.