> attributes(eval(df1p))$gradient[,'P'] Error in eval(expr, envir, enclos) : object 's' not found
-- View this message in context: http://n4.nabble.com/Extracting-formulae-from-expression-deriv-tp1752738p1752804.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list 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.