search for: first_run_all

Displaying 1 result from an estimated 1 matches for "first_run_all".

2006 Jun 23
1
looping through a data frame
...I have a table with 17 observations for 84 lines at n=5-10 per line. So the table is ~700x17. I want to pull out the median and stdev for each line and put it in a dataframe with rowname = linename. So I have tried the following.... #read in the table input.table <- read.table(file = "First_run_all.txt", header = T) #pull out the line names line.run <- unique(input.table$Line) #pull out the column names except for Line el.names <- names(input.table[2:18]) #now I want to calculate the median for each line for each column. The code below would work for a matrix calc.frame.med <...