w_noCV_RE_stan: Bayesian weibull function with Stan, without cross...

Description Usage Arguments Value

View source: R/w_noCV_RE_stan.R

Description

Bayesian weibull function with Stan, without cross validation, with random effects

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
w_noCV_RE_stan(
  mT,
  m0,
  time,
  sp,
  J,
  X_alpha,
  X_beta,
  m0_sim,
  time_sim,
  sp_sim,
  ...
)

Arguments

mT

Log mass remaining of training data

m0

Log initial mass of training data

time

Vector of time values for training data

sp

Numeric group identifier

J

Number of groups

X_alpha

Model matrix for alpha for training data

X_beta

Model matrix for beta for training data

m0_sim

Simulated log initial mass data

time_sim

Simulated time data

sp_sim

Numeric group identifier for sim dataset

...

Arguments passed to rstan::sampling (e.g. iter, chains).

Value

An object of class stanfit returned by rstan::sampling


smwindecker/decaymod documentation built on Sept. 28, 2021, 12:32 a.m.