char_gen: Generate a matrix of similar characters

Description Usage Arguments Value Author(s) Examples

View source: R/char_gen.R

Description

This function prints a matrix of characters which are very similar to each other.

Usage

1
char_gen(x = c("V", "W"), n = 300, nrow = 10)

Arguments

x

a character vector of length 2 (usually two similar characters)

n

the total number of characters in the matrix

nrow

the number of rows

Value

a character matrix on the screen

Author(s)

Yihui Xie <http://yihui.name>

Examples

1
2
3
char_gen()

char_gen(c("O", "Q"))

MSG documentation built on May 29, 2017, 4:30 p.m.

Search within the MSG package
Search all R packages, documentation and source code