我想要拟合一个描述身高作为年龄函数的线性平台(nls)模型,我想测试该模型的任何参数在不同地区之间是否存在显著差异。Where 'a' is the intercept, 'b' the slope and 'c' the breakpoint
m1 <- nlsdegrees of freedom
Number of iterations to convergence:
我刚刚开始学习R,并试图展示汽车的每加仑数和马力之间的关系。我试图得到一条最适合的线来匹配数据,这样我就可以用它来预测其他值。 #read data from csv file df <- head(data, 350)
x <- df$horsepower x <- strtoi(x)
#create scatterplot