binary_question_scene: Create a binary question scene

Description Usage Arguments Examples

View source: R/binary_question_scene.R

Description

Create a binary question scene

Usage

1
2
3
4
5
6
7
8
9
binary_question_scene(
  the_question,
  answer_1,
  answer_2,
  img_paths,
  IPv4_ADDRESS,
  animal_class,
  message_height = 1.5
)

Arguments

the_question

Question message to display

answer_1

Binary answer for 1 (Yes)

answer_2

Binary answer for 0 (No)

img_paths

Character string of image paths from current working directory

IPv4_ADDRESS

The same IPv4 addressed used to start VR server

animal_class

Character string for database

message_height

Optional numeric value for height of question and answer boxes (default 1.5)

Examples

1
animals <- binary_question_scene("Do you see any koalas in this image?", "Yes", "No", img_paths)

MilesMcBain/r2vr documentation built on March 29, 2021, 12:03 p.m.