GAD (version 1.1.1)

is.fixed: Tests if a factor is fixed

Description

This function works the same way of is.factor.

Usage

is.fixed(x)

Arguments

x
a vector of data

Value

is.fixed returns "TRUE" or "FALSE" depending on whether its argument is a fixed factor or not

See Also

is.random

Examples

Run this code
library(GAD)
data(rohlf95)
CG <- as.fixed(rohlf95$cages)
MQ <- as.random(rohlf95$mosquito) 
is.fixed(CG)
is.random(MQ)

Run the code above in your browser using DataCamp Workspace