pacf_vec_to_acf {cities}R Documentation

pacf_vec_to_acf

Description

Generate correlation matrix from partial autocorrelations

Usage

pacf_vec_to_acf(pacf_vec, n_repeat)

Arguments

pacf_vec

Vector of partial autocorrelations

n_repeat

number of repeat measures (must be longer than length of pacf_vec)

Value

Correlation matrix from partial autocorrelations.

Examples

pacf_vec_to_acf(c(0.5, -0.1), 5)

[Package cities version 0.1.3 Index]