R

Asked • 10/12/19

To find whether a column exists in data frame or not?

I have a data.frame with the name "abcframe" a b c 1 1 1 2 2 3How might I find whether a column exists or not in a given data frame?For example, I would like to find whether a **column d** exists in the data.frame **abcframe**.

1 Expert Answer

By:

Walter L. answered • 11/07/19

Tutor
5 (65)

Data Sci Grad Student Former Chem Major

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.