eco.subset: Subsetting an ecogen object by group

Description Usage Arguments Author(s) Examples

Description

Subsetting an ecogen object by group

Usage

1
eco.subset(eco, hier, grp, missing = c("0", "NA", "MEAN"))

Arguments

eco

Object of class "ecogen".

hier

The name of the S slot column containing labels assigning individuals to groups.

grp

Label shared by the subset of individuals, contained in hier.

missing

Missing data argument It can take three values ("0", "NA" or "MEAN"), as described in ecogen. Missing elements are treated as zeros in the default option.

Author(s)

Leandro Roser [email protected]

Examples

1
2
3
4
5
6
7
## Not run: 
data(eco3)
eco3
eco.sub <-eco.subset(eco3,"structure", 1) 
eco.sub

## End(Not run)

EcoGenetics documentation built on June 24, 2018, 5:02 p.m.