Load Packages Read in penguin diagram Summarize data Simple plot Customize Plot Load Packages library(tidyverse) library(palmerpenguins) library(ggnewscale) library(sf) library(patchwork) library(showtext) Read in penguin diagram This is a rough draft of a heatmap diagram specifically for the {palmerpenguins} dataset, and at the time of this writing is living on a development branch of the very nascent Simple Features For Science {sffs} warehouse / package.
sf_palmer <- read_sf("https://raw.
The function, lm_caller() Run the function manually Iterate (apply) over many dependent and independent variables Do it tidy! Plot from multiple models with ggplot This short tutorial covers the basics of making and using a function that takes characters for dependent (LHS) and independent (RHS) variables of interest and converts them into a formula for use in modeling, such as with ‘lm()’.