Skip to content

R package for simulating and fitting the Epidemic Type Aftershock Sequence (ETAS) model with correlated magnitudes.

License

Notifications You must be signed in to change notification settings

zakvarty/corrETAS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

corrETAS

R package for simulating and fitting the Epidemic Type Aftershock Sequence (ETAS) model with correlated magnitudes.

Installation

I haven't yet set things up nicely for you to be able to download the package directly from Github using devtools.

  devtools::intall_github("zakvarty/corrETAS")

Currently to install the package you have to:

  1. download the source (this repo);
  2. open the project in RStudio;
  3. then build and install it yourself using (CMD + SHIFT + B).

Note that this will require the devtools Rpackage in addition to one of Rtools, Xcode or r-base-dev depending on your operating system. See the relevant R packages book section for more details.

Any other viable method to build and install an R package from source should also work here (e.g. R CMD build at the command line.) for detailed instructions on building and installing R packages see Karl Broman's guide or Hadley Wickham and Jenny Bryan's book.

About

R package for simulating and fitting the Epidemic Type Aftershock Sequence (ETAS) model with correlated magnitudes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published