search for: data_vari

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

Did you mean: data_valid
2008 Aug 07
3
Create new dataframes with dames from dataset...
...ncluding) B One 42 I've so far has been able to store each data as an indexed eps picture. I put a summary of my code below, and as 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 clea...
2012 Oct 17
2
loop of quartile groups
Greetings R users, My goal is to generate quartile groups of each variable in my data set. I would like each experiment to have its designated group added as a subsequent column. I can accomplish this individually with the following code: brks <- with(data_variables, cut2(var2, g=4)) #I don't want the actual numbers, I need a numbered group data$test1=factor(brks, labels=1:4) However, I cannot get a loop to work nor can I get a loop to add the columns with an appropriate name (ex. quartile_variable). I have tried multiple different...