A detailed description of each step of practical 1, including screenshots and explanations of the steps taken in R. This document includes everything that is seen in class, and all the exercises that are needed to be made for practical 1 of Advanced Data Analysis of the first master of Biomedical S...
ADVANCED DATA
ANALYSIS
Practical 1: classroom introduction
1. Basic syntax of R
R uses the command line: not a graphical click-and-point interface
Typing your commands in an editor saved in a text file
First, open R x64 4.1.2: then you get the crude R graphical user interface. You can type after the red
arrow. You can also assign a certain result or calculation to a particular object: here we use a. From
now on, R knows that a stands for 15.
You can then use this a to do calculations, for example log(a). This log is what they call a ‘function’ in
R: like the working horse in R. These objects can perform statistical functions. a is the input of the log
function, and the input of a R function is referred to as an argument. The output of this calculation
can then again be assigned to another object, for example b.
a <- 25 R is case-sensitive!
b <- log(a)
The benefits of buying summaries with Stuvia:
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
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
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 these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Bi0med. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $5.89. You're not tied to anything after your purchase.