Learn R Programming

ISCA (version 0.1.0)

sim_data: Cross-sectional, artificial data on 1000 individuals

Description

Small, artificially created dataset in a cross-sectional format. Provides information on 1000 individuals to illustrate the use of the package.

Usage

data(sim_data)

Arguments

Format

A data frame with 1,000 rows and 7 columns:

female

Dichotomous variable (0/1) indicating a person's sex

age

value indicating a person's age, range 18-80

education

value indicating a person's level of education, range 1-9

income

value indicating a person's income

religiosity

value indicating a person's level of religiosity, range 1-10

discrimination

value indicating a person's level of experience discrimination, range 0-8

native

Dichotomous variable (0/1) indicating whether a person is a native (1) or an immigrant (0)

References

The data was artificially created for the ISCA package.

Examples

Run this code

data(sim_data)
head(sim_data)

Run the code above in your browser using DataLab