events_hazmat_calc: The function to construct the hazard matrix given event set...

events_hazmat_calcR Documentation

The function to construct the hazard matrix given event set and site list

Description

This is a function to calculate the hazard curves (annual exceedance rate curve) at all sites from a event set

Usage

events_hazmat_calc(Y_haz, EventSet, SiteTable)

Arguments

Y_haz

The target hazard. The column names and data format should be consistent with the example on this page: https://raw.githubusercontent.com/wltcwpf/Dataset/main/RPSHA/Y_Haz.csv

EventSet

The event set. The column names and data format should be consistent with the example on this page: https://raw.githubusercontent.com/wltcwpf/Dataset/main/RPSHA/EventSet.csv

SiteTable

The site list file set. The column names and data format should be consistent with the example on this page: https://raw.githubusercontent.com/wltcwpf/Dataset/main/RPSHA/SiteTable.csv

Value

A dataframe with hazard curves produced by each event in EventSet is returned. An example result can be found on this shared Google file: https://drive.google.com/file/d/1b_vxrXVSW4h0u_hzcrLif6CvQthj2ZO1/view?usp=sharing


wltcwpf/RPSHA documentation built on July 6, 2023, 1:02 a.m.