yesno: Yes or No

Description Usage Arguments Value

Description

Asks user a question and returns a TRUE or FALSE to indicate whether user answered yes or no. Modified from devtools package internal function so that yes returns TRUE.

Usage

1
yesno(question)

Arguments

question

a character scalar of the question to ask the user

Value

A logical scalar indicating whether reponse was yes (TRUE) or no (FALSE).


poissonconsulting/klexr documentation built on May 25, 2019, 10:25 a.m.