Learn R Programming

psytabs (version 1.0)

mydata: Simulated data.

Description

A simulated data frame made with help of the psych package.

Usage

data(mydata)

Arguments

Format

A data frame with 500 observations on the following 7 variables.
item1
a numeric vector
item2
a numeric vector
item3
a numeric vector
item4
a numeric vector
sex
a factor with levels Female Male
age_group7
a factor with levels < 21 > 60 21-30 31-40 41-50 51-60
employment
a factor with levels Employed Not employed

Examples

Run this code
data(mydata)
str(mydata)
summary(mydata)

Run the code above in your browser using DataLab