CRAN
nga 1.4-1
NGA Earthquake Ground Motion Prediction Equations
Released Oct 29, 2012 by James Kaklamanos
This package implements the earthquake ground motion prediction equations developed as part of the Next Generation Attenuation of Ground Motions (NGA) project coordinated by the Pacific Earthquake Engineering Research Center (PEER) in 2008. The models implemented in this package are AS08 (Abrahamson & Silva, 2008), BA08 (Boore & Atkinson, 2008), CB08 (Campbell & Bozorgnia, 2008), and CY08 (Chiou & Youngs, 2008). This numerical implementation has been validated by comparing the results for 128,000 test cases against the results obtained using the Fortran implementation composed by David M. Boore and Kenneth W. Campbell. Users are encouraged to view U.S. Geological Survey Open-File Report 1296, entitled "Implementation of the Next Generation Attenuation (NGA) Ground-Motion Prediction Equations in Fortran and R," by J. Kaklamanos, D. M. Boore, E. M. Thompson, and K. W. Campbell (2010) for further details on these programs. More details (including a change log) are available at
Installation
Maven
This package can be included as a dependency from a Java or Scala project by including
the following your project's pom.xml
file.
Read more
about embedding Renjin in JVM-based projects.
<dependencies> <dependency> <groupId>org.renjin.cran</groupId> <artifactId>nga</artifactId> <version>1.4-1-b247</version> </dependency> </dependencies> <repositories> <repository> <id>bedatadriven</id> <name>bedatadriven public repo</name> <url>https://nexus.bedatadriven.com/content/groups/public/</url> </repository> </repositories>
Renjin CLI
If you're using Renjin from the command line, you load this library by invoking:
library('org.renjin.cran:nga')
Test Results
This package was last tested against Renjin 0.9.2682 on Aug 23, 2018.