Summarise Function in RThe summarise function in R returns one row for each combination of grouping variables. Note that summarise() and […] March 25, 2023 in R Language tagged summarize / group / R / summarise by Mike
The ChickWeight Dataset in RThe ChickWeight data frame is a simple longitudinal study of several diets and their impact on chick body […] March 24, 2023 in R Language tagged longitudinal / chicks / aggregate / data / sample / set / frame / dataset / R by Mike
Separate Function in RThe separate function in R will take a column’s data and separate it into multiple columns. One easy […] March 23, 2023 in R Language tagged R / separate by Mike
The starwars Dataset in RThe starwars dataset is a built-in dataset in the dplyr package. Check out the tidyverse website for more […] March 14, 2023 in R Language tagged starwars / data / sample / dataset / star / wars by Mike
The iris Dataset in RThe iris dataset is a built-in dataset in R that contains measurements on 4 different attributes (in centimeters) […] March 14, 2023 in R Language tagged data / sample / dataset by Mike
The mtcars Dataset in RThe mtcars dataset is a built-in dataset in R that contains measurements on 11 different attributes for 32 […] March 14, 2023 in R Language tagged colnames / data / sample / head / dataset / cars / mtcars / str by Mike
Saving Plots in ggplot in RCommunicating your work is an important step in your work as an analyst. There are other methods for […] March 14, 2023 in R Language tagged plot / graphic / chart / graph / save / R by Mike
Facets in ggplot in RWe can use the ggplot2 facet functions to display our data in new ways. Facet functions let you […] March 14, 2023 in R Language tagged separate / plot / subset / plots / category / chart / R / R ggplot by Mike
Annotating ggplot in RHow do you customize the look and feel of our ggplot plots in R? To annotate means to […] March 13, 2023 in R Language tagged R / annotate / caption / labs / subtitle / fontface / color / label / title / R ggplot by Mike
Introduction to ggplot in RThe ggplot2 package lets you make high-quality, customizable plots of your data. ggplot2 is based on the grammar […] March 13, 2023 in R Language tagged graph / R / viz / ggplot / plot / chart / R ggplot by Mike
Pivoting Data in RWhen organizing or tidying your data using R, you might need to convert wide data to long data […] March 12, 2023 in R Language tagged data / pivot / R by Mike
Removing Spaces in RSometimes you have extra spaces in your text string. You need to clean that up. trimws() removes leading […] March 12, 2023 in R Language tagged string / R / spaces / trim by Mike