Question: rm(list=ls()) # We begin by loading the data set of 20,000 observations into the R workspace. #After launching RStudio, enter the following command. source(http://www.openintro.org/stat/data/cdc.R) names(cdc)
rm(list=ls()) # We begin by loading the data set of 20,000 observations into the R workspace. #After launching RStudio, enter the following command. source("http://www.openintro.org/stat/data/cdc.R") names(cdc) summary(cdc$hlthplan) summary(cdc) head(cdc) class(cdc) str(cdc) class(cdc$gender) str(cdc$gender) # The data set cdc that shows up in your workspace is a data matrix, # with each row representing a case and each column representing a variable. # R calls this data format a data frame, which is a term that will be used # throughout the labs
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
