View source: R/DCAP_functions.R
This function allows you to determine the baseline Correct Attribution Probability (CAP) of a synthetic dataset, relative to an original dataset. The target variable here is numeric.
1 2 3 4 5 6 7 | CAP_synthetic_num(
dataframe,
synthetic_dataframe,
key_variable,
target_variable,
y = 2500
)
|
dataframe |
dataset |
synthetic_dataframe |
synthetic dataset |
key_variable |
key variable |
target_variable |
target variable |
y |
Continuous numerical values of the target variable are rounded to the nearest value of y. Default y = 2500. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.