From the course: Descriptive Healthcare Analytics in R
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Navigating in R - R Tutorial
From the course: Descriptive Healthcare Analytics in R
Navigating in R
- [Voiceover] Welcome to Navigating in R. Let's actually run R together and I'll be your tour guide as we explore the interface. First, when we open R, I'll show you what the R console is and how to use it. I will demonstrate making and saving R code and show you what happens when you run code in R that produces graphics. Finally, I will describe R packages and show you how to add them. As I said before, lets choose the x64 icon and double click it to run R. See how the first window that opens say R console on it? This is the window where you will run all your code. Click on it and you can highlight or select the window. When this happens, you get different menus above. For example, lets set a default directory for your session. You can choose File, Change dir and select a default directory. So where is the code? We can start a new code file by choosing File, New Script. Let me type some super simple example code in here. Let's make a variable called "a" that is the value of 12. We…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
(Locked)
US risk factors5m 30s
-
(Locked)
Introduction to the BRFSS2m 46s
-
More on the BRFSS1m 50s
-
(Locked)
What is a descriptive BRFSS analysis?4m 57s
-
(Locked)
Cross-sectional analysis in the BRFSS3m 52s
-
Ethical use of BRFSS data4m 38s
-
(Locked)
BRFSS resources2m 25s
-
(Locked)
Choosing R for a BRFSS analysis: Some considerations3m 51s
-
Choosing R for a BRFSS analysis: More considerations4m 14s
-
(Locked)
Installing R1m 50s
-
(Locked)
Navigating in R2m 37s
-
Installing the foreign package3m 8s
-
(Locked)
Installing necessary packages3m 58s
-
(Locked)
-
-
-
-
-
-