View source: R/convert_matrix.R
| convert_to_matrix | R Documentation |
This function is mainly for internal use by the
spatialwarnings package to convert objects before they are
processed by *_sews functions.
convert_to_matrix(object, ...)
object |
An object (typically, a matrix or a list of matrices) |
... |
Additional arguments (currently ignored) |
This generic function is here so that other packages can extend it.
For example, spatialwarningsGis will provide methods so that GIS objects can be handled
(e.g. RasterLayer from package raster).
# this does nothing
convert_to_matrix(serengeti[2:3])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.