write_encoding {biogram}R Documentation

Write encodings to a file

Description

Saves a list of encodings (or a single encoding to the file).

Usage

write_encoding(x, file = "")

Arguments

x

encoding or list of encodings.

file

ither a character string naming a file or a connection open for writing. "" indicates output to the console.

Examples

aa1 = list(`1` = c("g", "a", "p", "v", "m", "l", "i"), 
           `2` = c("k", "h"), 
           `3` = c("d", "e"), 
           `4` = c("f", "r", "w", "y", "s", "t", "c", "n", "q"))
write_encoding(aa1)


[Package biogram version 1.6.3 Index]