Learn R Programming

gdm (version 1.6.0-2)

permutateSitePair: Permutate Site-Pair Table Rows, Internal Function

Description

A function which randomizes the rows of a given site-pair table. This function is called from the gdm.varImp function and not needed by the user. be called directly by the user.

Usage

permutateSitePair(spTab, siteVarTab, indexTab, vNames)

Value

A new site-pair table with rows randomized.

Arguments

spTab

A site-pair table.

siteVarTab

A site x variable table.

indexTab

A table of index values for the site-pair table.

vNames

Vector of variable names in both the site-pair and site x variable tables.

See Also

gdm.varImp