knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

RCTC

DOI GitHub license GitHub release Report Issues! Open Source? Yes!

The package was developed for Rotated Combination of Two-Component (RCTC) Ground Motions calculation. Please refer to the PEER report for some detail.

Installation

  1. Make sure "Rcpp" and "pracma" are installed as they are dependencies. Otherwise, you can run the following command to install them.
install.packages(c('Rcpp', 'pracma'))
  1. For Mac users, you may need to download Xcode for command line tools or (by running the following command in Terminal):
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):

  1. Install utility pacakge "devtools":
install.packages("devtools")
  1. Lastly, install "RCTC" pacakge:
library(devtools)
install_github('wltcwpf/RCTC')

Citations

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

Usage

Please check out wiki for more detailed instructions!

Issues

Please report any running issues or leave your comments on the Issues page!



wltcwpf/RCTC documentation built on March 5, 2023, 11:01 p.m.