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

Summary Statistics in R - Statistics for Linguists: An Introduction Using R

Rating
-
Sold
-
Pages
4
Uploaded on
04-03-2024
Written in
2023/2024

Summary of Statistics for Linguists written by Bodo Winter and taught in the course Statistics in R.

Institution
Course








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

Connected book

Written for

Institution
Study
Course

Document information

Summarized whole book?
Yes
Uploaded on
March 4, 2024
Number of pages
4
Written in
2023/2024
Type
Summary

Subjects

Content preview

Statistics in R lectures

Lecture 1:
R Studio:
You should use it to do all your data processing, no spreadsheet editing
In your paper, you need to cite R, not R Studio

Functions are (file.path (Argument), mean (Argument), getwd (), setwd(Argument) etc)
Arguments are separated by commas
→ Mean (c(1,2,3,4,8,10)

?function: Help page opens

Directory: source location of files
Change source location by using setwd (“insert new location”)

Script: Upper left part of the screen, used to write the functions.
Console: Bottom left of the screen, to paste the functions into, through the script.
Environment: workspace on the right (upper) side of the screen, set of all objects and
variables you have created during an R session.

Lecture 2:
sep = “\t” for tab-delimited
sep = “,” of “;”

pseudocode
list of phrases/sentences that explain a

Objects/variables
Objects cannot be values, but are created or named by an arrow <-
variables can be values

Vectors: sets of values
- Classes: numeric (numbers), characters (characters), logical (true/false)
- All of the values of a column need to be of the same class.

Character vectors
- A string of characters
- identified by ‘this’ or “this”

Packages: install.packages(‘tidyverse’) → installing once
library(tidyverse) → opening/reloading every session

packages are not the same as functions or libraries,
packages contain libraries
libraries contain functions
some packages have the same name as their function

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.
noellesmit Universiteit van Amsterdam
Follow You need to be logged in order to follow users or courses
Sold
15
Member since
3 year
Number of followers
11
Documents
32
Last sold
1 week ago

3.0

1 reviews

5
0
4
0
3
1
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