coef.transfer_entropy | R Documentation |
Extract the Coefficient Matrix from a transfer_entropy
## S3 method for class 'transfer_entropy' coef(object, ...)
object |
a transfer_entropy |
... |
additional arguments, currently not in use |
a Matrix containing the coefficients
set.seed(1234567890) n <- 500 x <- rep(0, n + 1) y <- rep(0, n + 1) for (i in seq(n)) { x[i + 1] <- 0.2 * x[i] + rnorm(1, 0, 2) y[i + 1] <- x[i] + rnorm(1, 0, 2) } x <- x[-1] y <- y[-1] te_result <- transfer_entropy(x, y, nboot = 100) coef(te_result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.