Description Usage Arguments Details Value See Also Examples

'Rsquared' is used to calculate coefficient of determination.

1 | ```
Rsquared(y.pre, y)
``` |

`y.pre` |
calculated response values of training set |

`y` |
observed values of training set, a 1*m dataframe (m is the sample number of the training set) |

'squared-R' is the correlation coefficient of the model, which reprensents the interpreting ability of the model. It is a statistic used in the context of statistical models whose main purpose is either the prediction of future outcomes or the testing of hypotheses, on the basis of other related information. It provides a measure of how well observed outcomes are replicated by the model, as the proportion of total variation of outcomes explained by the model.

`R2 ` |
the correlation coefficient |

1 2 3 4 5 6 7 8 9 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.