getLevels: Compute the levels for a categorical variable.

Description Usage Arguments Details Value Dependencies Author(s)

Description

Calculates the fitted values in each data node.

Usage

1
getLevels(x, g, datasources = NULL)

Arguments

x

is a study variable.

g

is the categorical variable.

Details

Considering y as a response variable and x as study variable, the fitted values are the y-values that would expect for the given x-values according to the best-fitting straight line.

Value

a vector of fitted values.

Dependencies

getVarbyFormula

Author(s)

Paula R. Costa e Silva


paularaissa/distStatsServer documentation built on June 19, 2019, 12:43 a.m.