learning r with jamovi - digital scholarship · 2020-02-14 · base r an rwi a simple module which...

15
Learning R with jamovi

Upload: others

Post on 29-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Learning R with jamovi - Digital Scholarship · 2020-02-14 · Base R an Rwi A simple module which makes the analyses from the stats pi jemovi. This module is ideal for teaching and

Learning R with jamovi

Page 2: Learning R with jamovi - Digital Scholarship · 2020-02-14 · Base R an Rwi A simple module which makes the analyses from the stats pi jemovi. This module is ideal for teaching and

Turn on Syntax

• Click the 3 dots in the upper right corner

• Check the box next to Syntax mode

Page 3: Learning R with jamovi - Digital Scholarship · 2020-02-14 · Base R an Rwi A simple module which makes the analyses from the stats pi jemovi. This module is ideal for teaching and

Syntax Mode

# Descriptives

jmv::descriptives(data = data,vars = "fate")

Comments

Packages

Functions

Data Specification

Values

Arguments

Page 4: Learning R with jamovi - Digital Scholarship · 2020-02-14 · Base R an Rwi A simple module which makes the analyses from the stats pi jemovi. This module is ideal for teaching and

Syntax & Clicking

Text Values

(ex. Text Boxes, Drop-downs)

jmv::descriptives(

data = data,

vars = c("fate", "age"),

box = TRUE,

dot = TRUE,

dotType = "stack",

sd = TRUE,

min = FALSE,

max = FALSE)

Lists

Logical Values (ex. Checkboxes)

Page 5: Learning R with jamovi - Digital Scholarship · 2020-02-14 · Base R an Rwi A simple module which makes the analyses from the stats pi jemovi. This module is ideal for teaching and

Install the Base R Module

• Click Modules and jamovi library

• Find Base R and click "INSTALL"

• It will immediately appear on the toolbar

Page 6: Learning R with jamovi - Digital Scholarship · 2020-02-14 · Base R an Rwi A simple module which makes the analyses from the stats pi jemovi. This module is ideal for teaching and

T-Test

Page 7: Learning R with jamovi - Digital Scholarship · 2020-02-14 · Base R an Rwi A simple module which makes the analyses from the stats pi jemovi. This module is ideal for teaching and

Linear Regression

Page 8: Learning R with jamovi - Digital Scholarship · 2020-02-14 · Base R an Rwi A simple module which makes the analyses from the stats pi jemovi. This module is ideal for teaching and

ANOVA

Page 9: Learning R with jamovi - Digital Scholarship · 2020-02-14 · Base R an Rwi A simple module which makes the analyses from the stats pi jemovi. This module is ideal for teaching and

Mixed Models

Page 10: Learning R with jamovi - Digital Scholarship · 2020-02-14 · Base R an Rwi A simple module which makes the analyses from the stats pi jemovi. This module is ideal for teaching and

Formulas in Mixed Models

Page 11: Learning R with jamovi - Digital Scholarship · 2020-02-14 · Base R an Rwi A simple module which makes the analyses from the stats pi jemovi. This module is ideal for teaching and

Factor Coding

Page 12: Learning R with jamovi - Digital Scholarship · 2020-02-14 · Base R an Rwi A simple module which makes the analyses from the stats pi jemovi. This module is ideal for teaching and

Writing R Code

Page 13: Learning R with jamovi - Digital Scholarship · 2020-02-14 · Base R an Rwi A simple module which makes the analyses from the stats pi jemovi. This module is ideal for teaching and

Rj Editor

Page 14: Learning R with jamovi - Digital Scholarship · 2020-02-14 · Base R an Rwi A simple module which makes the analyses from the stats pi jemovi. This module is ideal for teaching and

Packages in jamovi R

Companions: car, vcd, MASS

Graphing: ggplot2, GGally

Modeling: lme4, lmer, lavaan, emmeans

Other: psych, BayesFactor

Tidyverse: dplyr, readr, tibble, stringr, forcats, readxl, haven

Page 15: Learning R with jamovi - Digital Scholarship · 2020-02-14 · Base R an Rwi A simple module which makes the analyses from the stats pi jemovi. This module is ideal for teaching and

Using R / RStudio

jmvconnect Package

Only two functions:

• what()

• read()

write capabilities not yet available