Description Usage Arguments Value Author(s) References See Also Examples
Simple linear and nonparametric regression
1 |
x |
numerical vector, input x values. |
y |
numerical vector, input y values. |
type |
character, type of regression; available options are: |
sp |
numeric, parameter to control the degree of smoothing; span for local polynomial regression and bandwidth for ksmooth. |
An object of class simplereg
, i.e. a list with the following objects:
Model
, the output model (linear regression, local polynomial regression, or kernel smoothing)
R2
, (in-sample) coefficient of determination
x
, input x values
y
, input y values
type
, type of regression
Marco Sandri, Paola Zuccolotto, Marica Manisera (basketball.analyzer.help@gmail.com)
P. Zuccolotto and M. Manisera (2020) Basketball Data Science: With Applications in R. CRC Press.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.