Permutate Site-Pair Table Rows

Description

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

Usage

1
permutateSitePair(spTab, siteVarTab, indexTab, vNames)

Arguments

spTab

A given site-pair table.

siteVarTab

A given site x variable table.

indexTab

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

vNames

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

Value

A site-pair table, with rows randomized from the original site-pair table.

Note

This function is called from the gdm.varImp function and the user should not need to access directly.

See Also

gdm.varImp