Description Usage Arguments Examples
This function allows calculation of the summary statistics of a given variable based on good and bad observations.
1 2 |
data |
A data set needs to be specified. |
default_flag |
The default flag need to specified. |
variable |
A variable need to be specified to calculate summary statistics. |
1 2 3 4 5 | default_f <- c('1','0','0', '1')
birth_year <- c(1980, 1985, 1971, 1990)
salary <- c(20000,NA,10000, 10050)
example_data <- data.frame(default_f,birth_year,salary)
summary.default.flag(example_data, "default_f", "birth_year")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.