Learn R Programming

glmmfields (version 0.1.7)

student_t: Student-t and half-t priors

Description

Student-t and half-t priors. Note that this can be used to represent an effectively normal distribution prior by setting the first argument (the degrees of freedom parameter) to a large value (roughly 50 or above).

Usage

student_t(df = 3, location = 0, scale = 1)

half_t(df = 3, location = 0, scale = 1)

Arguments

df

Degrees of freedom parameter

location

Location parameter

scale

Scale parameter

Examples

Run this code
student_t(3, 0, 1)
half_t(3, 0, 1)

Run the code above in your browser using DataLab