search for: namelist1

Displaying 1 result from an estimated 1 matches for "namelist1".

Did you mean: namelist
2013 Feb 02
1
Why replacement has length zero? And How can I fix it?
...identify a variable "IAP", there is always an error message as > "replacement has length zero", and I do not know how to fix it. Can anyone > help? > > Here is the code: > > library (mvtnorm) > > options(digits=2) > > # Set variable name # > namelist1 <- c("Age", "Gender", "SES", "ISS", "IQTe", "PreTe") > > # Generate Data # > Sample.Size <- 10 # Variable Sample Size # > CorMat <- matrix(c(1.0 ,0.0 ,0.0 , 0.5, 0.2, 0.5, > 0.0, 1.0 ,0.0, 0.0, 0.0, 0.0, >...