Learn R Programming

EZFragility (version 1.0.3)

nrow,Fragility-method: Get the number of rows or columns of a Fragility object

Description

Get the number of rows or columns of a Fragility object

Usage

# S4 method for Fragility
nrow(x)

# S4 method for Fragility ncol(x)

Value

  • nrow(x): The number of rows (electrodes) in the fragility matrix.

  • ncol(x): The number of columns (time points) in the fragility matrix.

  • dim(x): A vector of length 2 containing the number of rows and columns in the fragility matrix.

Arguments

x

A Fragility object