search for: randid

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

Did you mean: candid
2006 Apr 29
2
Creating your own params
I want to pass my own param called randid so I can do this @rnd = params[:randid] this will work if I can pass the :randid -- Posted via http://www.ruby-forum.com/.
2006 Apr 25
4
Help needed
...t[i-minage+1,1] = sum(std = i)} > > atrisk = matrix(,nclass,nage) > wevents = matrix(,nclass,nage) > #reduce data set to frequency table > for( i in (minage : maxage)) + for( j in (mincls : maxcls)) + #atrisk1<-aggregate(dset[,c("AGEGRP","BMIGRP")],list(RANDID=dset1$RANDID,sum) + + {atrisk[j-mincls+1,i-minage+1] = + sum((dset[,1]=i)& (dset[,2]=j)) + wevents[j-mincls+1,i-minage+1]= + sum((dset[,1]=i)& (dset[,2]=j)&(dset[,3]=1))} Error: subscript out of bounds In addition: Warning messages: 1: numerical expression has 11627...