This packages is the companion package to our book “Applied Statistics using R”.
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/astatur")
In order to run the example codes from the book, you can use the following to install all packages used in the book.
library(astatur)
install.packages(astatur.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:
chapter_00-Preface.R
chapter_01-IntroR.R
chapter_02-ImportWorkWithR.R
chapter_03-HowDoesRWork.R
chapter_04-DataManagement.R
chapter_05-VisualisationR.R
chapter_06-DescriptiveStat.R
chapter_07-SimpleRegression.R
chapter_08-MultipleRegression.R
chapter_09-DummyRegression.R
chapter_10-InteractionRegression.R
chapter_11-LogisticRegression.R
chapter_12-MultilevelLong.R
chapter_13-FactorAnalysis.R
chapter_14-StructuralEq.R
chapter_15-BayesianStats.R