Quarto
Quarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see https://quarto.org.
Running Code
When you click the Render button a document will be generated that includes both content and the output of embedded code. You can embed code like this:
You can add options to executable code like this
Transformations
Descriptives
Civilian Descriptives
| collective_violent |
134.00 |
| MaxViolence |
3.00 |
| MaxAggression |
68.34 |
| MaxStress |
68.46 |
| MaxHarmAvoidance |
61.70 |
| MinViolence |
0.00 |
| MinAgression |
39.62 |
| MinStress |
33.71 |
| MinHarmAvoidance |
18.72 |
| Aggression_mean |
46.23 |
| Stress_Mean |
43.16 |
| Avoid_mean |
46.75 |
Officer Descriptives
| collective_violent |
120.00 |
| MaxViolence |
3.00 |
| MaxAggression |
80.65 |
| MaxStress |
65.57 |
| MaxHarmAvoidance |
61.70 |
| MinViolence |
0.00 |
| MinAgression |
39.62 |
| MinStress |
33.71 |
| MinHarmAvoidance |
29.46 |
| Aggression_mean |
46.16 |
| Stress_Mean |
42.53 |
| Avoid_mean |
49.05 |
plots
# A tibble: 501 × 18
SAMPLE MPQ_WELLBEING MPQ_SOCIAL_POTENCY MPQ_ACHIEVEMENT MPQ_SOCIAL_CLOSENESS
<chr> <dbl> <dbl> <dbl> <dbl>
1 Officer 61.7 56.2 66.2 63.5
2 Officer 61.7 56.2 66.2 63.5
3 Officer 61.7 56.2 66.2 63.5
4 Officer 44.1 56.2 59.8 63.5
5 Officer 44.1 56.2 59.8 63.5
6 Officer 44.1 56.2 59.8 63.5
7 Officer 54.6 59.0 56.6 34.9
8 Officer 54.6 59.0 56.6 34.9
9 Officer 54.6 59.0 56.6 34.9
10 Officer 47.6 59.0 63.0 50.8
# ℹ 491 more rows
# ℹ 13 more variables: MPQ_STRESS_REACTION <dbl>, MPQ_AGGRESSION <dbl>,
# MPQ_ALIENATION <dbl>, MPQ_CONTROL <dbl>, MPQ_HARM_AVOIDANCE <dbl>,
# MPQ_ABSORPTION <dbl>, MPQ_UNLIKELY_VIRTUES <dbl>,
# MPQ_POSITIVE_EMOTIONALITY <dbl>, MPQ_NEGATIVE_EMOTIONALITY <dbl>,
# MPQ_CONSTRAINT <dbl>, Person_total_violent <chr>, N_FORCE_BY_YOU <dbl>,
# Person_total_violent123 <chr>