search for: p_val

Displaying 3 results from an estimated 3 matches for "p_val".

Did you mean: _val
2010 May 16
1
problems with generation of quantiles under For ()
Dear, I want to make an application to calculate quantile within a For() I tried the following without success: ej. date p_val <- matrix(sample(10, 1000, replace=TRUE), 200,5) test 1 rr <- paste("p_val$",names(p_val[1]), sep="") quant <- quantile(rr, probs = c(0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100)/100, na.rm=FALSE, type=1) test 2 rr <- noquote(paste("p_val$",names(p_val[1...
2009 Mar 01
1
Combining 2 arrays into a third array via a function
I'm completely stumped and seem to be going around for 2 days in the wrong circles. Here's what I have in 2 dataframes: > dim(params.data); head(params.data, n=2) [1] 284 6 item a1 a2 b1 b2 c 1 1 0.6671587 0.9588642 -3.5 -3.437961 0.2 2 2 1.1296298 1.4899307 -3.5 -4.146118 0.2 > dim(examinees.data); head(examinees.data, n=2) [1] 1600 3 examinee
2008 Aug 14
3
tryCatch question
I would like to use the 'tryCatch' function but am having a hard time getting my head around it. In 'C' like languages try/catch/finally means try a block of statements and if any throw an error then do the statements in the catch block and then error or not always do the staements in the finally block. In 'R' as best as I can tell the block of staements in the try block is