knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The package was developed for Rotated Combination of Two-Component (RCTC) Ground Motions calculation. Please refer to the PEER report for some detail.
install.packages(c('Rcpp', 'pracma'))
xcode-select --install
For Windows users: you may need to download and install Rtools (and remember to add path into the system environment path when installing):
install.packages("devtools")
library(devtools) install_github('wltcwpf/RCTC')
If you use RCTC (directly or as a dependency of another package) for work resulting in an academic publication, we would appreciate if the report is cited:
Wang, P., Stewart, J. P., Bozorgina, Y., Boore, D. M., Kishida, T. (2017). “R” Package for Computation of Earthquake Ground Motion Response Spectra. Report No. 2017/09. PEER, UC Berkeley.
Wang, P. (2022). wltcwpf/RCTC: Second version (v.0.2.0). Zenodo. https://doi.org/10.5281/zenodo.5857014
Please check out wiki for more detailed instructions!
Please report any running issues or leave your comments on the Issues page!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.