Learn R Programming

BAS (version 1.4.5)

bin2int: Convert binary model representation into an integer

Description

This function is deprecated. Takes a binary string representation of a model and converts to an integer

Usage

bin2int(model)

Arguments

model
a Boolean/binary vector of length p representing a model

Value

an integer

Details

Previously used in fitted.bas to determine if the median probability model is included in the sample and will be deprecated. Not meant to be used directly by the user. p must be less than or equal to 32.