convert_chr_to_matrix {plot4fun} | R Documentation |
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()
)
Arguments
char |
a character |
size |
32 |
font_file |
font_file |
picture_dir |
where to save the temporary picture |
Value
chr_mat
Examples
convert_chr_to_matrix("A")
[Package plot4fun version 0.1.1 Index]