View source: R/write_results.R
write_results | R Documentation |
Takes the results produced by the function anneal
and
writes them to a tab-delimited text file.
write_results(results, filename, data = TRUE, print_whole_hist = FALSE)
results |
The output list produced by the function
|
filename |
A string with the file and path to the file you wish to write. This will overwrite any existing files of that name. This will not add any file extensions so remember to put on the appropriate one. |
data |
If TRUE, the |
print_whole_hist |
If TRUE, the entire likelihood history of the run is printed; if FALSE, it is not. Long runs can have rather long histories. |
A file with the contents of results
written as tab-delimited text.
anneal
## Assuming you have performed a simulated annealing run and placed the
## results in an object called "my_results"...
## Not run: write_results(my_results, "c:\results.txt")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.