varX: Adds unemployment rate to an array

Description Usage Arguments Value Examples

View source: R/2.1.1.estimatesigma.R

Description

Adds unemployment rate to an array

Usage

1
varX(A, i1, i2 = setdiff(1:length(dim(A)), i1))

Arguments

A

a_1 x ... x a_p

dime

an integer or a string indicating the dimention of the array that corresponds to the employed and unemployed

Value

uenames, a character string indicating the dimension names corresponding to employed,unemployed and rate( will be created)

Examples

1
2
A=array(1:(prod(2:6)),2:6);dimnames(A)<-list(s=1:2,m=1:3,y=c("1","0","_1","r"),e=1:5,i=1:6);
i1=1:3;i2=4:5;varX(A,i1,i2)

DanielBonnery/pubBonneryChengLahiri2016 documentation built on May 6, 2019, 1:35 p.m.