search for: biomassa

Displaying 1 result from an estimated 1 matches for "biomassa".

Did you mean: biomass
2008 Apr 20
3
Problem with object inside a function
...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) Riqueza ~ Biomassa * qvartemp Now here is the problem, I try to update an existing model (mma) changing the formula by the new.form mmaa <- update(mma,new.form) But my function is aborted with this message: Error in eval(expr, envir, enclos) : object "qvartemp" not found If I create this object qva...