Skip to contents

[Stable]

This produces loess smoothed estimates of y with Student confidence intervals.

Usage

get_smooths(df, x, y, groups = NULL, level = 0.95)

Arguments

df

(data.frame)
.

x

(character)
value with x column name.

y

(character)
value with y column name.

groups

(character)
vector with optional grouping variables names.

level

(numeric) level of confidence interval to use (0.95 by default).

Value

A data.frame with original x, smoothed y, ylow, yhigh and optional groups variables formatted to factor type.