Haz_calc_sub | R Documentation |
This is a subroutine of haz_calc
function
Haz_calc_sub(df_source, source_type, period, IM, z1, Vs30, weight = 1)
df_source |
The returned dataframe by |
source_type |
The indicator of source type: 0 for flts; 1 for pts |
period |
The interest period |
IM |
IM level array |
z1 |
Basin depth (km): depth from the ground surface to the 1km/s shear-wave horizon. -999 if unknown. A numeric value. |
Vs30 |
Shear wave velocity averaged over top 30 m (in m/s). A numeric value. |
weight |
The weight that is supposed to be considered for the hazard |
A hazard matrix at the given IM levels for each event in df_sources
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.