Description Usage Arguments Value Author(s) Examples

Compute 2 by 2 confusion matrix as a ratio as well as with numerical values.

1 | ```
spec_sens(real.dat, pred.dat)
``` |

`real.dat` |
Vector of simulated data which was fed to FSPmix algorithm for a particular feature. Feature classified into groups A or B. |

`pred.dat` |
Vector of predictions for a particular feature, classified into either groups A or B. |

`tot.obs` |
Total number of observations classified |

`conf.mat` |
Sensitivity and specificity values on a 2 x 2 confusion matrix |

`con.mat.ratio` |
Sensitivity and specificity percentages, 2 x 2 matrix |

Marcela Cespedes

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.