From dd793105dd1c31833271a673aa62e4831aa43dd6 Mon Sep 17 00:00:00 2001 From: mine-cetinkaya-rundel Date: Tue, 6 Jun 2023 22:28:40 +1000 Subject: [PATCH] Add alt text --- base-R.qmd | 7 +++++++ 1 file changed, 7 insertions(+) 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)