Hello There,
So, basically this is R Markdown.
if you want italics you put *italics* therefore italics is the result.
same goes for bold.
You are also able to underline, however SubStack’s text editor does not allow this feature.
Does this make sense?
Another cool thing: use [] to write the visible text. = the link inside the brackets
so ice cream mixed with ketchup (not on top, but like mixed inside) will take you to the Journey To Self Mastery home page.
There are also different themes, however they don’t show up on SubStack’s text editor.
Coding
ggplot2
library(tidyverse)
data <- CO2
CO2 |>
ggplot(aes(Plant, uptake)) +
geom_col()
names(CO2)
## [1] "Plant" "Type" "Treatment" "conc" "uptake"
kableExtra
# First load package kableExtra
library(kableExtra)
data <- data.frame(
Colors = c('red', 'blue'),
Signal = c('🔴', '🔵')
)
data |>
kable('html')
ColorsSignal
red🔴blue🔵
Base R Barplot
x <- c('Protein', 'Carbs', 'Fat')
y <- c(50, 30, 10)
# these are made up macros (in grams), make sure you find the right macros for you👍
barplot(y, names.arg = x,
col = c('red', 'yellow', 'purple'))
Thank you for reading. I hope you learned something.