averages: Perform the averages 'averages' perform the averages

View source: R/averages.R

averagesR Documentation

Perform the averages averages perform the averages

Description

Perform the averages averages perform the averages

Usage

averages(d, x, x_str, k, n, log, grouping)

Arguments

d

The input data frame.

x

Name of the explanatory variable.

x_str

String with the name of the explanatory variable.

k

Name of the response variable.

n

Only necessary if k refers to the number of trials in which a yes-type response was given. It corresponds to the name of the variable indicating the total number of trials.

log

If TRUE, the logarithm in base 10 of the explanatory variable is used to fit the curves (default is FALSE).

grouping

Name of the grouping variables. It should be specified as grouping = c("variable_name1", "variable_name2").


danilinares/quickpsy documentation built on Feb. 13, 2023, 8:44 p.m.