Learn R Programming

Fgmutils (version 0.9.5)

estatisticasR2: R2 Estatistics for linear models

Description

this function returns a data.frame containing fields r2

Usage

estatisticasR2(observado, estimado, dfEstatisticas = NULL,
  ajuste = NULL, intercepto = TRUE, formulaDoAjuste = NULL,
  baseDoAjuste = NULL, ...)

Arguments

observado

list containing the observations of variable

estimado

list containing estimates of variable

dfEstatisticas

a data.frame

ajuste

is ajust obtained a function like lm or nlsLM

intercepto

intercepts?

formulaDoAjuste

formula used in ajust

baseDoAjuste

data.frame optional

...

only for compatibility with other functions

Value

will be returned data.frame with r2