search for: listnow

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

Did you mean: lietzow
2012 Feb 16
1
how to get r-squared for a predefined curve or function with "other" data points
...UE) Rsquared <- 1 - var(residuals(vlc))/var(y) summarizeall[i ,"Run"] <- i summarizeall[i ,"Sample"] <- name[1] summarizeall[i ,"a"] <- coef(vlc)[1] summarizeall[i ,"b"] <- coef(vlc)[2] summarizeall[i ,"R2"] <- Rsquared listnow <- data.frame(list(Run = c(i),Sample = c(name[1]), a = c(coef(vlc)[1]), b = c(coef(vlc)[2]), R2 = c(Rsquared))) print(listnow) i <- i+1 } --- ...and get three slightly different curves with three different estimatinos of fit (r?, Rsquared). --- > summarizeall Sample a b...