Question: Recreate this graph for me , and the current data set i have is this Rows: 5 1 Columns: 1 5 $ State States, Alabama,

Recreate this graph for me, and the current data set i have is this
Rows: 51
Columns: 15
$ State "States", "Alabama", "Alaska", "Arizona", "Arkansas", "C...
$ `In-state`"2008","$6.45","$5.19","$5.40","$4.68","$4.23","$5...
$ `In-state`"2013","$6.75","$5.12","$4.60","N/A","$2.03","$3.2...
$ `In-state`"2014","$5.74","$4.35","$4.25","$4.08","$1.73","$4...
$ `In-state`"2015","$5.74","$3.19","$5.10","$4.08","$1.73","$3...
$ `In-state`"2016","$3.75","$3.15","$3.15","$4.80","$2.02","$1...
$ `In-state`"2017","$3.15","$3.15","$3.00","$4.80","$2.03","$1...
$ `In-state`"2018","$3.34","$3.15","$3.34","$4.80","$2.03","$1...
$ `In-state`"2021","$0.75","$2.10","$1.05","$2.10","$0.38","$1...
$ `Out-of-state`"2008","$16.41","$16.41","$7.80","$10.25","$13.75",...
$ `Out-of-state`"2013","$17.30","$17.30","$8.00","N/A","$6.60","$3...
$ `Out-of-state`"2014","$3.15","$3.15","$3.15","$3.15","$3.15","$3...
$ `Out-of-state`"2017","$3.15","N/A","N/A","N/A","$3.15","$1.80",...
$ `Out-of-state`"2018","$3.92","$3.15","$3.92","$3.15","$3.15","$1...
$ `Out-of-state`"2021","$0.75","$2.10","$1.05","$2.10","$0.38","$1...
also this is my current code
`prison-phone-rates`- readRDS("~/exam-01-yl2892/data/prison-phone-rates.rds")
data -`prison-phone-rates`
data - data[,-10]
colnames(data)[1]- "State"
glimpse(data)
data_long - data |>
pivot_longer(
cols =-State,
names_to = "Name",
values_to = "Value"
)
glimpse(data_long)
 Recreate this graph for me, and the current data set i

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!