datalist: datalist

Description Details See Also

Description

The datalist package provides two main functions: the convert_data function to transform a data set (data.frame or list) into a list of integer and numeric vectors, matrices and arrays for import into JAGS, WinBUGS and OpenBUGS; and the generate_data function to produce a data.frame that can be used to generate model predictions for particular variables with the other variables in the model held constant.

Details

The datalist package also provides the is_convertible_data function to test whether a data set is suitable for transformation into a list of integer and numeric vectors, matrices and arrays. Its sister functions is_convertible_data_list and is_convertible_data_frame also test the type of the data set.

See Also

convert_data, generate_data and is_convertible_data


poissonconsulting/datalist documentation built on Feb. 18, 2021, 10:24 p.m.