Description Usage Arguments Value Author(s) See Also Examples
This is a simple function to remove a tile (with the filename tileFilename
) from the tile library (passed as the argument libForMosaic
).
1 | removeTile(tileFilename, libForMosaic)
|
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. |
It returns the tile library libForMosaic, with the requested tile removed.
Alberto Krone-Martins
1 2 3 4 5 6 7 8 9 | # 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.