p.mu {cbass}R Documentation

Predict vector of probabilities from vector of latent means

Description

Predict vector of probabilities from vector of latent means

Usage

p.mu(mu, d = NULL, bound = NULL, npts = 100, rel.tol = 1e-04)

Arguments

mu

d-length vector of latent means

d

input to avoid computing length of mu

bound

input of mu[1] to avoid computation

npts

number of integration points, default 100

rel.tol

number of integration points, default 1e-4

Value

A d-length numeric vector of probabilities given input latent means

Examples

set.seed(1)
mu <- rnorm(5)
p.mu(mu)

[Package cbass version 0.1 Index]