isDiscreteDataFrame {integr} | R Documentation |
Tests if data.frame is discrete (i.e. all of its columns are factors)
Description
Tests if data.frame is discrete (i.e. all of its columns are factors)
Usage
isDiscreteDataFrame(df)
Arguments
df |
A |
Value
Boolean
: TRUE
if all columns of the data.frame
df
are factors, FALSE
otherwise; If the provided df
object is of other type than data.frame
, the function throws an
error.
Examples
isDiscreteDataFrame(golf)
[Package integr version 1.0.0 Index]