100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Presentation

1. An introduction to using R (RStudio)

Rating
-
Sold
-
Pages
105
Uploaded on
06-07-2018
Written in
2017/2018

This is a pdf form of a powerpoint presentation but its very wide so it looks as though part is cut off but it isn't. Please note that a link to sample data is provided in the pdf This is an introduction to R; how to use it and so forth. It covers the basic functions and tasks such as importing data. Everything is broken down step by step This is part 1, so it really covers the basics but it's what I am using to teach R This is a pdf form of a powerpoint presentation I'm using so it is very big but when I get a chance I am happy to upload a pdf in the form of a document where I'm not breaking things down step by step but rather a quick outline covering how to do things This session covers, setting the work directory, annotations, making your R script, running your script and so on

Show more Read less
Institution
Course

















Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Course

Document information

Uploaded on
July 6, 2018
File latest updated on
July 6, 2018
Number of pages
105
Written in
2017/2018
Type
Presentation
Person
Unknown

Subjects

Content preview

Introduction to R
The basics of the software and using R to conduct basic statistical
calculations

,Getting started
• R is a command driven program, therefore you need to tell R what
is that you want it to do
• To conduct a data analysis using R you need a data file (containing
data you want to analyse) and a file with an R code (called R script)
• In the R script you will tell R where to find the data file, how you w
R to read the data and the type of statistical analysis you want R to
carry out
• It is this R script that you will save as any analysis you’ve done can
redone by simply rerunning the code

,Getting started
• In your R workspace everything is either an object or a command
• An in important object is the “data frame”
• We need to get R to find the data you want to analyse, read it and then pu
into a “data frame object” (more on this later)
• These commands/functions take arguments which are inputs that
allow us to tell the function what it needs to do. This is placed with
brackets following the command

,Where is my data file?
• The path – this is the location for information on your computer
• You could either enter the path directly into R and it will be able to
find the file or folder or you can go through R to find the file. It is u
to you which you choose
• Keep in mind that mistyping the path is one of the first problems
people encounter when using R
• Finding the path: Windows

,
,
,
,
,
, Where is my data file?
• The path – this is the location for information on your computer
• You could either enter the path directly into R and it will be able to
find the file or folder or you can go through R to find the file. It is u
to you which you choose
• Keep in mind that mistyping the path is one of the first problems
people encounter when using R
• Finding the path: Windows
• Once you have navigated to where your data is stored you can copy the pa
(on Windows 10 it’s the address)
$3.08
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
dominique13
4.3
(3)

Also available in package deal

Get to know the seller

Seller avatar
dominique13 University of Cape Town
Follow You need to be logged in order to follow users or courses
Sold
7
Member since
7 year
Number of followers
5
Documents
21
Last sold
3 year ago

4.3

3 reviews

5
1
4
2
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions