Learn R Programming

copa (version 1.40.0)

getans: Interactive Function

Description

A function to query the end user. This is an internal function and not intended to be called directly by the end user.

Usage

getans(msg, allowed = c("y", "n"))

Arguments

msg
The query.
allowed
Allowed responses

Value

The response is returned.