boxr_change_cell: Set many cells

Description Usage Arguments

View source: R/boxr.R

Description

Vectorised version of tb_change_cell; any elements in x, y ch fg and bg may be vectors with length greater than 1, but only one length greater than 1 is allowed, and x and/or y must have length greater than 1 if anything else does.

Usage

1
boxr_change_cell(x, y, ch, fg, bg)

Arguments

x,y

x and y position of the cells so c(x[i], y[i]) is the ith cell

ch

A single or vector of character codes (integer)

fg,bg

foregreound and background colours (see tb for a set of values)


richfitz/boxr documentation built on May 27, 2019, 8:16 a.m.