I’m using excel and have to code to remove the last name . I’ve tried rm (“last_name”) with no success. Any ideas?
You need to provide more details about your data before detailed help can be provided. You say you are using Excel. Do yo mean that you have imported data from Excel into R? If the data have been imported, do you need to remove a column named last_name? If that is the goal and your data set is named DF, you can remove the column named last_name with the command
DF$last_name <- NULL
If that does not solve your problem, please explain more about what your data are and what you need to do.
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.