- work with character columns in sparse input data
- add github actions for package checking and testing
- add a vignette with example implementations of the SIR epidemic model
- enable sparse input data
- hard deprecate functions and arguments
- add
markdown
Suggests to pass CRAN check
- updates to work with the latest version of LibBi
- errors fixed in
sample_obs
and chaining - errors fixed in reading and saving
libbi
object
- better error handling
- expanded
summary
function - fix in dealing with observation times in
sample_obs
preserve_shell
option inremove_lines
to keep block options- new
simulate
function
- Replaced the
sample_obs
argument with asample_obs
function output_every
argument for outputs at every n-th time step- Better handling of the external libbi call via the processx package
- Improved error/output handling
print_log
function to inspect the LibBi log- Speed up re-running libbi objects by writing to the same model file
- Big clean-up of code and arguments, deprecating a few obsolete arguments
get_traces
now also reports initial states if they are treated as parametersread_libbi
andsave_libbi
now have an option to split the files up- improved
summary
function that can now also print summaries of time-varying variables - new
attach_data
, replacingattach_file
but offering vastly improved functionality - improved
rewrite
function to provide correct output
- Fixed a bug in
bi_generate_dataset
- Fixed chaining when there are no variables to chain
- Fixed a few bugs when working with multiple dimensions
- New functions:
join
andlogLik
- Save supplement when saving a
libbi
option - Fixed the
dry
option - Fixed handling of
without
options - Fixed handling of
predict
function
supplement
option tosave_libbi
to store supplementary information- Temporary directories are now removed when quitting R or collecting garbage
- Improved chaining of
libbi
calls - New
attach_file
function, a more general version of the formeradd_output
- New
file
option forbi_read
- Fixed problems with
predict
- Fixed add_output when passed a list
- Fixed a bug in writing observation files; extra dimensions are now written in the correct order
- Improved writing of observation files with
ns
or other dimensions - Improved error handling:
libbi
calls now finish and yield a warning if the call to the libbi executable fails; this makes it possible to inspect the object to diagnose the problem
- The class is now based on S3 classes. Because of this, it plays much nicer with the magrittr and related packages. There are now
str
andsummary
methods defined forlibbi
objects, andsample
,filter
andoptimise
commands for running LibBi - Caching is now supported: multiple calls to
bi_read
are much faster - added a testing suite
- Fixed bug in
bi_read
when reading variables with one dimension bi_generate_dataset
now has a seed optionextract_sample
function for extracting a single sample from a NetCDF file- new
add_output
option for reconstructinglibbi
objects - cleaned up code and removed obsolete functions
- Many smaller bug fixes
bi_contents
to quickly get the variables in an NetCDF filegenerate_seed
to generate a seed for alibbi
run- new
sample_obs
option tolibbi$run
, to sample posterior observations - improved option handling; there is now only one 'options' option
- overloaded subset operators in
bi_model
- no more
result
field in thelibbi
object - new vignette: Introduction to rbi
- Fixed bug in
bi_model$get_vars
that didn't remove all spaces - Fixed bug in reading in the coord dimension(s) in
bi_read
- Fixed bug in
bi_model$fix
that ignored input variables
client
is now an option tolibbi$run
- Fix bug in parsing options in
libbi$initialize
- Fix bug in
get_traces
if there is only one sample bi_model$insert_lines
can now work with blocks- Improve cloning, where all initialising parameters can now be passed
- Change package name to lower case
- Tidy up for CRAN submission
- Fix finding libbi path
- Fix handling of config options (#2, @tyler-abbot)
- Fix options in
bi_generate_dataset
(#3, #5, @tyler-abbot) - Fix demos (#1, #6, @tyler-abbot)
- Remove
stringr
dependency
- Guess time dimension in netCDF files
- Bug fixes to better deal with multiple coordinate variables
burnin
option toget_traces
- Reduce memory use when thinning
- Bug fixes in
bi_write
- Improve dealing with different types of dimensions, including introduction of the
coord_dim
option inbi_write
bi_generate_dataset
now returns observations- Remove
Rcpp
dependency
- Remove C code and use
ncdf4
package for interaction with netCDF files - Introduce the
bi_model
class to manipulate models - Allow giving
init
,obs
andinput
as R objects - Rename
bi_wrapper
tolibbi
- Improved
bi_read
function to directly read fromlibbi
objects
- initial version