1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-10 12:21:53 +02:00

improve as.mo()

This commit is contained in:
2023-05-24 15:55:53 +02:00
parent 3018fb87a9
commit 0bcf55d3b6
14 changed files with 76 additions and 22 deletions

View File

@ -101,13 +101,13 @@ To work with R, probably the best option is to use [RStudio](https://www.rstudio
To import a data file, just click *Import Dataset* in the Environment tab:
![](https://github.com/msberends/AMR/raw/main/docs/import1.png)
![](https://msberends.github.io/AMR/import1.png)
If additional packages are needed, RStudio will ask you if they should be installed on beforehand.
In the the window that opens, you can define all options (parameters) that should be used for import and you're ready to go:
![](https://github.com/msberends/AMR/raw/main/docs/import2.png)
![](https://msberends.github.io/AMR/import2.png)
If you want named variables to be imported as factors so it resembles SPSS more, use `as_factor()`.

25
vignettes/other_pkg.Rmd Executable file
View File

@ -0,0 +1,25 @@
---
title: "Using AMR with other packages: AMR & dplyr/tidyverse"
output:
rmarkdown::html_vignette:
toc: true
toc_depth: 3
vignette: >
%\VignetteIndexEntry{How to conduct AMR data analysis}
%\VignetteEncoding{UTF-8}
%\VignetteEngine{knitr::rmarkdown}
editor_options:
chunk_output_type: console
---
```{r setup, include = FALSE, results = 'markup'}
knitr::opts_chunk$set(
warning = FALSE,
collapse = TRUE,
comment = "#>",
fig.width = 7.5,
fig.height = 5
)
```
This page will be updated shortly, to give explicit examples of how to work ideally with the `AMR` package, for those who are used to working in `dplyr` or other tidyverse packages.