How do I change this table from wide to long format in R? I have tried a few different libraries but can't seem to get it.
PatientID BaselineSBP FollowupSBP LASTSBP
a 110 99 98
b 100 95 96
c 104 108 103
d 109 100 113