this function generates unique model given: A formula and a guess (optional: name, funcaoRegressao, maisParametros, requires - proidido: custom)] or[A string saying how the return will be obtained eg custom = "lm (dap2 dap1 ~ * b 0)" (if the formula can not be passed just go empty, ex .: formula = "")]
geraModelo(nome = "modelo sem nome", formula,
funcaoRegressao = "nlsLM", palpite = NULL, maisParametros = NULL,
requires = NULL, customizado = NULL)
is the name of model
is the string formula begin with y2~y1
is the function that will make the regression, ex.: 'nlsLM'
param start of funcaoRegressao
string add in funcaoRegressao, ex lm(y2~y1, data=base, maisParametros)
list of string of packges used to work with funcaoRegressao
if you want to write as the return will be obtained report as a string
will be returned a function with exclusive model