This packages is the companion package to our book “Innføring i R for statistiske dataanalyser”.
Mehmetoglu, M. & Mittner, M. (2020). Innføring i R for statistiske dataanalyser. Universitetsforlaget. https://www.universitetsforlaget.no/innforing-i-r-for-statistiske-dataanalyser
All datasets and code-examples used in the book are included in this package. In addition, the package contains several convenience functions that are used in the book.
You can install the package from github using
#install.packages("devtools")
devtools::install_github("ihrke/rnorsk")
In order to run the example codes from the book, you can use the following to install all packages used in the book.
library(rnorsk)
install.packages(rnorsk.all.used.packages)
All code-examples presented in the book are included in this package. The list of files can be accessed here or by clicking on the filenames below:
kapittel_00-forord.R
kapittel_01-intro.R
kapittel_02-import-data.R
kapittel_03-hvordan-fungerer.R
kapittel_04-databehandling.R
kapittel_05-visualisering.R
kapittel_06-deskriptiv_statistikk.R
kapittel_07-lineaer_regresjon.R
kapittel_08-dummy_regresjon.R
kapittel_09-interaksjon_regresjon.R
kapittel_10-logistisk-regresjon.R
kapittel_11-faktoranalyse.R
kapittel_12-bayesiansk.R