Introduction

This document is a skeleton of a Markdown report that uses the basic functions to create a report that serves as documentation of your analysis.

Exercise

  • Try to knit the presentation and view the results

  • Find the Markdown Quick Reference under the Help Pane.

  • Run each chunk of code independently - use the little green play button in the right corner of the chunk.

  • Insert a code chunk - with the short cut ctrl + alt + i

  • In that chunk - print the result object and reknit the report.

  • Try to reknit the report but now in PDF or Word format

  • Change the result object - so that we report your analysis instead. Go to your own project and find where you define your soc.mca object. Then save it in an .Rda file and copy paste it to the saved folder in this project. Then you need to change the load() command above and make sure that the result object that comes out of it is called result. Then knit away!

  • If you do not have your own analysis ready yet. Then you can use the Troels result object which I have saved for you in the “saved” folder.

Variance

## 
## Dim        1.    2.    3.    4.    5.    6.    7.    8.    
## Eigen      0.16  0.10  0.09  0.07  0.07  0.07  0.05  0.05
## Var       16.7  10.3   9.5   7.7   7.5   7.1   5.6   4.9
## Adj.Var   53.9  15.1  11.6   6.1   5.4   4.5   1.6   0.8
## Cum %     53.9  69.0  80.6  86.7  92.1  96.6  98.2  99.0
Explained variance

Dimension

1

2

3

4

5

6

7

8

Eigen

0.161

0.1

0.092

0.075

0.073

0.069

0.054

0.048

Var

16.7

10.3

9.5

7.7

7.5

7.1

5.6

4.9

Adj.Var

53.9

15.1

11.6

6.1

5.4

4.5

1.6

0.8

Cum%

53.9

69.0

80.6

86.7

92.1

96.6

98.2

99.0

Headings

##            Variables Active Modalities Ctr. total Ctr. dim: 1 Ctr. dim: 2
## Familie            4                28       45.2        20.0        60.1
## Identitet          3                18       29.0        22.1        28.3
## Uddannelse         3                16       25.8        57.8        11.6
##            Ctr. dim: 3
## Familie           46.5
## Identitet         30.2
## Uddannelse        23.3
Headings

Contributions

Heading

Variables

Active Categories

Total

1

2

3

Familie

4

28

45.2

20.0

60.1

46.5

Identitet

3

18

29.0

22.1

28.3

30.2

Uddannelse

3

16

25.8

57.8

11.6

23.3

Contribution to the 1st dimension

## 
##         Dimension 1. (+)        
##                                     Ctr    Coord
## Uddannelse: Boglig: 1               8.0     1.02
## Uddannelse: Ikke-boglig: 0          8.0     1.02
## Skriftsprog: SkrProf: 1             7.6     1.18
## Uddannelsesland: UddanDKogN: 1      5.7     1.56
## Køn: Kvinde: 1                      3.9     0.61
## Køn: Mand: 0                        3.9     0.61
## Skriftsprog: Skr-: 0                3.9     0.59
## Uddannelsesland: UddanDK: 0         3.7     0.89
## Antal år i Norge: ÅriN1: 1          2.4     0.56
## Antal år i Norge: ÅriN3: 0          1.7     0.38
## 
##         Dimension 1. (-)        
##                                     Ctr    Coord
## Skriftsprog: Skr-: 1                5.4    -0.81
## Uddannelse: Boglig: 0               5.3    -0.68
## Uddannelse: Ikke-boglig: 1          5.3    -0.68
## Køn: Kvinde: 0                      4.5    -0.71
## Køn: Mand: 1                        4.5    -0.71
## Skriftsprog: SkrProf: 0             2.9    -0.46
## Antal år i Norge: ÅriN3: 1          2.8    -0.62
## Motiv: Mot-: 1                      2.6    -1.49
Categories contributing above average to dim. 1

Category

Coord +

Coord -

Ctr %

n

Uddannelse: Boglig: 1

1.02

8.0

20

Uddannelse: Ikke-boglig: 0

1.02

8.0

20

Skriftsprog: SkrProf: 1

1.18

7.6

14

Uddannelsesland: UddanDKogN: 1

