Unable to create subsets of data frame (column does not exist)

I am trying to create a subset of my data frame. I loaded the tidyverse package, loaded the dataset into rstudio and converted it to a data frame but now when I am trying to create a subset of the data frame, it's showing that the columns I selected don't exist.

Hi' welcome to the forum.

We really need some sample data and your code. See the [FAQ].(FAQ: How to do a minimal reproducible example ( reprex ) for beginners)

A handy way to supply some sample data is the dput() function. In the case of a large dataset something like dput(head(mydata, 100)) should supply the data we need. Just do dput(mydata) where mydata is your data. Copy the output and paste it here.

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.