Description Usage Arguments Value References See Also Examples

View source: R/get.intersection.R

Obtain the intersection of two distributions using the kernel method. Warning: This function does not check the parameters ref and test.

1 | ```
get.intersection(ref, test, model = c("kernel", "binormal", "ordinal"), ...)
``` |

`ref` |
The reference standard. A column in a data frame or a vector indicating the classification by the reference test. The reference standard must be coded either as 0 (absence of the condition) or 1 (presence of the condition) |

`test` |
The index test or test under evaluation. A column in a dataset or vector indicating the test results on a continuous scale. |

`model` |
The model used for estimating the intersection(s). Default = 'kernel'. |

`...` |
passing arguments to the kernel density function, other than kernel='gaussian' (default). |

A vector of points of intersection, ordered on their density. The tail has the highest density.

Landsheer, J. A. (2016). Interval of Uncertainty: An Alternative Approach for the Determination of Decision Thresholds, with an Illustrative Application for the Prediction of Prostate Cancer. PloS One, 11(11), e0166007.

1 2 3 |

```
[1] -2.091076 1.203974
```

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.