Description Usage Arguments Details Value Examples

Computes various scores useful for evaluating prediction accuracy

1 |

`actual` |
numeric vector with known values |

`predicted` |
numeric vector with predicted values |

`slc` |
logical vector indicating which values to use (default: all of them) |

`m` |
score, can be either "rmse" (root mean squared error), "mad" (mean absolute error) or "cor" (Pearon's correlation). |

Missing values are ignored, ie. the score is computed based on complete cases.

scalar score

1 2 3 4 5 6 7 8 9 10 |

sumtxt/datatools documentation built on May 30, 2019, 8:38 p.m.

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.