pmmh: Get values for MH accept step

Description Usage Arguments Value

View source: R/pmmh.R

Description

Get values for MH accept step

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
pmmh(
  data,
  distance_mat,
  outcome = "y",
  subject_index = "patient",
  time_index = "time",
  position_index = "position",
  ndraws = 200,
  burn_in = 51,
  nsim = 10,
  offset_term = NULL,
  chains = 1,
  keep_burn_in = FALSE
)

Arguments

data

data.frame or matrix with described column names

distance_mat

matrix, distance between multivariate outcomes

outcome

char, name of the outcome variable

subject_index

char, name of the column denoting subjects

time_index

char, name of the column denoting time

position_index

char, name of the column denoting position

ndraws

number of draws

nsim

number of importance samples

offset_term

char, name of column that is used as an offset

Value

list


nickseedorff/pmmhLong documentation built on Dec. 31, 2020, 12:05 a.m.