getPIPs: Get posterior inclusion probabilities per feature

Description Usage Arguments Value Examples

View source: R/get_functions.R

Description

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

Usage

1
getPIPs(object)

Arguments

object

fitted graper model as obtained from graper

Value

1-Column matrix of estimated posterior inclusion probabilities.

Examples

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)

graper documentation built on Nov. 8, 2020, 5:45 p.m.