search for: removeduplicates

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

Did you mean: remove_duplicates
2001 Dec 31
1
Maximum recursion depth and unique()
...the value be modified? Second, I've hacked out a function to take a matrix (array) of data and return another that is the same except it removes any duplicate columns. After doing this I discovered the unique() function and I tried to use it via apply() to do the same thing my function "removeduplicates" did. The closest I came to something that worked was "apply(t, 1, unique)" and taking the transpose of this result (t is an 2D array). This didn't make sense at first; then I realized that the duplication I was looking for was a "row by row" duplication. I don'...
2013 Jan 15
2
error in for loop in function (object not found)
Hi all, I have attached the function file (revisedfunction) and the list of station IDs (StationIDs) in .pdf format. I have written a function to perform various operations on the station IDs in two groups. The first 6 station IDs require one less step than the remaining 68 station IDs. The file referenced at the beginning of the function is the file containing the StationIDs. > file =