makeLabel: Make Labels

View source: R/condPlot2.R

makeLabelR Documentation

Make Labels

Description

Make Labels

Usage

makeLabel(
  fit,
  pred,
  modx,
  mod2,
  mod2.values = c(30, 50, 70),
  xvar = "Z",
  digits = 3
)

Arguments

fit

An object of class lm

pred

name of the predictor variable

modx

name of the moderator variable

mod2

name of the second moderator variable

mod2.values

values of moderator variable

xvar

character. "Z" or "W"

digits

integer indicating the number of decimal places


processR documentation built on Jan. 23, 2023, 5:44 p.m.