R lets you create charts and graphs in image form. But the Shiny package lets you create those same charts and graphs in interactive format. I created my first Shiny chart: a world map of confirm...
https://coolstatsblog.com/2020/04/05/mapping-covid-19-cases-a-shiny-app/
This is a practical tutorial on performing PCA on R. If you would like to understand how PCA works, please see my plain English explainer here. Reminder: Principal Component Analysis (PCA) is a m...
Say you have a dataset, where each row has a date or time, and something is recorded for that date and time. If each row is a unique date – great! If not, you may have rows with the same date,...
I have a standard code for ggplot2 which I use to make line graphs, scatter plots, and histograms. For lines or scatters: p<- ggplot(x, aes(x=Year, y=Rank, colour=Uni, group=Uni)) #colour lines b...
There are different types of data on R. I use type here as a technical term, rather than merely a synonym of “variety”. There are three main types of data: Numeric: ordinary numbers Charac...