inputCond: Cutoff chooser

Description Usage Arguments Details Value

Description

Takes user input and tests it against a given condition.

Usage

1
2
inputCond(init = 0, prompt = "Please enter a value for x: ",
  variable = "x", condition = "x < 3")

Arguments

init

Numeric. The initial value of the variable

prompt

Character string. Printed to prompt the user for input

variable

Character string. The name of the variable being tested in the condition

condition

Character string. The logical test of the variable. If true, the user input is returned.

Details

Not intended for use outside of a call to polyCluster.

Value

A user-entered value that meets the specified criteria.


syspremed/polyClustR documentation built on May 31, 2019, 12:49 a.m.