Description Usage Arguments Value Examples

View source: R/get_functions.R

Function to obtain estimated posterior inclusion probabilities per feature from a fitted graper model.

1 | ```
getPIPs(object)
``` |

`object` |
fitted graper model as obtained from |

1-Column matrix of estimated posterior inclusion probabilities.

1 2 3 4 5 6 | ```
# create data
dat <- makeExampleData()
# fit the graper model to the data
fit <- graper(dat$X, dat$y, dat$annot)
# extract the posterior inclusion probabilities from the fitted model
getPIPs(fit)
``` |

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.