While tapply() applies a function to different observations in a vector, which might correspond to rows in a data frame, lapply() and sapply() apply a function to each element of a list. In the case…
We continue to discuss data structures in R, this time focusing on lists. Unlike vectors, matrices and arrays, the elements of a list may be of different modes. This makes them very flexible and…
The scatter plot is a fundamental tool for visualizing the relationship between two quantitative variables. In this video we show how to use PROC SGPLOT to produce scatter plots and demonstrate how…
In this video we review the anatomy of a boxplot and show how to use PROC SGPLOT to produce vertical or horizontal boxplots. We show how to produce side-by-side boxplots as well as clustered…