Skip to content

Instantly share code, notes, and snippets.

View nvasilenok's full-sized avatar

Natalia Vasilenok nvasilenok

View GitHub Profile
@nvasilenok
nvasilenok / hse-polisci-psms-sem11.R
Last active April 10, 2020 06:37
HSE-PoliSci-PSMS-Seminar-11
# seminar 11
# please copy and paste this code to your RStudio
# in R, vector is a collection of elements of the same type
# for example, all elements should be numbers or words
# we can think of vector as sample
x <- c(2, 2, 6, 21, 7, 0, 8, -0.5, 2, -11)
# the function 'c' creates vector