removeTile {RsimMosaic} | R Documentation |
Remove a tile from the tile library
Description
This is a simple function to remove a tile (with the filename tileFilename
) from the tile library (passed as the argument libForMosaic
).
Usage
removeTile(tileFilename, libForMosaic)
Arguments
tileFilename |
The filename of the tile to remove from the tile library. |
libForMosaic |
The library containing the data of the tiles in the parameter space from which the tile should be removed. |
Value
It returns the tile library libForMosaic, with the requested tile removed.
Author(s)
Alberto Krone-Martins
See Also
Examples
# Creates the tile library data frame from the example tiles
my2MassTiles <- createLibraryIndexDataFrame(system.file("extdata/2Massier", package="RsimMosaic"))
# Get a random filename of one of the tiles
idx <- round(runif(1, 1, length(my2MassTiles[,1])))
tileToRemove <- as.character(my2MassTiles[idx,1])
# Remove it from the library
my2MassTiles <- removeTile(tileToRemove, my2MassTiles)
[Package RsimMosaic version 1.0.3 Index]