write.Scythe | R Documentation |
This function writes a matrix to an ASCII file that can be read by the Sycthe Statistical Library. Scythe requires that input files contain the number of rows and columns in the first row, followed by the data.
write.Scythe(outmatrix, outfile = NA, overwrite = FALSE)
outmatrix |
The matrix to be written to a file. |
outfile |
The file to be written. This can include path information. |
overwrite |
A logical that determines whether an existing file should be over-written. By default, it protects the user from over-writing existing files. |
A zero if the file is properly written.
Daniel Pemstein, Kevin M. Quinn, and Andrew D. Martin. 2007. Scythe Statistical Library 1.0. http://scythe.wustl.edu.s3-website-us-east-1.amazonaws.com/.
write.Scythe
## Not run:
write.Scythe(mymatrix, file.path(tempdir(), "myfile.txt"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.