extract_hlm: Extract parameters from nlme::lme-models

Description Usage Arguments Value Author(s) Examples

View source: R/extract.R

Description

Function extracts coefficients and p-values from nlme::lme-models

Usage

1
extract_hlm(model, var, parameter)

Arguments

model

The nlme::lme-model (must be build in advance)

var

Name of Variable for with parameter should be extracted. Put in "".

parameter

"b" = coefficient, "p" = p-value

Value

"b = ..." or "p = ..."

Author(s)

Dominik Vogel

Examples

1
2
model <- nlme::lme(mpg ~ cyl, random = ~1|am, data = mtcars)
extract_hlm(model, "cyl", "b")

DominikVogel/vogelR documentation built on May 23, 2019, 4:12 p.m.