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

Statistiek I TEW & HIR: RStudio samenvatting

Rating
-
Sold
-
Pages
4
Uploaded on
21-06-2025
Written in
2024/2025

Dit document geeft een overzicht van alle RStudio inputs die je moet kennen voor het examen Statistiek I. Het is dit academiejaar geschreven, waardoor je zeker bent dat het de meest up-to-date leerstof bevat. :)

Institution
Course








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

Written for

Institution
Study
Course

Document information

Uploaded on
June 21, 2025
Number of pages
4
Written in
2024/2025
Type
Summary

Subjects

Content preview

Vrije Universiteit Brussel


Statistiek I: RStudio inputs
Tekstbestand met gegevens openen in RStudio
• Kies File > Import Dataset > From Text (base)
• Blader om het bestand te vinden dat je wil importeren.
o Separatie via een tab = tab-delimited text file extensie: .txt
o Separatie via komma = comma-separated values text file extensie: .cvs
o Separatie via teken = character-separated values text file extensie: .cvs
• Klik op import. In het paneel linksboven verschijnt de gegevenstabel.

We gaan nu de naam van de gegevensverzameling vasthangen aan het zoekpad. Geef in de
console:
attach(my.data)

Gebruik de naam van de gegevensverzameling die in het tabblad linksbovenaan staat

Frequentietabel
table(my.data)

Marginale sommen
marginSums(table(my.data), margin = NULL)
NULL = het totaal
1 = kolomtotalen
2 = rijtotalen
Staafdiagrammen
Absolute frequentie
a) De gegevens komen uit een dataset
barplot(table(my.data), las=1)

barplot(sort(table(my.data)), las=1) → gesorteerd

b) De gegevens komen niet uit een dataset
Source ← c(“Google”, “TikTok”, “Facebook”, “Mobile”, “Other”)

Visits ← c(34324, 43324, 45321, 56231, 13525)

barplot(Visits, names.arg = Source, las=1)

Relatieve frequentie
a) De gegevens komen uit een dataset
my.data.as.percentages ← table(my.data)/sum(table(my.data))*100

barplot(table(my.data.as.percentages), las=1)




Academiejaar 2024-2025 1
R77,19
Get access to the full document:

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


Document also available in package deal

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
HandelsingenieurAT Vrije Universiteit Brussel
Follow You need to be logged in order to follow users or courses
Sold
16
Member since
5 months
Number of followers
0
Documents
13
Last sold
21 hours ago
VUB Handelsingenieur samenvattingen (17/20 gemiddeld!)

Stuur me zeker een berichtje als je nog vragen hebt of een andere voordeelbundel wil. :) Reviews zijn welkom!!

4,0

1 reviews

5
0
4
1
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 exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT 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