search for: samplefunction

Displaying 2 results from an estimated 2 matches for "samplefunction".

2010 Sep 06
0
Need help with error number of items to replace is not a multiple of replacement length
...representing a value for a unique hospital. What I would like to do is: Resample with replacement 4000 times (eventually) each sample having 2929 values, calculate a value from each sample, and then calculate a confidence interval. Right now, I'm stuck at the first part. This is what I did: samplefunction = function(x, d) { return(x[d]) } for (i in 1:2929) { b[i]=boot(ami_fy07,samplefunction, R=1000) } I'm getting an error: In b[i] =boot(ami_fy07, samplefunction, R = 1000): number of items to replace is not a multiple of replacement length. If this is not clear enough, please let me kn...
2005 Oct 16
2
[LLVMdev] Help on LLVM Instrumentation
Hi , I am using LLVM for my Post Graduate course project on Optimization. I am trying to do some insrtumentation to the bytecode.I 've been going through your Instrumentation code for the past few days in /llvm/lib/Transforms/Instrumentation folder and finally found two ways of instrumentation : 1) injecting LLVM bytecode instructions 2) calling an external C function. I am trying both and