SOURCEBOOK

R | Data Entry

One Sample Data

Entering Data

Enter the data in a vector that assigns a variable name.

Outcome <- c(0,0,3,5,4,7,4,9)

Viewing the Data

Create and display a data frame to view the data set.

OneSampleData <- data.frame(Outcome)
OneSampleData