1.56

5.7

6

Skriftsprog: Skr-: 1

-0.81

5.4

21

Uddannelse: Boglig: 0

-0.68

5.3

30

Uddannelse: Ikke-boglig: 1

-0.68

5.3

30

Køn: Kvinde: 0

-0.71

4.5

23

Køn: Mand: 1

-0.71

4.5

23

Skriftsprog: Skr-: 0

0.59

3.9

29

Køn: Kvinde: 1

0.61

3.9

27

Køn: Mand: 0

0.61

3.9

27

Uddannelsesland: UddanDK: 0

0.89

3.7

12

Skriftsprog: SkrProf: 0

-0.46

2.9

36

Antal år i Norge: ÅriN3: 1

-0.62

2.8

19

Motiv: Mot-: 1

-1.49

2.6

3

Antal år i Norge: ÅriN1: 1

0.56

2.4

20

Antal år i Norge: ÅriN3: 0

0.38

1.7

31

Contribution to the 2nd dimension

## 
##        Dimension 2. (+)       
##                                   Ctr    Coord
## Børn: BørniSkN: 1                 8.0     1.00
## Antal år i Norge: ÅriN2: 1        5.8     0.92
## Skriftsprog: SkrBegr: 1           5.1     0.74
## Motiv: MotFam: 1                  4.9     0.72
## Civilstand: CivstN: 1             4.5     0.52
## By: Oslo: 1                       4.3     0.68
## By: Kristiansand: 0               3.7     0.41
## Antal år i Norge: ÅriN3: 0        2.7     0.38
## Civilstand: CivstD: 0             2.6     0.35
## Identitet: Norsk: 1               2.4     1.14
## 
##        Dimension 2. (-)       
##                                   Ctr    Coord
## By: Kristiansand: 1               8.6    -0.96
## Civilstand: CivstN: 0             5.3    -0.61
## Civilstand: CivstD: 1             5.0    -0.68
## Antal år i Norge: ÅriN3: 1        4.5    -0.61
## Børn: BørniSkN: 0                 2.8    -0.35
## Motiv: Mot-: 1                    2.3    -1.11
## Identitet: Dansk og Norsk: 1      2.2    -0.45
## Skriftsprog: SkrBegr: 0           2.2    -0.32
## Børn: VoksBørnN: 1                2.1    -0.42
## Motiv: MotFam: 0                  2.1    -0.31
## By: Oslo: 0                       1.8    -0.29
## Antal år i Norge: ÅriN2: 0        1.6    -0.26
Categories contributing above average to dim. 2

Category

Coord +

Coord -

Ctr %

n

By: Kristiansand: 1

-0.96

8.6

15

Børn: BørniSkN: 1

1.00

8.0

13

Antal år i Norge: ÅriN2: 1

0.92

5.8

11

Civilstand: CivstN: 0

-0.61

5.3

23

Skriftsprog: SkrBegr: 1

0.74

5.1

15

Civilstand: CivstD: 1

-0.68

5.0

17

Motiv: MotFam: 1

0.72

4.9

15

Civilstand: CivstN: 1

0.52

4.5

27

Antal år i Norge: ÅriN3: 1

-0.61

4.5

19

By: Oslo: 1

0.68

4.3

15

By: Kristiansand: 0

0.41

3.7

35

Børn: BørniSkN: 0

-0.35

2.8

37

Antal år i Norge: ÅriN3: 0

0.38

2.7

31

Civilstand: CivstD: 0

0.35

2.6

33

Identitet: Norsk: 1

1.14

2.4

3

Motiv: Mot-: 1

-1.11

2.3

3

Identitet: Dansk og Norsk: 1

-0.45

2.2

17

Skriftsprog: SkrBegr: 0

-0.32

2.2

35

Børn: VoksBørnN: 1

-0.42

2.1

19

Motiv: MotFam: 0

-0.31

2.1

35

By: Oslo: 0

-0.29

1.8

35

Antal år i Norge: ÅriN2: 0

-0.26

1.6

39

Cloud of individuals

Plane 1 and 2

Plane 1 and 3

Cloud of categories