R Functions collection
Here is a collection of the R functions described in the various tutorials:
Shift position of an object in an image - https://github.com/marco2gandolfo/rcourse/blob/main/shiftobj.R
Create a zoomed-in version of one or many images (e.g. for a BE experiment) - https://github.com/marco2gandolfo/rcourse/blob/main/zoom_in_image.R
Add image to canvas of desired size without altering ratio - https://github.com/marco2gandolfo/rcourse/blob/main/resizecanvas.R
Scramble object images and add a grid to them - https://github.com/marco2gandolfo/rcourse/blob/main/gridandscramble.R
Find outliers - https://github.com/marco2gandolfo/rcourse/blob/main/Out_Classifier.R
Area under the curve for metacognitive sensitivity - https://github.com/marco2gandolfo/rcourse/blob/main/auroc2R.R
Signal detection theory classifier - https://github.com/marco2gandolfo/rcourse/blob/main/SDT_Classifier.R
Shrink images - https://github.com/marco2gandolfo/rcourse/blob/main/shrink_images.R
Flip images - https://github.com/marco2gandolfo/rcourse/blob/main/flip_images.R
Reverse videos - https://github.com/marco2gandolfo/rcourse/blob/main/reverse_videos.R
For more details on the usage of these functions please see the relevant sections within the R resources of this website.
For implementing the functions into R find additional information on the Readme of my github repository.