search for: num_cols

Displaying 6 results from an estimated 6 matches for "num_cols".

Did you mean: num_cids
2011 Aug 05
2
Which is more efficient?
...j, k. One to test the all of <i> files in a directory. One to tease out column <j> and compare it by means of t-test to column <k> in each of the files. --------------- for ( i in 1:num_files ) { temp <- read.table ( files_to_test [ i ], header=TRUE, sep="\t") num_cols <- ncol ( temp ) ## Define Columns To Compare ## for ( j in 2 : num_cols ) { for ( k in 3 : num_cols ) { ## t-test ## colA <- temp [ , j ] colB <- temp [ , k ] ttr <- t.test ( colA, colB, var.equal=TRUE) tt_pvalue [ i ] <-...
2005 Aug 25
2
Custom Application For Asterisk
...ch(res_type){ case TDS_DONE_RESULT: break; case TDS_DONEPROC_RESULT: break; case TDS_DONEINPROC_RESULT: break; case TDS_ROWFMT_RESULT: while ((res=tds_process_row_tokens(tds, &rowtype, &computeid))==TDS_SUCCEED) { for (i=0; i<tds->res_info->num_cols; i++) { value = ((tds->res_info->current_row) + (tds->res_info->columns[i]->column_offset)); memset(resulttype, 0, sizeof(resulttype)); strncpy(resulttype, (const char *) value, 3); memset(myretnumber, 0, sizeof(myretnumber)); strncpy(myretnumber,...
2008 Nov 08
0
geeglm crashes if there are no datapoints in predictor's first level (PR#13266)
...I think I've figured out why. First, here's the message I get on core dump (on linux - no message on Mac): R: ../inst/include/tnt/fmat.h:529: TNT::Vector<T> TNT::matmult(const TNT::Fortran_Matrix<T>&, const TNT::Vector<T>&) [with T = double]: Assertion `A.num_cols() == x.dim()' failed. Abort (core dumped) Second, here's the command: mygeeglm<- geeglm(outcome ~ input , data=mydata, id=mydata$group) Third, my explanation (the dataset is pasted at the very bottom) - initially, mydata$input was an ordered factor, with levels "Med", &q...
1998 Oct 19
1
dynamically loading C++
Is there a function ".C++(...)" for R, or does anybody know how to dynamically load C++ functions into R? lg at -- Adrian Trapletti, Vienna University of Economics and Business Administration, Augasse 2-6, A-1090 Vienna, Austria Phone: ++43 1 31336 4561, Fax: ++43 1 31336 708, Email: adrian.trapletti at wu-wien.ac.at
2008 Mar 05
51
[PATCH 00/50] ia64/xen take 3: ia64/xen domU paravirtualization
Hi. This patchset implements xen/ia64 domU support. Qing He and Eddie Dong also has been woring on pv_ops so that I want to discuss before going further and avoid duplicated work. I suppose that Eddie will also post his own patch. So reviewing both patches, we can reach to better pv_ops interface. - I didn't changed the ia64 intrinsic paravirtulization abi from the last post. Presumably it
2008 Mar 05
51
[PATCH 00/50] ia64/xen take 3: ia64/xen domU paravirtualization
Hi. This patchset implements xen/ia64 domU support. Qing He and Eddie Dong also has been woring on pv_ops so that I want to discuss before going further and avoid duplicated work. I suppose that Eddie will also post his own patch. So reviewing both patches, we can reach to better pv_ops interface. - I didn't changed the ia64 intrinsic paravirtulization abi from the last post. Presumably it