Displaying 2 results from an estimated 2 matches for "qvar".
Did you mean:
gvar
2008 Apr 20
3
Problem with object inside a function
Hi all,
I have a problem with an object inside a formula in a function that I make.
I create an object named qvartemp. This object is OK, look the levels:
> print(levels(qvartemp))
[1] "baixomedio" "alto"
Now I create a new object with a new formula:
> new.form <- as.formula(gsub(qvar,"qvartemp",as.expression(mma$formula)))
Look this new object:
> print(new.form)...
2008 Feb 21
1
update don't find an object
Hi,
I have a situation here.
I try this update:
mmaa <- update(mma,biomass~qvartemp)
but I have this message:
Error in eval(expr, envir, enclos) : object "qvartemp" not found
but this object exist:
[1] "cont" "i" "levelsord" "mma" "qvar" "qvarmma"
[7] "qvartemp" "...