This is a vectorized function; see details.

eta_cont(df, x, y, ...)

Arguments

df

data frame to plot

x

character col//title for x-axis data; see col_label

y

character col//title for y-axis data; see col_label

...

other arguments passed to cont_cont

Value

A single plot when a single value for x

and y are supplied; a list of plots of either x

or y have length greater than 1.

Details

This is a vectorized functions; if either x or y are a character vector (in col//title format), a list of plots is returned. If both x and y are length 1, then a single plot object (not a list) is returned.

See also

Examples

df <- pmplots_data_id()

eta_cont(df, x = "WT//Weight (kg)", y = "ETA1//ETA-CL")
#> `geom_smooth()` using formula = 'y ~ x'