Learn R Programming

plot4fun (version 0.1.1)

convert_chr_to_matrix: convert a character to 01 matrix

Description

convert a character to 01 matrix

Usage

convert_chr_to_matrix(
  char,
  size = 32,
  font_file = NULL,
  picture_dir = tempdir()
)

Value

chr_mat

Arguments

char

a character

size

32

font_file

font_file

picture_dir

where to save the temporary picture

Examples

Run this code
convert_chr_to_matrix("A")

Run the code above in your browser using DataLab