muldpm | R Documentation |
The function muldpm
multiplies the value by days per month.
muldpm(x)
## S4 method for signature 'Raster'
muldpm(x)
## S4 method for signature 'data.table'
muldpm(x)
## S4 method for signature 'character'
muldpm(x)
x |
Raster* object; data.table (see details); filename (character, see details) |
'x' object with monthly data in [units/day]
If 'x' is a data.table, its columns should be named: "lon", "lat", "date", and "value"
If 'x' is a filename, it should point to a *.nc file.
Raster* object; data.table
## Not run:
tavg_brick <- raster::brick('terraclimate_tavg.nc')
pet_od <- pet(method = "od", tavg = tavg_brick)
pet_od <- muldpm(pet_od)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.