landuse_names {TroublemakeR} | R Documentation |
Landuse names
Description
This function takes a vector of landuse names and writes them to a .dat file. The file
will be written to the location specified by the name
argument. If the file
already exists, it will be overwritten. The file format is plain text, with each
line terminated by a newline character.
Usage
landuse_names(landuses = NULL, name = "Problem")
Arguments
landuses |
a vector with the names of the landuses |
name |
The name of the output file |
Value
.dat file. This function is used for the side-effect of writing values to a file.
Author(s)
Derek Corcoran
Examples
landuse_names(landuses = c("Agriculture", "Forest", "Urban"))
# delete the file so the test on cran can pass this
file.remove("Problem.dat")
[Package TroublemakeR version 0.0.1 Index]