Description Usage Arguments Details Value Examples
Create an file-backed 'ff' object from a raster, or a raster-enabled file.
1 2 3 4 5 6 7 |
x |
raster or raster-able file |
readonly |
open in read-only mode (TRUE by default) |
filename |
path to file to create |
... |
arguments to methods |
When the object is created from a filename, ‘raster::brick' is used. The ’dim'ension for raster and for ff in this context always keeps degenerate singletons. Please get in touch if this causes you problems.
'ff' object
1 2 3 4 5 | f <- system.file("extdata", "raster", "sst.grd", package = "tidyff")
ff_object(raster::brick(f))
if (interactive()) {
arr <- ff_object(f, filename = "afile.grd")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.