Including Plots

You can also embed plots, for example:

## Installing package into '/cloud/lib/x86_64-pc-linux-gnu-library/4.6'
## (as 'lib' is unspecified)
## Installing package into '/cloud/lib/x86_64-pc-linux-gnu-library/4.6'
## (as 'lib' is unspecified)
## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
## ✔ dplyr     1.2.1     ✔ readr     2.2.0
## ✔ forcats   1.0.1     ✔ stringr   1.6.0
## ✔ ggplot2   4.0.3     ✔ tibble    3.3.1
## ✔ lubridate 1.9.5     ✔ tidyr     1.3.2
## ✔ purrr     1.2.2     
## ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
## ✖ dplyr::filter() masks stats::filter()
## ✖ dplyr::lag()    masks stats::lag()
## ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
## # A tibble: 6 × 6
##       X    X1    TV radio newspaper sales
##   <dbl> <dbl> <dbl> <dbl>     <dbl> <dbl>
## 1   128     9 176.  18.9       20.1  9.99
## 2    24   136 246   19.0       17.1 18.6 
## 3   130   164  98.4 23.8       60.0  5.83
## 4    13     7  57.8  6.58      64.6 11.4 
## 5   129    25 195.   8.23      22.1 13.1 
## 6    18   247 105.  30.6       19.8  4.16
## Rows: 250
## Columns: 6
## $ X         <dbl> 128, 24, 130, 13, 129, 18, 151, 117, 29, 154, 190, 24, 117, …
## $ X1        <dbl> 9, 136, 164, 7, 25, 247, 164, 30, 100, 138, 11, 74, 162, 188…
## $ TV        <dbl> 176.13, 246.00, 98.35, 57.80, 195.47, 104.93, 152.24, 101.63…
## $ radio     <dbl> 18.93, 18.95, 23.77, 6.58, 8.23, 30.61, 10.58, 14.24, 25.40,…
## $ newspaper <dbl> 20.14, 17.06, 60.03, 64.55, 22.09, 19.75, 36.75, 11.48, 49.4…
## $ sales     <dbl> 9.99, 18.65, 5.83, 11.38, 13.07, 4.16, 9.75, 8.17, 15.30, 15…

## tibble [250 × 6] (S3: tbl_df/tbl/data.frame)
##  $ X        : num [1:250] 128 24 130 13 129 18 151 117 29 154 ...
##  $ X1       : num [1:250] 9 136 164 7 25 247 164 30 100 138 ...
##  $ TV       : num [1:250] 176.1 246 98.3 57.8 195.5 ...
##  $ radio    : num [1:250] 18.93 18.95 23.77 6.58 8.23 ...
##  $ newspaper: num [1:250] 20.1 17.1 60 64.5 22.1 ...
##  $ sales    : num [1:250] 9.99 18.65 5.83 11.38 13.07 ...

### Summary its hard to make conclusions without given any context of what the numbers mean but if i were guess the numbers means the spend foe each medium in that case tv does cost the most. I wonder if tv has more reach than other medium. it also very important to know who you are trying to reach.