fillin: Fill in values

Description Usage Arguments

Description

Fills in values in gaps between observed predictor values to help produce a smooth graph of predicted values versus predictor values.

Usage

1
fillin(data, form, n = 200, xpd = 1)

Arguments

data

data frame with values of x that need filling in

form

formula idenfying variable x to fill in and grouping variables, g1, g2, etc. using syntax: ~ x + g1 + g2 (the variable to fill in comes first)

n

number of additional points over range of predictor (default 200)

xpd

expansion beyond range of predictor (default 1.0, i.e. no expansion)


gmonette/yscs documentation built on May 17, 2019, 7:28 a.m.