splist: species list used in function add.col()

Description Usage Format References Examples

Description

A species check list example to be used in add.col()

Usage

1

Format

A data frame with 9 observations on the following 3 variables.

species

a factor with levels sp1 to sp8

genera

a factor with levels gen1 to gen6

family

a factor with levels fam1 to fam5

References

None

Examples

1
2
3
4
5
6
7
8
data(splist)
data(testdata)
## add genera from dataframe B to dataframe A.
add.col(inputA = testdata, inputB = splist, add = "genera",
according = "species")
## add family from dataframe B to dataframe A.
add.col(inputA = testdata, inputB = splist, add = "family", 
according = "species")

spaa documentation built on May 2, 2019, 9:44 a.m.