Hi, I tried to convert the whole of my dataset to numeric using this code line:
New <- class(as.numeric(exam[ , ~.]) to enable me do a PCA on the dataset but the error I get is
Error: unexpected symbol in:
Please how do I resolve it as I am a bit new in R.