get_smooths {tern} | R Documentation |
Smooth function with optional grouping
Description
This produces loess
smoothed estimates of y
with Student confidence intervals.
Usage
get_smooths(df, x, y, groups = NULL, level = 0.95)
Arguments
df |
( |
x |
( |
y |
( |
groups |
( |
level |
( |
Value
A data.frame
with original x
, smoothed y
, ylow
, and yhigh
, and
optional groups
variables formatted as factor
type.
[Package tern version 0.9.5 Index]