simsem/simsem — pull request #15 by mronkko (2014-03-04 07:20:34+00:00)
Title: Fixed an issue when distributions were not defined for sequential data g...

The function

createData <- function(paramSet, n, indDist = NULL, sequential = FALSE, facDist = NULL,
errorDist = NULL, saveLatentVar = FALSE, indLab = NULL, modelBoot = FALSE, realData = NULL, covData = NULL,
empirical = FALSE)

used to fail when sequential = TRUE and facDist = NULL. This patch checks if faddist is null and if so, use mvrnorm for data generation. The implementation is identical to what was used already when sequential = FALSE and indDist = NULL

The changes look large because of a line ending issue.