100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
1. An introduction to using R (RStudio) R50,00
Add to cart

Presentation

1. An introduction to using R (RStudio)

 140 views  0 purchase

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 da...

[Show more]
Last document update: 6 year ago

Preview 10 out of 105  pages

  • July 6, 2018
  • July 6, 2018
  • 105
  • 2017/2018
  • Presentation
  • Unknown
All documents for this subject (6)
avatar-seller
dominique13
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)

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through EFT, credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying this summary from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller dominique13. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy this summary for R50,00. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

51036 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy summaries for 15 years now

Start selling
R50,00
  • (0)
Add to cart
Added