View source: R/functions_netCDF.R
get_nc_type | R Documentation |
netCDF
data type of an objectGuess netCDF
data type of an object
get_nc_type(x)
x |
An object |
A text string of supported netCDF
data types. Supported
types are:
"NC_INT"
, "NC_DOUBLE"
, "NC_STRING"
RNetCDF::var.def.nc()
get_nc_type("test") ## "NC_STRING"
get_nc_type(c(1L, 5L)) ## "NC_INT"
get_nc_type(1) ## "NC_DOUBLE"
## Not run: get_nc_type(TRUE) ## error
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.