| write_kbase | R Documentation |
Write a basis to file
write_kbase(x, filename, format = NULL, sep = ",", enforce = TRUE)
x |
Basis (in set ( |
filename |
Name of the file to be written |
format |
File format |
sep |
Cell separator for CSV files |
enforce |
Should basis properties be enforced (only for matrix form)? If the file format is not specified, |
Other Functions for reading and writing families of sets:
read_kbase(),
read_kdata(),
read_kfamset(),
read_kspace(),
read_kstructure(),
write_kdata(),
write_kfamset(),
write_kspace(),
write_kstructure()
kstMatrix::xpl$basis
tempfile <- paste0(tempdir(), "/test.bas")
write_kbase(kstMatrix::xpl$basis, tempfile, format="SRBT")
cat(readLines(tempfile), sep='\n')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.