View source: R/make-excluded-df.R
dh.makeExcludedDf | R Documentation |
Often we need to exclude participants in an analysis. This function created a
dataframe containing participants in original_df
but not in final_df
. It was
deprecated because you can now use dsTidyverseClient::ds.filter
, which is much quicker
and more flexible.
dh.makeExcludedDf(
original_df,
final_df,
id_var = "child_id",
new_obj,
type = "wide",
conns = NULL
)
original_df |
Dataframe containing the full sample |
final_df |
Dataframe containing the included sample |
id_var |
Character giving the name of the column within |
new_obj |
Character specifying name for created serverside object. |
type |
Specifies type of dataframe in |
conns |
DataSHIELD connections object. |
Creates a serverside dataframe containing the rows from original_df
that are not contained in final_df
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.