Grading hundreds of datasets is currently nearly impossible to automate as far as I can tell. Ideally, one could make a script as follows to grade many datasets:
library(jaspRegression)
library(jaspBase)
library(readr)
for (i in 1:200) {
filename <- paste0("group", i, ".txt")
data <- read.csv(file = filename, header = TRUE, stringsAsFactors = FALSE)
jaspRegression::RegressionLinear(
data,
version = "0.17.1",
formula = ExamScore ~ D1 + AvScore,
isNuisance = ~ AvScore,
covariates = "AvScore",
coefficientCi = TRUE,
descriptives = TRUE,
rSquaredChange = TRUE
)
}
Description
Automatically grading hundreds of datasets
Purpose
No response
Use-case
No response
Is your feature request related to a problem?
I cannot easily run
RegressionLinear
Is your feature request related to a JASP module?
Other
Describe the solution you would like
Being able to call JASP functions from R
Describe alternatives that you have considered
No response
Additional context
Grading hundreds of datasets is currently nearly impossible to automate as far as I can tell. Ideally, one could make a script as follows to grade many datasets: