Learn R Programming

QGameTheory (version 0.1.2)

col_count: Number of columns of a vector/matrix

Description

This function counts the number of columns of a vector or a matrix

Usage

col_count(M)

Arguments

M

A vector/matrix

Value

An integer that gives the number of columns in a vector or a matrix.

Examples

Run this code
# NOT RUN {
init()
col_count(Q$Q11)
col_count(Q$lambda4)
col_count(Q$I2)

# }

Run the code above in your browser using DataLab