car_owner {validatesuggest}R Documentation

Car owners data set (fictitious).

Description

A constructed data set useful for detecting conditinal dependencies.

Usage

car_owner

Format

A data frame with 200 rows and 4 variables. Each row is a person with:

age

age of person

driver_license

has a driver license, only persons older then 17 can have a license in this data set

income

monthly income

owns_car

only persons with a drivers license , and a monthly income > 1500 can own a car

car_color

NA when there is no car

Examples

data("car_owner")

rules <- suggest_cond_rule(car_owner)
rules$rules

[Package validatesuggest version 0.3.2 Index]