search for: lab_id

Displaying 3 results from an estimated 3 matches for "lab_id".

2010 Jan 11
1
Help with Order
...e=paste(round2,"C_",FileName,"_Stats.csv", sep="") if (file.exists(ReadFile)) { y = data.frame(read.csv(ReadFile, header=TRUE),rnd = round2) if (round2 == (round1 +1)) z=data.frame(merge(x,y,all=TRUE)) z=data.frame(merge(y,z,all=TRUE)) } } ordered = order(z$lab_id) results = z[ordered,] res = data.frame( lab=results[,"lab_id"],bw=results[,"ZBW"],wi=results[,"ZWI"],pf_zbw=0,pf_zwi=0,r = results[,"rnd"]) # # Establish no of samples recorded nsmpls = length(res[,c("lab")]) # Evaluate Z_scores for Between...
2010 Feb 01
1
Comparing Variables and Writing a New Column
HI, I am using Windows XP and R version 2.9.2. I have a data frame written by R similar to the following: Lab_ID Analysis_Soil Results -4MAD -2.5MAD +2.5MAD +4MAD 55003 Calcium-2008-116 900 961 1121.5 1656.5 1817 55003 Calcium-2008-117 3321 2175 2380.5 3065.5 3271 55003 Calcium-2008-118...
2010 Mar 23
0
Frozen hash problem
...ne_lab_datas def prune_lab_datas lab_datas.each do |lab_data| lab_data.destroy end raise lab_datas.to_yaml end But nothing seems to be deleted in the hash: --- - &id001 !ruby/object:LabData attributes: created_at: 2010-03-21 22:16:06 unit_id: "3" lab_id: "81" updated_at: 2010-03-21 22:16:06 id: "184" lab_desc_id: "6" value: "29" attributes_cache: {} changed_attributes: {} errors: !ruby/object:ActiveRecord::Errors base: *id001 errors: {} And if I remove the "raise",...