Hi all. How we evaluate a formula in R?
Ex.: params <- list(a = 2, b = 3) x <- seq(1,10, length.out = 100) func1 <- as.formula("y ~ a*x^2 + b*x") ##How to evaluate func1 using x and the params list ??? Thank you in advance, Phil [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.