search for: datalist2

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

Did you mean: datalist
2012 Aug 03
3
Sum two Vectors of different length
Dear all, in one part of my code I want to sum two vectors element-wise the problem is that either the 1st vector or the 2nd vector always have one or two less elements example of my problem In TotalVector + (datalist2[[1]]$dataset$Results[[j]]$Results[[time]]$Sweep) :   Länge des längeren Objektes          ist kein Vielfaches der Länge des kürzeren Objektes Browse[1]> str(TotalVector)  int [1:10308] 3032 3048 3075 2978 3026 3012 2933 2987 3063 3038 ... Browse[1]> str(datalist2[[1]]$dataset$Results[[j]]$Res...
2011 Sep 10
3
Very slow using S4 classes
Hi everybody! I'm creating an object of a S4 class that has two slots: ListExamples, which is a list, and idx, which is an integer (as the code below). Then, I read a data.frame file with 10000 (ten thousands) of lines and 10 columns, do some pre-processing and, basically, I store each line as an element of a list in the slot ListExamples of the S4 object. However, many operations after this