Skip to content

Two class data

Value

two_class_dat

a data frame

Details

There are artificial data with two predictors (A and B) and a factor outcome variable (Class).

Examples

data(two_class_dat)
str(two_class_dat)
#> tibble [791 × 3] (S3: tbl_df/tbl/data.frame)
#>  $ A    : num [1:791] 2.07 2.02 1.69 3.43 2.88 ...
#>  $ B    : num [1:791] 1.63 1.04 1.37 1.98 1.98 ...
#>  $ Class: Factor w/ 2 levels "Class1","Class2": 1 1 2 2 1 2 2 2 1 2 ...