search for: smatrix

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

Did you mean: matrix
2010 Jul 21
0
Converting Between Character and Numeric Objects
Hello, I'm trying to convert a vector of string objects to a numeric object by initializing the variables with values. I use the function below to scan through a matrix and create mass action flux relationships: makeMassActionFluxes = function(sMatrix) { #Allocate a matrix with identical dimensions as the inputted stoichiometric matrix temp = matrix(nrow = dim(sMatrix)[1], ncol = dim(sMatrix)[2]) velocities = vector(length = dim(sMatrix)[2]) ## This series of 'for' loops scans the stoichiometrix matrix looking for negative integers....
2005 Nov 03
1
R save very huge matrices in files
I have to work with really huge matrices (about 1000*1000 or more). And I want to save those matrices in some file on my computer. I tried to do so by using the command write.tabe(SMatrix,file="C:/Programme/rw1061/SMatrix.txt",sep=" ",quote=FALSE,row.names=FALSE,col.names=FALSE) SMatrix is the matrix I want as a file. Unfortunately this does not work. Error message: Error: cannot allocate vector of size 32665 Kb In addition: Warning message: Reached total all...
2010 Jul 08
2
random sample from arrays
Hello R users, I'm trying to extract random samples from a big array I have. I have a data frame of over 40k lines and would like to produce around 50 random sample of around 200 lines each from this array. this is the matrix ID xxx_1c xxx__2c xxx__3c xxx__4c xxx__5T xxx__6T xxx__7T xxx__8T yyy_1c yyy_1c _2c 1 A_512 2.150295 2.681759 2.177138 2.142790 2.115344 2.013047