*Note: I may be compensated, but you will not be charged, if you click on the links below.
💡 If you are a public health practitioner looking for a targeted program for enhancing your data science skills, please sign up to participate in my 30-minute market research interview so I can get your feedback: https://buff.ly/3UnLqmq
In this video, Monika Wahi shows you how view one column in a data frame in R.
Download files from Github here: https://buff.ly/3EIAtX1
💿 Here’s a video of Monika demonstrating how to read in an RDS: • How to Read an RDS File Into R – Demonstra...
📀 Here’s a video of Monika demonstrating the colnames command: • How to Save Column Names in a Vector in R ...
WANT TO SUPPORT MONIKA ON SOCIAL MEDIA?
❤️Subscribe to Monika's YouTube channel: https://buff.ly/2W6ijuc
🧡Follow/connect with Monika on LinkedIn: / dethwench
💛Follow Monika on Twitter: / phexaminer
💚Try Monika’s courses on LinkedIn Learning: https://linkedin-learning.pxf.io/NKN0JO
💙Try Monika's boutique research methods and data science courses here: https://buff.ly/3zM243P
TIMESTAMPS & LINKS
00:30 Read in the dataset (see video: • How to Read an RDS File Into R – Demonstra... )
00:56 Video where I use colnames to scrape the headers out of a dataframe: • How to Save Column Names in a Vector in R ...
01:13 Viewing the names of the columns in the dataframe
01:26 How to refer to the column using the dataframe and variable names
02:10 Example of running code to look at one column using names
02:32 Difference with referring to columns in R using numbers
02:52 How R parses command df[a,b], where df = dataframe name, a = row number, and b = column number.
03:28 Running new code referring to the same column using numbers
How to View One Column in a Dataframe in R – Demonstration