Join_matched_cb: This function combine $matched crossbasis$.

Description Usage Arguments Value

Description

This function combine $matched crossbasis$.

Usage

1
2
3
Join_matched_cb(root = "~/Documents/NMMAPS/", citylist, criterion,
  collapseAge = TRUE, age_cat = NULL, control_ratio = 10, lag_1 = -2,
  lag_2 = 7, arglag = list(fun = "integer"))

Arguments

root

The local path where the NMMAPS data is located.

criterion

A character string which could be "rain50", "wind18", etc.

collapseAge

Logic value specifying whether to aggregate records based on age group.

age_cat

A character string giving the selected age categories.

control_ratio

A integer vector giving the number of control days for one storm day.

lag_1

A integer vector giving number of lagged days before a certain storm day.

lag_2

A integer vector giving number of lagged days after a certain storm day.

arglag

lists of arguments to be passed to the function onebasis for generating the two basis matrices for predictor and lags, respectively. See Details below.

Value

This function returns matched crossbasis for a given citylist.


my1120/Hurricane documentation built on May 23, 2019, 11:58 a.m.