XexXen: Simulated data

Description Usage Arguments Value Author(s) Examples

View source: R/XexXen.R

Description

A function to create an array with simulated data.

Usage

1
XexXen(N, n, ind.ex, ind.en, x.ex, x.en)

Arguments

N

The number of data sets.

n

The sample size of each data set.

ind.ex

The total number of manifest variables of exogenous constructs.

ind.en

The total number of manifest variables of endogenous constructs.

x.ex

An array with N matrices of dimension n times ind.ex with the scores of manifest variables.

x.en

An array with N matrices of dimension n times ind.en with the scores of manifest variables.

Value

x

An array with N matrices of dimension n times ind.ex + ind.en with the scores of manifest variables.

Author(s)

Alba Martinez-Ruiz <[email protected]>

Examples

1
2
3
4
5
6
7
N <- 500
n <- 250
## Not run: 
x <- XexXen(N,n,intpar$ind.ex,intpar$ind.en,xex$x.ex,xen$x.en)
attributes(x)
x <- x$x
## End(Not run)

dgmb documentation built on May 29, 2017, 9:32 p.m.