View source: R/write.vectorized.variable.in.string.R
write.vectorized.variable.in.string | R Documentation |
*.inpts
or Matlab-like syntax.Writes one or more variables (scalars, vectors or Rasters) in a string each, following *.inpts
or Matlab-like syntax.
write.vectorized.variable.in.string(
l,
NAflag = -9999,
matlab.syntax = FALSE,
...
)
l |
a |
NAflag |
numeric. Default is -9999, see |
matlab.syntax |
logical value. Default is |
... |
further aguments |
the string vector <NAME_VARIABLE>==<VALUES_VARIABLE>
.
Add Quote if necessary
read.ascii.vectorized.brick
a <- 1:5
l <- list(v=a,a=a)
out <- write.vectorized.variable.in.string(l,matlab.syntax=TRUE)
out
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.