search for: rightpoint

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

Did you mean: rightpoints
2004 Aug 12
4
truly object oriented programming in R
...edIndices[split_dim][numOfPoints/2-1]; double splitValue_small = points[middlePoint][split_dim]; int left_size = numOfPoints/2; int right_size = numOfPoints - left_size; double[][] leftPoints = new double[left_size][d]; double[][] rightPoints = new double[right_size][d]; int[][] leftSortedIndices = new int[d][left_size]; int[][] rightSortedIndices = new int[d][right_size]; int left_counter = 0, right_counter = 0; int[] splitInfo = new int [numOfPoints]; for(int i = 0; i < numOfPoints; i++) {...
2008 Mar 12
0
R code for kernel density using kd-tree, looking for speed up
...################################################# #preparing for the left and right tree diff = box.upper.limit - box.lower.limit; split.dim = which.max(diff); split.mean = tree$center[split.dim] index1 = (points[split.dim,] < split.mean); leftPoints = points[,index1,drop=F]; rightPoints = points[,!index1, drop=F]; tree$left = addNode(newtree(), leftPoints); tree$right = addNode(newtree(), rightPoints); return(tree); } evaluate.element.obj = function(target.element, bw) { bw2 = bw*bw func1 = function(tree) { temp = target.elem...
2004 Aug 12
9
Giving a first good impression of R to Social Scientists
Dear all, in the coming Winter Semester, I will be a teaching assistant for a course in Survival Analysis. My job will be to do the lab sessions. The software used for these lab sessions will be R. Most of the students have a background in social sciences and the only stats package they used so far is most likely SPSS. So I assume they might be quite surprised the first time they see R