There are a few major changes in output and input that will likelybreak existing dependencies. Here are the highlights
the main output (lfsr, lfdr, etc) is rearranged into a dataframe,calledresult.
so, for example, the lfsr is nowa$result$lfsrinstead ofa$lfsr
or, better, use the accessor functionget_lfsr(a) toextract the lfsr etc
I added accessor functionsget_lfsr,get_lfdr,get_pm,get_psd etc toaccess the lfsr, lfdr, posterior mean and posterior standard deviation.Using these functions to access results will help ensure your coderemains valid if I happen to change the internal structure of theresults again (although not anticipated…)
outputfitted.g is renamedfitted_g,andflash.data becomesflash_data to make thewhole package convention more consistent. Alsofit becomesfit_details.
function prefixescomppost andcompdensreplaced withcomp_post andcomp_dens, againfor consistency.
nonzeromode option is replaced with the optionmode to specify mode. Or usemode="estimate"to estimate the mode.
more flexible control of output. For example, you can say youwant only the logLR output by specifyingoutputlevel = c("lfsr","logLR"), or only posterior meanbyoutputlevel = c("PosteriorMean").