خرید بک لینک

Vote count: 0

Im having a real trouble by creating a function that calls the 'lm' function on R. My client is not in English but when I try my function, It says something like "object XXX not found", where XXX refers to a colum on my dataframe. Here is my code

regresionLineal <- function (vardep, varindep1, varindep2, DATA) { retu( lm( vardep ~ varindep1 + varindep2 , data = DATA))}

Then I call it using data from a DF a create previously ("DATOS")...

regresionLineal(Estatura, Largo, Ancho, DATOS) Error in eval(expr, envir, enclos) : objeto 'Estatura' no encontrado Called from: eval(expr, envir, enclos)

Any help will be welcome...

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 14 تير 1395 ساعت: 8:33

صفحه بندی