search for: getrows

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

Did you mean: getrow
2007 Nov 16
2
expand.grid overflows?
>cbn<-as.matrix(expand.grid( rep( list(0:1), 50))) Error in rep.int(rep.int(seq_len(nx), rep.int(rep.fac, nx)), orep) : invalid 'times' value In addition: Warning message: In rep.int(rep.int(seq_len(nx), rep.int(rep.fac, nx)), orep) : NAs introduced by coercion But I'm only interested in cbn matrix rows where: cbn<- cbn[rowSums(cbn)==5,] Is there a way to evaluate it
2001 May 09
2
[Newbie] Row-Iterator for data.frame??
hello all, for my diploma-thesis i want to statitically analyze near-infrared-spectra. a spectrum is given by the y-values of 1038 equi-distant x-points. in nature, a spectrum is a continuous curve. for analysis, every x-point is seen as a statistical variable. now my problem: first, i read a csv-table in a data.frame called sTable via read.table. besides some meta-data there are 1038 variables
2007 Sep 16
1
programming question
Dear list, I have a vector of numbers, let's say: myvec <- c(2, 8, 24, 26, 51, 57, 58, 78, 219) My task is to reduce this vector to non-reducible numbers; small numbers can cross-out some of the larger ones, based on a function let's say called reduce() If I apply the function to the first element 2, my vector gets shorted to: > (myvec <- reduce(myvec[1])) [1] 2 24 51
2005 Aug 21
3
Data binding
Hi, Is there any interest in data binding functions? I''ve got several functions that enable you to populate tables, select lists and forms etc using js arrays and objects. It could be useful to anyone using Ajax, computed javascript or any other mechanism to read data from a server separately from the HTML. Any interest? Joe.
2007 Jan 25
0
[854] trunk/wxruby2/swig/classes: Add support for GridBagSizer
...lass="lines">@@ -0,0 +1,20 @@ </span><ins>+class wxGBSpan +{ +public: + wxGBSpan() : m_rowspan(1), m_colspan(1) {} + wxGBSpan(int rowspan, int colspan) : m_rowspan(rowspan), m_colspan(colspan) {} + + // default copy ctor and assignment operator are okay. + + int GetRowspan() const { return m_rowspan; } + int GetColspan() const { return m_colspan; } + void SetRowspan(int rowspan) { m_rowspan = rowspan; } + void SetColspan(int colspan) { m_colspan = colspan; } + + bool operator==(const wxGBSpan& o) const { return m_rowspan == o.m_rowspan && m...
2005 Aug 21
15
New inheritance
A good number of the samples I have tested are outright or subtly broken on Windows now. I''m trying to determine what the cause is. Mostly it seems related to the initialize function not being created when it should be. Case in point: ClientDC.i The caret example won''t work at all because initialize isn''t declared any longer. If you comment out the import