build_bitstring: Builds Bitstring

Description Usage Arguments Value

View source: R/build_bitstring.R

Description

build_bitstring creates a bitstring from an action vector, state matrix, and number of actions.

Usage

1
build_bitstring(action_vec, state_mat, actions)

Arguments

action_vec

Numeric vector indicating what action to take for each state.

state_mat

Numeric matrix with rows as states and columns as predictors.

actions

Numeric vector length one with the number of actions.

Value

Returns numeric vector bitstring.


JohnNay/datafsm documentation built on June 9, 2021, 10:32 p.m.