[R] about fitting a regression line

lily li chocold12 at gmail.com
Thu Jun 15 00:40:19 CEST 2017


Hi R users,

I have some data points (Xi, Yi), and they may follow such a pattern Yi =
cCOS(Xi) + d, how to find the c and d in R? which function to use? Also,
how to get the R2 and p value for this correlation? Thanks for any kind of
help.

	[[alternative HTML version deleted]]



More information about the R-help mailing list