lsmeansTable: Extract means, contrasts, or trends from a list of lsmobj

Description Usage Arguments Value

View source: R/Helper_Functions.R

Description

Creates a data frame from a list of lsmobj results generated from a looped call involving lsmeans or lstrends.

Usage

1
2
3
lsmeansTable(lsList, idName = "ID", table = "contrasts")

lstrendsTable(lsList, idName = "ID")

Arguments

lsList

A list of objects of class lsmobj

idName

The name for the grouping factor created from the names of the list supplied as a string. Defaults to "ID"

table

a string specifying "contrasts" or "lsmeans" which specifies whether the estimates of the means or the contrasts will be returned by lsmeansTable()

Value

A dataframe with the first column containing a factor comprised of the names of the list object.


jpshanno/ecoflux documentation built on May 19, 2019, 11:51 p.m.