getPIPs {graper}R Documentation

Get posterior inclusion probabilities per feature

Description

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

Usage

getPIPs(object)

Arguments

object

fitted graper model as obtained from graper

Value

1-Column matrix of estimated posterior inclusion probabilities.

Examples

# 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)

[Package graper version 1.8.0 Index]