ds.fitted: Model Fitted Values

Description Usage Arguments Details Value Dependencies Author(s) Examples

Description

Computes the fitted values from objects returned by modeling functions.

Usage

1
ds.fitted(regression = NULL, checks = FALSE, datasources = NULL)

Arguments

regression

an object of regression model.

checks

a boolean, if TRUE (default) checks that verify elements on the server side such checks lengthen the run-time so the default is FALSE and one can switch these checks on (set to TRUE) when faced with some error(s).

datasources

a list of opal object(s) obtained after login in to opal servers; these objects hold also the data assign to R, as data frame, from opal datasources.

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 list of fitted values.

Dependencies

fittedDS

Author(s)

Paula Raissa Costa e Silva

Examples

1
2
3
4
{
linear <- ds.linear('D$maternal_age~D$birth_weight')
ft <- ds.fitted(linear)
}

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