Title: | Facilitates Bayesian Analysis using STAN |
---|---|
Description: | Facilitates analyses using STAN. |
Authors: | Chris Muir [aut], Joe Thorley [aut, cre], Ayla Pearson [ctb] |
Maintainer: | Joe Thorley <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.0.1.9010 |
Built: | 2024-11-01 16:20:38 UTC |
Source: | https://github.com/poissonconsulting/smbr |
Automate writing the STAN data block from your data.
data_block(x)
data_block(x)
x |
A nlist |
A string
mod_data <- nlist::as_nlist(list( X = c(1L, 2L, 3L, 4L), Y = c(1.2, 7.3, 8.9, 2.6), nObs = 4L )) data_block(mod_data)
mod_data <- nlist::as_nlist(list( X = c(1L, 2L, 3L, 4L), Y = c(1.2, 7.3, 8.9, 2.6), nObs = 4L )) data_block(mod_data)
Tests whether x is an object of class 'smb_analysis'
is.smb_analysis(x)
is.smb_analysis(x)
x |
The object to test. |
A flag indicating whether the test was positive.
Tests whether x is an object of class 'smb_code'
is.smb_code(x)
is.smb_code(x)
x |
The object to test. |
A flag indicating whether the test was positive.
Tests whether x is an object of class 'smb_model'
is.smb_model(x)
is.smb_model(x)
x |
The object to test. |
A flag indicating whether the test was positive.