wts {tsvr}R Documentation

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

Author(s)

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

References

<Lei paper>

Examples

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


[Package tsvr version 1.0.2 Index]