diff --git a/base-R.qmd b/base-R.qmd index 68c5d2a..abe4a38 100644 --- a/base-R.qmd +++ b/base-R.qmd @@ -520,6 +520,13 @@ Here's a quick example from the diamonds dataset: #| fig-width: 4 #| fig-asp: 1 #| layout-ncol: 2 +#| fig-alt: | +#| On the left, histogram of carats of diamonds, ranging from 0 to 5 carats. +#| The distribution is unimodal and right-skewed. On the right, scatter +#| plot of price vs. carat of diamonds, showing a positive relationship +#| that fans out as both price and carat increases. The scatter plot +#| shows very few diamonds bigger than 3 carats compared to diamonds between +#| 0 to 3 carats. # Left hist(diamonds$carat)