gammacapnames: Dimension Names for the Gamma Matrix

Description Usage Arguments Value Author(s) See Also Examples

View source: R/gammaMatrix-gammacapnames.R

Description

Dimension Names for the Gamma Matrix

Usage

1
gammacapnames(x, sep = ".", mean_structure = FALSE)

Arguments

x

Matrix or data frame.

sep

Character string. Separator for variable names.

mean_structure

Logical. Add names for means. If mean_structure = TRUE, the first ncol(x) elements will be names for the ncol(x) means.

Value

A vector.

Author(s)

Ivan Jacob Agaloos Pesigan

See Also

Other Gamma Matrix Functions: gammacap_adfnb(), gammacap_adf(), gammacap_gen(), gammacap_mvnadj1(), gammacap_mvnadj2(), gammacap_mvn(), gammacap_nb(), gammacap_ols_generic(), gammacap_ols_hc_generic(), gammacap_ols_hc_qcap_generic(), gammacap_ols_hc_qcap(), gammacap_ols_hc(), gammacap_ols(), gammacap()

Examples

1
2
3
4
5
x <- matrix(c(1, 0.5, 0.5, 1), nrow = 2)
colnames(x) <- rownames(x) <- c("var1", "var2")

gammacapnames(x)
gammacapnames(x, mean_structure = TRUE)

jeksterslab/gammaMatrix documentation built on Dec. 20, 2021, 10:10 p.m.