More melts
A data table containing confirmed Ebola case numbers from Guinea in weeks 50 and 51 of the outbreak has been loaded into your R session. Your goal is to melt ebola_wide
into a long format data table containing a single column for the case numbers variable.
This exercise is part of the course
Joining Data with data.table in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Print ebola_wide
___
# Stack Week_50 and Week_51
melt(___)