# calculation of water balance
wb <- watbal(t = rnorm(12, 18, 6), p = rnorm(12, 50, 30), lat = 35, CC = 400)
# calculation of bioclimatic balance
bb <- biobal(wb, 400)
# bioclimatic classification at TBR levels
biotype(bb = bb, mode = 'TBR')
# bioclimatic classification at zonal levels
biotype(bb = bb, mode = 'zonal')
# bioclimatic classification at subtypes levels (requires water balance)
wb <- watbal(t = rnorm(12, 18, 6), p = rnorm(12, 50, 30), lat = 35, CC = 400)
biotype(wb = wb, CC = 400, mode = 'sub')
Run the code above in your browser using DataLab