[R] Coefficient of determination

Bert Gunter gunter.berton at gene.com
Tue Jun 16 23:07:04 CEST 2009


For linear, yes: ?summary.lm

For nonlinear, no, since there is no such thing (unambiguously, anyway) in
nonlinear regression.

It's almost always a bad idea even in linear regression, though.

Bert Gunter
Genentech Nonclinical Biostatistics

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of Derek An
Sent: Tuesday, June 16, 2009 1:51 PM
To: r-help at r-project.org
Subject: [R] Coefficient of determination

Dear all,

Is there a instruction that can help me obtain the coefficient of
determination R^2 after doing linear/nonlinear regression using lm/nls?

	[[alternative HTML version deleted]]

______________________________________________
R-help at 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.




More information about the R-help mailing list