The OSSAB package contains spatial ability tests.
We also advise mentioning the software versions you used,
in particular the versions of the
You can find these version numbers from R by running the following commands:
library(OSSAB) library(psychTestR) if (!require(devtools)) install.packages("devtools") x <- devtools::session_info() x$packages[x$packages$package %in% c("OSSAB", "psychTestR", "psychTestRCAT"), ]
If you don't have R installed, install it from here: https://cloud.r-project.org/
Install the ‘devtools’ package with the following command:
SRT_standalone() function is designed for real data collection.
In particular, the participant doesn't receive feedback during this version.
# Load the OSSAB package library(OSSAB) # Run the tests as if for a participant, using default settings, # saving data, and with a custom admin password, e.g. MRT_standalone(admin_password = "put-your-password-here")
You will need to enter a participant ID for each participant. This will be stored along with their results.
Each time you test a new participant,
SRT_standalone() function, and a new participation session will begin.
You can retrieve your data by starting up a participation session, entering the admin panel using your admin password, and downloading your data. For more details on the psychTestR interface, see http://psychtestr.com/.
The OSSAB currently supports Russian (ru, default) and English (en).
You can select one of these languages by passing a language code as
an argument to
OSSAB(languages = "en"),
or alternatively by passing it as an URL parameter to the test browser,
eg. http://127.0.0.1:4412/?language=DE (note that the
p_id argument must be empty).
sudo mkdir OSSAB
Make a text file in this folder called
specifying the R code to run the app.
To open the text editor:
sudo nano OSSAB/app.R
library(OSSAB) OSSAB(admin_password = "put-your-password-here")
Save the file (CTRL-O).
Change the permissions of your app directory so that
can write its temporary files there.
sudo chown -R shiny OSSAB
shiny is the username for the Shiny process user
(this is the usual default).
By default, the OSSAB implementation always estimates participant abilities using weighted-likelihood estimation. We adopt weighted-likelihood estimation for this release because this technique makes fewer assumptions about the participant group being tested. This makes the test better suited to testing with diverse participant groups (e.g. children, clinical populations).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.