| rs | R Documentation |
A simulated regression model with one response and one predictor. It is discussed in Exercise 6.5.6 of Kloke and McKean (2014)/Exercise 8.11.23 of Kloke and McKean (2024).
data(rs)
Fifty observations on two variables.
ysimulated response
xsimulated predictor
Kloke, J. and McKean, J.W. (2014), Nonparametric statistical methods using R, Boca Raton, FL: Chapman-Hall. Kloke, J. and McKean, J.W. (2024), Nonparametric statistical methods using R, Second Edition, Boca Raton, FL: Chapman-Hall.
rfit(y ~ x,data=rs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.