extract-methods: Extract parts of the repgrid object.

[,repgrid-methodR Documentation

Extract parts of the repgrid object.

Description

Methods for "[", i.e., subsetting of repgrid objects.

Usage

## S4 method for signature 'repgrid'
x[i, j, ..., drop = TRUE]

Arguments

x

A repgrid object.

i, j

Row and column indices.

...

Not evaluated.

drop

Not used.

Examples


   x <- randomGrid()
   x[1:4, ] 
   x[ , 1:3] 
   x[1:4,1:3] 
   x[1,1]


OpenRepGrid documentation built on May 31, 2023, 5:33 p.m.