I have a 'tbl_df' imported into R Studio via Excel.
Now, trying to completely change all the cells that have been imported to numerical as the contents are a series of numbers. The only section of the data that I do not want as numerical is the header and the first Row. The data is currently classified as characters.
I have tried no following:
(i) Dateset <- as.numeric(Qrt_March_2021)
RESULT:
Error: 'list' object cannot be coerced to type 'double'
(ii) dateset <- as.numeric(Qrt_March_2021![1])
RESULT:
Error: unexpected '!' in "dateset <- as.numeric(Qrt_March_2021!"
- The theory here being that by de-selecting row 1 ([1]) I would be able to prevent the error.
Any thoughts?