search for: stpte8

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

Did you mean: state8
2012 Mar 21
0
runif error - maximum limit?
Dear all, I am receiving the error below, I think because my n is exceeding the allowable limit for a vector. Can anyone confirm, and help with the following questions? The function and error: > stPte8 <- rtrunc(rnorm, nx * ny * nsimu, linf=0, mean=as.vector(PTmn), > sd=as.vector(PTsd)) Error in runif(n, min = pinf, max = psup) : invalid arguments My total n is calculated by: nx=4053, ny=4848, nsimu=1000, n = nx*ny*nsimu = 19,648,994,000 I believe the maximum size of a vector is 2^31-1 (2...