README.md

multivariateAnalysisVT2021

This package was created to assist with the exercises during the Multivariate Analysis course at Stockholm University spring term 2021. The goal of multivariateAnalysisVT2021 is to provide easily accessible datasets for the recommended exercises originally supplied as SAS .DAT files.

Installation

You can install the development version of multivariateAnalysisVT2021 from GitHub with:

# install.packages("devtools")
devtools::install_github("parhammarstrom/multivariateAnalysisVT2021")

Example

Read from the datasets:

library(multivariateAnalysisVT2021)
table1.2<-t1.2
head(table1.2)
#>   Density MachineDirection CrossDirection
#> 1   0.801           121.41          70.42
#> 2   0.824           127.70          72.47
#> 3   0.841           129.20          78.20
#> 4   0.816           131.80          74.89
#> 5   0.840           135.10          71.21
#> 6   0.842           131.50          78.39

Inspect the datasets:

summary(t1.2)
#>     Density       MachineDirection CrossDirection 
#>  Min.   :0.7580   Min.   :103.5    Min.   :48.93  
#>  1st Qu.:0.7950   1st Qu.:115.1    1st Qu.:56.53  
#>  Median :0.8150   Median :121.4    Median :70.70  
#>  Mean   :0.8119   Mean   :121.0    Mean   :67.72  
#>  3rd Qu.:0.8260   3rd Qu.:126.7    3rd Qu.:74.89  
#>  Max.   :0.9710   Max.   :135.1    Max.   :80.33


parhammarstrom/multivariateAnalysisVT2021 documentation built on March 22, 2021, 4:52 p.m.