tests/testthat/_snaps/S3.md

priorS3

Code
  prior
Output
  Mean and variance of the prior on the transformed parameters: 
  m ~ 𝑁(0, 1)
  m_lMd ~ 𝑁(0, 1)
  s ~ 𝑁(0, 1)
  t0 ~ 𝑁(0, 1)

  For detailed info use summary(<prior>)
Code
  summary(prior)
Output
  mu  -  Group-level mean

  mean of the group-level mean prior : 
      m m_lMd     s    t0 
      0     0     0     0 
  variance of the group-level mean prior : 
        m m_lMd s t0
  m     1     0 0  0
  m_lMd 0     1 0  0
  s     0     0 1  0
  t0    0     0 0  1

  Sigma  -  Group-level covariance matrix

  degrees of freedom on the group-level (co-)variance prior, 2 leads to uniform correlations. Single value : 
  [1] 2
  scale on the group-level variance prior, larger values lead to larger variances : 
      m m_lMd     s    t0 
    0.3   0.3   0.3   0.3

designS3

Code
  design
Output
  m ~ lM 
  s ~ 1 
  t0 ~ 1
Code
  summary(design)
Output

   Sampled Parameters: 
  [1] "m"     "m_lMd" "s"     "t0"

   Design Matrices: 
  $m
      lM m m_lMd
    TRUE 1   0.5
   FALSE 1  -0.5

  $s
   s
   1

  $t0
   t0
    1


Try the EMC2 package in your browser

Any scripts or data that you put into this service are public.

EMC2 documentation built on April 11, 2025, 5:50 p.m.