sdc_*functions gain the new argument
fill_id_var. This makes output control easier in specific cases where you need to check an identifier with many missing values. See this discussion for details.
options(sdc.info_level = 2), the information on dominance now prints the dominance, similar to the number of distinct identifiers.
sdc_*()functions now contain options and settings in a much better structure. Before, it was a bunch of strings which could be pasted together. Now, it's a list holding only the relevant values. The print output remained almost identical (minor improvements) due to new print methods.
sdc_*()functions is now conditional so that it's only called when
datais not a
data.tableyet. This can save memory and improve performance.
sdc_model()gained the new argument
source()), which allows new use cases. Thanks to Pantelis Karapanagiotis for the PR!
sdc_model()no longer returns wrong results for
felmmodels when the
id_varis used for clustering.
sdc_extreme()now only accepts character input. This makes the code more robust and easier to maintain.
sdc_modelis simplified (
sdc_extreme()now return the number of distinct ID's (instead of number of observations) used to calculate the extreme values
sdc_model()now checks if
datawas actually used to create
model(this only works if
modelhas a suitable S3 method for
id_varnow takes the default value of
getOption("sdc.id_var")in all functions, which makes it possible to use
options(sdc.id_var = "id")at the top of a script and save some typing
check_dominance()(and therefore in
check_dominance()now handles negative values correctly (as
NEWS.mdfile to track changes to the package.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.