Suppose I have x values, y values, and expected y values f (from some nonlinear best fit curve).
x
y
f
How can I compute R^2 in R? N
As an alternative to this problem I used at several times the following procedure:
Best wishes to all. Patrick.