The package was developed for Rotated Combination of Two-Component (RCTC) Ground Motions calculation. Please refer to the PEER report for some detail.
- 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'))- 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):
- Install utility pacakge “devtools”:
install.packages("devtools")- Lastly, install “RCTC” pacakge:
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!