After you run select(19:20)
, there are two columns in the data frame. You rename those to be Median and Heart. Your ggplot code refers to a column named Sample, which does not exist. Which column in the original data should be named Sample?
1 Like