Description Usage Arguments Value
Convert data.frame to global 0.5 deg raster
1 2 | df_to_raster(df, col_value = "value", tif = NULL,
col_cellid = "cellid", cols_lonlat = NULL)
|
df |
data frame containing col_cellid OR cols_lonlat and value column |
col_value |
column of value to convert to raster |
tif |
optional output tif to write |
col_cellid |
column of col_cellid in data frame, default "cellid", NULL if using cols_lonlat |
cols_lonlat |
columns of cols_lonlat in data frame, eg 'c("CenterLat","CenterLong")' |
raster of given value in data.frame by location given for half-degree global raster
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.