I'm a little new to RStudio, so I was wondering if there is any option for this? I recently installed a package called "dslabs" , and than started to play around with it and practice. However, I accidentally changed the "Heights" table, where it has two columns of values(Sex, Height).
I accidentally used the script
'''
heights$sex = "Female"
'''
So it changed all the rows to "Female". Is there any way to fix that?
Thank you in advance.