-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
54 lines (37 loc) · 1.96 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# fastEDM <img src="man/figures/logo.png" align="right" height="200" alt="logo" />
<!-- badges: start -->
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)
[![CRAN status](https://www.r-pkg.org/badges/version/fastEDM)](https://CRAN.R-project.org/package=fastEDM)
<!-- badges: end -->
The `fastEDM` R package implements a series of _Empirical Dynamic Modeling_ tools that can be used for _causal analysis of time series_ data.
Key features of the package:
- powered by a fast multi-threaded _C++ backend_,
- able to process panel data, a.k.a. _multispatial EDM_,
- able to handle _missing data_ using new `dt` algorithms or by dropping points.
## Installation
You can install the development version of fastEDM from [GitHub](https://github.com/EDM-Developers/fastEDM-r/) with:
``` r
# install.packages("devtools")
devtools::install_github("EDM-Developers/fastEDM-r")
```
## Example: Chicago crime levels and temperature
This example, looking at the causal links between Chicago's temperature and crime rates, is described in full in our [paper](https://jinjingli.github.io/edm/edm-wp.pdf):
```{r example, file='man/chicago-easy-edm-example.R'}
```
## Stata & Python Packages
This package is an R port of our [EDM Stata package](https://edm-developers.github.io/edm-stata/).
Similarly, we are creating a [fastEDM Python package](https://edm-developers.github.io/fastEDM-python/).
As the packages share the same underlying C++ code, their behaviour will be identical.
If you plan to adjust some of the various low-level EDM parameters, check out the documentation of the Stata package for more details on their options and behaviours.