Displaying 1 result from an estimated 1 matches for "row_vector".
2008 Aug 07
3
Create new dataframes with dames from dataset...
...you can see I'm not used to program
R, and actually it was a long time since I used C or some other software
also...
Platforms <- sort(unique(data_variable[,3])) # find all platforms sorted
length(Platforms) # no of platforms
for(j in 1: length(Platforms)){ #
row_vector <- which(data_variable[,3]==Platforms[j]) #Find the first
platform
cleaner_1 <- data_variable[row_vector,] #store it in
cleaner_1
Motor <- sort(unique(cleaner_1[,5])) # find all motors for
platform 1 sorted
for(i in 1: length(Motor)){
row_vector <- w...