Learn R Programming

RVCompare (version 0.1.8)

xHasEnoughValues: Check for enough values.

Description

This function checks if there are at least minRequiredValues values in the introduced vector.

Usage

xHasEnoughValues(X, minRequiredValues)

Value

Returns TRUE if the values are OK. FALSE, if there are not enough values.

Arguments

X

the array with the values.

minRequiredValues

the minimum number values required to return TRUE.

Examples

Run this code
xHasEnoughValues(c(1,2,2,3,1,5,8,9,67,8.5,4,8.3), 6)

Run the code above in your browser using DataLab