NEWS.md
file to track changes to the package.variable
argument to variables
inside both wiz_add_predictors()
and wiz_add_outcomes()
. This was done to reflect the fact that the variables
argument can accept a vector of variable names.check_size_only
argument to wiz_add_predictors()
and wiz_add_outcomes()
wiz_categorical_to_numeric()
to wiz_dummy_code()
to better reflect what the function does. wiz_dummy_code()
can now be used to dummy code specific variables, which is useful if you only want to dummy code subset a specific set of variables or if you want to dummy code a categorical variable that is currently coded with numbers (such as 1 meaning high and 2 meaning low).check_size_only
argument to wiz_add_predictors()
to allow you to anticipate the size of the output object/file without actually running the calcualtions.create_folder
argument to wiz_frame()
to allow for automatic creation of the output_folder
if it does not already exist. This is useful for automated creation of directories to override the need for user confirmation prior to directory creation.wiz_frame()
to ensure that there is not missingness or duplication in the data that would be expected to lead to failure of one of the downstream tasks.save_wiz_frame
argument to wiz_frame()
and wiz_dummy_code()
. If set to TRUE
, this saves the wiz_frame
object to the specified output_folder
with the file_name wiz_frame.rds
. Note that this will overwrite prior versions of the file.log_file
option to wiz_add_predictors()
and wiz_add_outcomes()
to create and append to a log file, which is auto-titled wiz_log.txt
and saved in the output_folder
.wiz_add_baseline_predictors()
function to add baseline predictors with an option to specify an offset (e.g., up to 1 hour prior to admission)wiz_add_baseline_predictors()
so that it is treated as a type of "fixed data", and moved its logic into the wiz_add_predictors()
function.max_length
argument to wiz_frame()
that limits the maximum time or sequence length for each id.save_wiz_frame
and log_file
are TRUE
. This makes it more consistent with output_file = TRUE
in that saving output and logs to file are the default.batch_size
parameter to chunk_size
in wiz_frame()
baseline
, growing
, or rolling
to indicate the type of variables contained within it.character_language_model.Rmd
vignette to generate a large rolling dataset and test the growing
window functionality. This vignette needs to be cleaned up for educational use.wiz_combine()
to support chunked files and changed interface so that supplying a vector of files is optional.wiz_add_predictors_streaming
functionswiz_calc
out to a separate function to greatly reduce the memory footprint for parallel processingwiz_add_predictors_internal
to ensure that the output_frame is not empty. If it is, then return a message rather than simply writing an empty output file to disk, which can result in an error when combining this with other files due to mismatches in data types for the temporal_id column.add_interval_variables()
functions to add variables with left and right bounds specified by columns in the fixed data. It can be used for predictors or outcomes.slope()
function to calculate slope and also to demonstrate how to use cur_data_all()
to calculate summary statistics that require access to the temporal_time
column in the temporal_data
.dplyr
dependency version to 1.0.9.dplyr::summarize(across())
format from newer dplyr versions instead of using summarize_at()dplyr
to make code a bit more conciseAdd the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.