Rdocumentation
powered by
Learn R Programming
timma (version 1.1.0)
graycode3: Gray code function for matrix indexes
Description
A function to generate gray code used for matrix row and column names
Usage
graycode3(m)
Arguments
m
an integer to specify the number of bits
Value
a list of the following components:
gc_row
binary gray code as row names of the predicted sensitivity matrix
gc_col
binary gray code as column names of the predicted sensitivity matrix
dec_row
decimal gray code as row names of the predicted sensitivity matrix
dec_col
decimal gray code as column names of the predicted sensitivity matrix
Examples
Run this code
names
<-graycode3(
3
)
Run the code above in your browser using
DataLab