search for: coolidgeload

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

2010 May 05
1
melt, remove rows with common id if NA encountered in value
...After melting a data.frame I get some 18,000+ rows (some rows below). I want to filter/remove all rows that have an "SP" & "variable" value in common with a row containing "NA" in the value column. So in the example rows below, all rows with SP=425 & variable=CoolidgeLoad would be removed because NA was encountered in at least one of the rows (in this case 2 of the rows). Continuing the example, rows with SP=426 & variable="CoolidgeLoad" would be retained since "NA" doesn't appear in the value column of any row containing both of these...
2010 May 06
1
Polygon Shading Based on Relative Line Position
...cally the brownian motion plot, but the shading is constant regardless of which line is greater than/above the other. Due to the 20 or so times the lines cross each other I wasn't sure how to modify the last example in ?plot DS.Load.filtered<-read.table(textConnection("SP JMLoad CoolidgeLoad 10 6287371153.3 5383351151 11 5016438684.4 5149840395 12 4020238617.8 4097757349 18 1681570096.3 2330476184 19 2011084698.2 1568941725 21 1145032462.8 959165782 22 1063307043.8 645435740 24 925120077.1 667723509 25 587189249.9 707324096 26 541535137.0 639181098 27 42148...