search for: 150l

Displaying 20 results from an estimated 34 matches for "150l".

Did you mean: 1500
2010 Jan 26
5
Strange tick in ggplot geom_area; and ordering, again
...ame as in the legend, and not arranged alphabetically (the factor is ordered, don't touch my order). Hadley once mentioned an undocumented aestetics "order", but I could not get it to work in the example. Dieter library(ggplot2) cf1 = structure(list(dur = c(10L, 10L, 10L, 10L, 10L, 150L, 150L, 150L, 150L, 150L), score = structure(c(3L, 1L, 4L, 5L, 2L, 3L, 1L, 4L, 5L, 2L), .Label = c("none", "weak", "moderate", "severe", "verysevere"), class = c("ordered", "factor")), p = c(0.04, 0.02, 0.26, 0.6, 0.07, 0.07, 0.05...
2010 Sep 06
3
Finding the two most recent dates
...nd_1"), date_1st_event = structure(c(14784, 14784, 14784, 14784, 14784, 14784, 14784, 14784, 14784, 14784 ), class = "Date"), bp_date = structure(c(12660, 14571, 13392, 13080, 12012, 13080, 13894, 14622, 12654, 13894), class = "Date"), SBP = c(135L, 160L, 135L, 153L, 150L, 153L, 151L, 126L, 150L, 151L), DBP = c(85L, 80L, NA, 79L, 82L, 79L, 76L, 60L, 82L, 91L)), .Names = c("prochi", "date_1st_event", "bp_date", "SBP", "DBP"), row.names = 108:117, class = "data.frame") It consists of repeated meas...
2010 May 11
1
merge two data frames
...quot;SOYBEAN OIL", "SOYBEANS ", "SPCL HIGH GRADE ZINC USD", "STANDARD LEAD USD", "SUGAR WHITE", "WHEAT"), class = "factor"), VALUE = c(500L, 10000L, 420L, 420L, 100L, 5000L, 100L, 50L, 250L, 25L, 25L, 6L, 25L, 10L, 375L, 10L, 500L, 150L, 1120L, 50L, 50L, 50L, 100L, 600L, 50L, 500L, 400L, 400L, 110L)), .Names = c("SHORTDESCRIPTION", "VALUE"), class = "data.frame", row.names = c(NA, -29L)) I want to merge these df: > y=merge(value,allcon,by.x="SHORTDESCRIPTION",all=T) Here is the resul...
2017 Jun 30
0
Multiple "scale_color_manual" statements in one plot (ggplot2, flexible legend challenge)
...ale_color_manual statement in one ggplot. Jun Shen ####sample data######### df1 <- structure(list(Y2 = c(0L, 0L, 0L, 0L, 1L, 0L, 0L, 1L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 1L, 1L, 1L, 0L, 0L, 0L, 0L), X = c(27L, 8L, 33L, 53L, 100L, 52L, 9L, 60L, 50L, 10L, 3L, 30L, 50L, 15L, 90L, 48L, 110L, 75L, 72L, 150L, 47L, 30L), GRP = structure(c(3L, 1L, 3L, 4L, 4L, 4L, 1L, 3L, 3L, 1L, 2L, 2L, 2L, 3L, 4L, 4L, 4L, 4L, 4L, 4L, 2L, 4L), .Label = c("1", "2", "3", "4"), class = "factor")), .Names = c("Y2", "X", "GRP"), row.names = c(NA,...
2012 Oct 17
3
aggregate function not working?
...162L, 185L, 180L, 459L, 35854L, 3270L, 162L, 259L, 120L, 9130L, 2120L, 111L, 222L, 595L, 888L, 222L, 189L, 210L, 1740L, 630L, 520L, 120L, 9673L, 160L, 648L, 280L, 378L, 240L, 40L, 444L, 407L, 210L, 185L, 180L, 148L, 110L, 486L, 148L, 756L, 100L, 2750L, 40L, 720L, 1440L, 185L, 259L, 240L, 259L, 150L, 37L, 481L, 222L, 90L, 111L, 5598L, 222L, 222L, 222L, 222L, 322L, 112L, 222L, 690L, 180L, 222L, 12L, 18L, 22L, 12L, 22L, 6L, 30L, 62L, 20L, 30L, 12L, 185L, 10L, 185L, 10L), bandNum = list(0L, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3...
2015 Oct 20
2
Crear variable con condiciones
...quot;), row.names = c(NA, 12L), class = "data.frame") datain ## salida dataout <- structure(list(REF = c(999L, 999L, 999L, 1099L, 731L, 731L, 731L, 731L, 1442L, 1442L, 1442L, 1442L), TIMEREF = c(120L, 240L, 360L, 30L, 30L, 60L, 90L, 120L, 30L, 60L, 90L, 120L), TOENDREF = c(390L, 270L, 150L, 120L, 90L, 30L, 420L, 300L, 270L, 210L, 120L, 0L), NEWREF = c(999L, 999L, 999L, 999L, 999L, 999L, 731L, 731L, 731L, 731L, 731L, 731L)), .Names = c("REF", "TIMEREF", "TOENDREF", "NEWREF"), row.names = c(NA, 12L), class = "data.frame") dataou...
2012 Jul 17
1
Script help: Determining Time Difference between two data points.
...0L, 107L, 81L, 37L, 47L, 70L, 114L, 125L, 99L, 46L, 108L, 106L, 111L, 75L, 75L, 136L, 36L, 13L, 35L, 71L, 105L, 113L, 116L, 116L, 94L, 130L, 102L, 19L, 1L, 33L, 78L, 89L, 115L, 130L, 117L, 105L, 0L, 36L, 80L, 130L, 124L, 124L, 66L, 75L, 57L, 94L, 124L, 165L, 170L, 158L, 127L, 116L, 107L, 118L, 150L, 96L, 101L, 59L, 38L, 46L, 77L, 83L, 54L, 61L, 60L, 55L, 110L, 127L, 129L, 87L, 61L, 70L, 85L, 110L, 131L, 151L, 123L, 50L, 77L, 100L, 135L, 151L)), .Names = c("Date", "Score" ), row.names = c(NA, 100L), class = "data.frame") I am trying to write code that will chec...
2015 Oct 21
3
Crear variable con condiciones
...n > > > > ## salida > > dataout <- structure(list(REF = c(999L, 999L, 999L, 1099L, 731L, 731L, > > 731L, > > 731L, 1442L, 1442L, 1442L, 1442L), TIMEREF = c(120L, 240L, 360L, > > 30L, 30L, 60L, 90L, 120L, 30L, 60L, 90L, 120L), TOENDREF = c(390L, > > 270L, 150L, 120L, 90L, 30L, 420L, 300L, 270L, 210L, 120L, 0L), > > NEWREF = c(999L, 999L, 999L, 999L, 999L, 999L, 731L, 731L, > > 731L, 731L, 731L, 731L)), .Names = c("REF", "TIMEREF", "TOENDREF", > > "NEWREF"), row.names = c(NA, 12L), class =...
2013 Feb 27
2
matrix multiplication
...43L,? 208L, 400L, 78L, 273L, 411L, 401L, 476L, 262L, 159L, 195L, 102L,? 75L, 136L, 402L, 32L, 199L, 286L, 477L, 54L, 429L, 80L, 316L,? 30L, 333L, 387L, 452L, 324L, 456L, 39L, 138L, 113L, 448L, 377L,? 122L, 441L, 396L, 454L, 497L, 161L, 21L, 117L, 413L, 94L, 459L,? 156L, 365L, 322L, 397L, 88L, 207L, 150L, 209L, 184L, 378L, 217L,? 176L, 52L, 374L, 189L, 97L, 340L, 357L, 157L, 220L, 74L, 356L,? 495L, 453L, 26L, 499L, 364L, 267L, 331L, 245L, 258L, 242L, 381L,? 36L, 16L, 328L, 131L, 255L, 363L, 298L, 373L, 416L, 200L, 56L,? 263L, 288L, 13L, 305L, 291L, 17L, 53L, 130L, 458L, 385L, 198L,? 158L, 140L, 492...
2010 Mar 19
2
Crash of latticeExtra graph with Adobe Acro Pro/Reader/Windows/ during print only (display ok).
...5, 5, 2, 5, 13, 2, 4, 12, 2, 4, 1, 4, 0, 1, 0, 1, 0, 4, 5, 4, 5, 2, 2, 13, 3, 4, 13, 1, 12, 3, 1, 0, 2, 5, 3, 14, 4, 2, 2, 0, 0, 4, 0, 2, 12, 13, 3, 2, 1, 4, 2, 3, 1, 1, 3, 3, 0, 0, 3, 5, 3, 13, 3, 13, 3, 13, 3, 1, 1, 4, 2, 1, 4, 12, 5)), .Names = c("y", "x"), row.names = c(NA, -150L), class = "data.frame") pdf("crashedadobe.pdf") p2 = xyplot(y~x,data=d, pch=16, # required, no problem with pch=1,2,8 panel = function(...) { panel.xyplot(...) # both lines are required panel.smoother(...) # }, ) print(p2) dev.off() #R version 2.10.1...
2013 Jan 03
2
Sas by function in R
Hello, It's an alternative to use SAS by function in R? I want to plot d histograms by plot.from example bellow: Thank you! plot d 1 1 16.3 2 1 25.0 3 1 57.8 4 1 17.0 5 2 10.8 13 2 96.4 17 3 76.0 18 3 32.0 19 3 11.0 20 3 11.0 24 3 106.0 25 3 12.5 21 4 19.3 22 4 12.0 26 4 15.0 27 5 99.3 32 7 11.0 36
2011 Jul 27
2
Writing a summary file in R
Hello, I have an input file: http://r.789695.n4.nabble.com/file/n3700031/testOut.txt testOut.txt where col 1 is chromosome, column2 is start of region, column 3 is end of region, column 4 and 5 is base position, column 6 is total reads, column 7 is methylation data, and column 8 is the strand. I would like a summary output file such as:
2011 Jul 27
1
create a index.date column
..., 143, 47, 34, 121, 79, 9, 121, 85, 130, 96, 72, 40, 9, 160, 47, 6, 166, 166, 130, 88, 39)), .Names = c("id", "ftime", "rcat", "tdiff"), row.names = c(11L, 4L, 13L, 25L, 39L, 41L, 35L, 44L, 54L, 57L, 96L, 98L, 88L, 107L, 80L, 77L, 118L, 136L, 124L, 146L, 150L, 157L, 153L, 169L, 196L, 210L, 214L, 225L, 230L, 221L, 222L, 258L, 266L, 281L, 311L, 324L, 333L, 334L, 358L, 372L, 400L, 419L, 423L, 434L, 439L, 437L, 443L, 479L, 465L, 496L, 517L, 516L, 519L, 525L, 539L, 598L, 606L, 634L, 658L, 649L, 637L, 655L, 640L, 644L, 645L, 636L, 647L, 646L, 639L, 654L,...
2010 Sep 16
3
If statements for multiple arrays
Hello, I wrote this code which works fine on a single observation: x<-100 y<-200 z<-125 aa<-150 if(x<z && y>z) {aa-z} result: 25 I am trying to apply this logic where x,y,z,and aa are arrays but with very little success. I have tried using loops and whiles but I always get errors of various types. I have consulted a few manuals but with limited success. My hopeful
2011 Apr 12
0
Help required
...7653, > ? 3.319892, 8.356013, 4.484025), Rexp = c(78433.04, 14106, > ? 4670.345, 9326.914, 3519.494, 573554.6, 27154.07, 3695.473, > ? 14582.2, 13297.71)), .Names = c("Peb", "Ksub", "Sub", "Xtt", > "Rexp"), row.names = c(300L, 196L, 70L, 150L, 31L, 319L, 251L, > 40L, 200L, 191L), class = "data.frame") > > Please help. > > SADAF ZAIDI > > Department of > Aligarh Muslim University > Aligarh 202002. > > > Department of > Aligarh Muslim University > Aligarh 202002. > > -- Steve L...
2016 Apr 22
1
Unique Ordering
...200L, 196L, 197L, 198L, 195L, 193L, 194L, 190L, 192L, 191L, 189L, 187L, 188L, 184L, 185L, 186L, 183L, 181L, 182L, 178L, 180L, 179L, 175L, 177L, 176L, 172L, 174L, 173L, 171L, 169L, 170L, 166L, 168L, 167L, 163L, 165L, 164L, 162L, 160L, 161L, 159L, 157L, 158L, 156L, 154L, 155L, 153L, 151L, 152L, 148L, 150L, 149L, 147L, 145L, 146L, 142L, 143L, 144L, 139L, 140L, 141L, 138L, 137L, 136L, 135L, 133L, 134L, 132L, 130L, 131L, 127L, 129L, 128L, 126L, 124L, 125L, 121L, 122L, 123L, 120L, 118L, 119L, 117L, 115L, 116L, 112L, 114L, 113L, 109L, 110L, 111L, 106L, 108L, 107L, 105L, 103L, 104L, 102L, 100L, 101L, 99L,...
2011 Jan 31
1
how to search to value to another table
Hello, I'm a new R user. I have two different dummy tables with the variable name tb1 and tb2. tb1< v1 v2 v3 v4 "chr1" 22 23 3 "chr1" 36 37 1 "chr1" 54 55 0 "chr1" 77 78 1 "chr2" 80 81 4 "chr2" 85 86 0 "chr2" 99 100 1
2017 Dec 06
2
Odd dates generated in Forecasts
..., 165L, 179L, 193L, 207L, 221L, 235L, 249L, 263L, 277L, 291L, 305L, 319L, 333L, 347L, 361L, 375L, 389L, 403L, 417L, 431L, 445L, 459L, 473L, 487L, 501L, 515L, 529L, 543L, 557L, 571L, 585L, 599L, 613L, 627L, 641L, 655L, 669L, 683L, 697L, 711L, 725L, 9L, 23L, 37L, 51L, 65L, 79L, 93L, 107L, 122L, 136L, 150L, 164L, 178L, 192L, 206L, 220L, 234L, 248L, 262L, 276L, 290L, 304L, 318L, 332L, 346L, 360L, 374L, 388L, 402L, 416L, 430L, 444L, 458L, 472L, 486L, 500L, 514L, 528L, 542L, 556L, 570L, 584L, 598L, 612L, 626L, 640L, 654L, 668L, 682L, 696L, 710L, 724L, 7L, 21L, 35L, 49L, 63L, 77L, 91L, 105L, 119L, 133L,...
2017 Dec 06
0
Odd dates generated in Forecasts
...207L, 221L, 235L, 249L, 263L, > 277L, 291L, 305L, 319L, 333L, 347L, 361L, 375L, 389L, 403L, 417L, > 431L, 445L, 459L, 473L, 487L, 501L, 515L, 529L, 543L, 557L, 571L, > 585L, 599L, 613L, 627L, 641L, 655L, 669L, 683L, 697L, 711L, 725L, > 9L, 23L, 37L, 51L, 65L, 79L, 93L, 107L, 122L, 136L, 150L, 164L, > 178L, 192L, 206L, 220L, 234L, 248L, 262L, 276L, 290L, 304L, 318L, > 332L, 346L, 360L, 374L, 388L, 402L, 416L, 430L, 444L, 458L, 472L, > 486L, 500L, 514L, 528L, 542L, 556L, 570L, 584L, 598L, 612L, 626L, > 640L, 654L, 668L, 682L, 696L, 710L, 724L, 7L, 21L, 35L, 49L, > 63L, 77L...
2017 Dec 06
1
Odd dates generated in Forecasts
...9L, 263L, > > 277L, 291L, 305L, 319L, 333L, 347L, 361L, 375L, 389L, 403L, 417L, > > 431L, 445L, 459L, 473L, 487L, 501L, 515L, 529L, 543L, 557L, 571L, > > 585L, 599L, 613L, 627L, 641L, 655L, 669L, 683L, 697L, 711L, 725L, > > 9L, 23L, 37L, 51L, 65L, 79L, 93L, 107L, 122L, 136L, 150L, 164L, > > 178L, 192L, 206L, 220L, 234L, 248L, 262L, 276L, 290L, 304L, 318L, > > 332L, 346L, 360L, 374L, 388L, 402L, 416L, 430L, 444L, 458L, 472L, > > 486L, 500L, 514L, 528L, 542L, 556L, 570L, 584L, 598L, 612L, 626L, > > 640L, 654L, 668L, 682L, 696L, 710L, 724L, 7L, 21L, 35L...