Subsetting an ecogen object by group
eco.subset(eco, hier, grp, missing = c("0", "NA", "MEAN"))
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 |
# NOT RUN { data(eco3) eco3 eco.sub <-eco.subset(eco3,"structure", 1) eco.sub # }