Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ paleoTS Public

❗ This is a read-only mirror of the CRAN R package repository. paleoTS — Analyze Paleontological Time-Series

Notifications You must be signed in to change notification settings

cran/paleoTS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

paleoTS

The goal of paleoTS is to allow the user to simulate and fit time-series models commonly used to understand trait evolution in paleontology. Models include random walks, stasis, directional trends, OU, covariate-tracking, punctuations and more. Model fitting is done via maximum likelihood.

Example

This is a simple example in which a time-series is generated, plotted, and then fit with three common models in paleobiology. The generating model is a general (also called biased) random walk, with a pretty strong trend parameter. Usually, this model receives just about all of the available model support with these generating parameters.

library(paleoTS)
y <- sim.GRW(ns = 40, ms = 0.3)
plot(y)

fit3models(y)
#> 
#> Comparing 3 models [n = 40, method = Joint]
#> 
#>              logL K      AICc     dAICc Akaike.wt
#> GRW     -26.86719 3  60.40106   0.00000         1
#> URW     -37.85943 2  80.04318  19.64213         0
#> Stasis -113.33758 2 230.99949 170.59844         0

Take a look at the vignette “paleoTS_basics” for more of an introduction to this package.

Installation

paleoTS should be installed from CRAN.

About

❗ This is a read-only mirror of the CRAN R package repository. paleoTS — Analyze Paleontological Time-Series

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages