(a) How many cases were included in the data?
there are 150 cases
(b) How many numerical variables are included in
the data? Indicate what they are, and if they are continuous or discrete.
there are four numerical variables in the data, all of which are continuous
(c) How many categorical variables are included in
the data, and what are they? List the corresponding levels (categories).
there is one categorical variable called species, with three categories in total
Time series for economics_long data set
library(ggplot2)economics_long <- ggplot2::economics_longggplot(economics_long, aes(x = date, y = value)) +geom_line() +facet_wrap(~variable, scales ="free_y", ncol =1)+labs(title ="Time series of different economic indicators",subtitle ="June 1967 to April 2015",x ="",y ="",fill ="" ) +theme_minimal(base_size =13) +theme(plot.title =element_text(size =20, face ="bold"),plot.subtitle =element_text(size =14),legend.position ="top" )