search for: franziskabroell

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

2010 Jan 20
3
Deleting rows based on duplicate entries in one columns in a data matrix
Hi everybody, I would like to delete rows based on duplicate entries in column 3 in the data matrix X (size 60000 x 57). I have tried the unique(x) command as > data <- X[unique(X[,3]),] however, for some reason the command introduces a lot of NA's into the dataset. So, now I'm looking for a function that eliminates rows, if they have duplicate values in column 3. Does anyone
2010 Nov 06
4
Using changing names in loop in R
Hello everybody, I have usually solved this problem by repeating lines of codes instead of a loop, but it's such a waste of time, I thought I should really learn how to do it with loops: What I want to do: Say, I have several data files that differ only in a number, e.g. data points (or vector, or matrix...) Data_1, Data_2, Data_3,... and I want to manipulate them e.g. a simple sum of