Writes an ASCII grid to text file
ascii_text(text_grid, file)
text_grid | Matrix from ascii_grid |
---|---|
file | Path to text file |
A matrix, invisibly
## Not run: bayes_img <- ascii_data("bayes.png") # path to the bayes image bayes_map <- ascii_map(bayes_img) # construct ASCII map#> Warning: Assuming third dimension corresponds to colour#> Warning: Using a rescale value of 0.175bayes_grid <- ascii_grid(bayes_map) # make grid ascii_text(bayes_grid, file = "bayes_grid.txt") ## End(Not run)