Showing 2 of total 2 results (show query)
poissonconsulting
nlist:Lists of Numeric Atomic Objects
Create and manipulate numeric list ('nlist') objects. An 'nlist' is an S3 list of uniquely named numeric objects. An numeric object is an integer or double vector, matrix or array. An 'nlists' object is a S3 class list of 'nlist' objects with the same names, dimensionalities and typeofs. Numeric list objects are of interest because they are the raw data inputs for analytic engines such as 'JAGS', 'STAN' and 'TMB'. Numeric lists objects, which are useful for storing multiple realizations of of simulated data sets, can be converted to coda::mcmc and coda::mcmc.list objects.
Maintained by Joe Thorley. Last updated 3 months ago.
6 stars 7.23 score 13 scripts 12 dependentspaulponcet
bazar:Miscellaneous Basic Functions
A collection of miscellaneous functions for copying objects to the clipboard ('Copy'); manipulating strings ('concat', 'mgsub', 'trim', 'verlan'); loading or showing packages ('library_with_dep', 'require_with_dep', 'sessionPackages'); creating or testing for named lists ('nlist', 'as_nlist', 'is_nlist'), formulas ('is_formula'), empty objects ('as_empty', 'is_empty'), whole numbers ('as_wholenumber', 'is_wholenumber'); testing for equality ('almost_equal', 'almost_zero') and computing uniqueness ('almost_unique'); getting modified versions of usual functions ('rle2', 'sumNA'); making a pause or a stop ('pause', 'stopif'); converting into a function ('as_fun'); providing a C like ternary operator ('condition %?% true %:% false'); finding packages and functions ('get_all_pkgs', 'get_all_funs'); and others ('erase', '%nin%', 'unwhich', 'top', 'bot', 'normalize').
Maintained by Paul Poncet. Last updated 6 years ago.
1 stars 4.54 score 79 scripts 2 dependents