search for: 160l

Displaying 20 results from an estimated 35 matches for "160l".

Did you mean: 160
2009 May 01
2
sequence number for 'long format'
...t(id = c(1L, 1L, 1L, 1L, 8L, 8L, 16L, 16L, 16L, 16L, 16L, 19L, 32L, 64L, 64L, 64L, 64L, 64L, 64L, 64L, 64L, 64L, 79L, 79L, 80L, 80L, 80L, 80L, 85L, 86L, 96L, 96L, 96L, 103L, 103L, 106L, 106L, 106L, 106L, 106L, 106L, 106L, 140L, 140L, 144L, 144L, 144L, 144L, 144L, 144L, 144L, 146L, 146L, 146L, 146L, 160L, 160L, 160L, 160L, 160L, 160L, 164L, 164L, 176L, 176L, 176L, 176L, 176L, 176L, 176L, 176L, 181L, 190L, 192L, 192L, 192L, 192L, 192L, 192L, 197L, 197L, 197L, 224L, 224L, 224L, 229L, 232L, 232L, 232L, 232L, 232L, 232L, 232L, 249L, 249L), age = c(6.6054794521, 9.301369863, 22.638356164, 31.961670089,...
2012 Oct 17
3
aggregate function not working?
...4.5, 24.61, 24.76, 24.85, 24.99, 25, 25.6, 25.61, 25.7, 26.09, 26.5, 26.72, 26.89, 29.5, 30.54, 40.63, 40.73, 41.74, 43.5, 44.33, 45.33, 46.05, 47.11, 47.34, 49.58, 50.71, 77, 86.68, 97, 133.6, 203.48), Size = c(664640L, 440L, 407L, 180L, 690L, 851L, 190L, 480L, 720L, 74L, 111L, 1560L, 11400L, 160L, 9333L, 55665L, 222L, 23662L, 210L, 12735L, 1757L, 63736L, 18318L, 460L, 120L, 680L, 400L, 960L, 432L, 259L, 840L, 8200L, 630L, 180L, 189L, 1490L, 27L, 8080L, 6291L, 240L, 841L, 5469L, 4035L, 12555L, 5320L, 9249L, 240L, 1149L, 40L, 660L, 333L, 4360L, 180L, 360L, 240L, 2900L, 120L, 2639L, 1221L,...
2012 Mar 23
5
How to convert factors to numbers
...ios <- read.table ("p_diarios.txt ", header =TRUE , dec=",", sep="\t") Time <- data.precios$time # 01.02.2004 - 12.05.2011 Price <- data.precios$price # Historical spot price log.Price <- log(data.precios$price) Error en Math.factor(c(12L, 126L, 213L, 342L, 160L, 186L, 219L, 37L, 54L, : log not meaningful for factors As you can see, I cannot calculate the price logarithms. Any help is appreciated. Sandro -- View this message in context: http://r.789695.n4.nabble.com/How-to-convert-factors-to-numbers-tp4498828p4498828.html Sent from the R help maili...
2009 Feb 26
1
using predict method with an offset
...a newdata argument. In the example below, the behavior is the opposite of the help page, if I am understanding it correctly, and a warning is thrown when it does seem to work as desired. c1 <- structure(list(Contr = c(0.028, 0.043, 0.064, 0.097, 0.146, 0.219 ), Correct = c(34L, 57L, 94L, 152L, 160L, 160L), Incorrect = c(126L, 103L, 66L, 8L, 0L, 0L)), .Names = c("Contr", "Correct", "Incorrect" ), row.names = c("13", "15", "17", "19", "21", "23"), class = "data.frame") q25 <- rep( qlogis( 0.2...
2010 Sep 06
3
Finding the two most recent dates
...d_1", "ind_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 consist...
2009 Feb 23
0
length 1 offset in glm
...fset ... This should be NULL or a numeric vector of length either one or equal to the number of cases. ... but with the following example, I get an error if the offset is of length 1 c1 <- structure(list(Contr = c(0.028, 0.043, 0.064, 0.097, 0.146, 0.219 + ), Correct = c(34L, 57L, 94L, 152L, 160L, 160L), Incorrect = c(126L, + 103L, 66L, 8L, 0L, 0L)), .Names = c("Contr", "Correct", "Incorrect" + ), row.names = c(NA, 6L), class = "data.frame") glm(cbind(Correct, Incorrect) ~ Contr - 1, binomial, data = c1, offset = qlogis(0.25)) Error in model.frame....
2013 Jun 30
0
Help: argument is not numeric or logical: returning NA
..."factor"), ? ? V4 = c(2L, 5L, 2L, 1L, 2L, 5L, 4L, 5L, 1L, 5L, 4L, 3L, 4L, ? ? 0L, 2L, 3L, 1L, 3L, 5L, 0L), V5 = c(1L, 0L, 1L, 0L, 1L, 1L, ? ? 0L, 0L, 0L, 0L, 0L, 0L, 0L, 1L, 0L, 1L, 0L, 1L, 0L, 1L), ? ? V6 = c(598L, 95L, 142L, 83L, 143L, 167L, 32L, 129L, 31L, ? ? 136L, 2L, 142L, 23L, 160L, 105L, 144L, 64L, 152L, 71L, 129L ? ? )), .Names = c("V1", "V2", "V3", "V4", "V5", "V6"), row.names = c(NA, 20L), class = "data.frame"), structure(list(V1 = c(0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L,...
2008 Dec 09
2
assign()ing within apply
...", "BF", "MH", "IW", "OR", "MH", "SM", "BE", "BE", "BE", "OR", "OR"), oaz = c(38L, 205L, 140L, 277L, 329L, 209L, 222L, 24L, 67L, 187L, 156L, 181L, 174L, 248L, 42L, 279L, 273L, 357L, 160L, 183L)), .Names = c("oplt", "tree", "spp", "oaz"), row.names = c(1204L, 2943L, 5790L, 1616L, 5063L, 2013L, 5691L, 8188L, 8200L, 7822L, 6302L, 54L, 1698L, 2960L, 421L, 6690L, 775L, 245L, 6205L, 4121L), class = "data.frame") # count per spp invisi...
2009 Feb 25
2
[R] length 1 offset in glm (& lm)
This post about length 1 offsets on R help seems to have been ignored (sorry deleted original email - is there a way to continue thread in this case?) https://stat.ethz.ch/pipermail/r-help/2009-February/189352.html It does seem to be a bug, in that glm does not behave as documented. In fact the same bug applies to lm as well. I don't think the suggested fix works though - Y isn't
2013 Feb 27
2
matrix multiplication
...L, 283L,? 119L, 463L, 147L, 379L, 216L, 474L, 204L, 48L, 260L, 12L, 337L,? 187L, 271L, 31L, 289L, 172L, 35L, 408L, 164L, 91L, 351L, 443L,? 436L, 469L, 186L, 472L, 297L, 50L, 425L, 224L, 3L, 221L, 11L,? 391L, 33L, 243L, 247L, 152L, 98L, 482L, 111L, 257L, 155L, 47L,? 10L, 468L, 270L, 313L, 86L, 293L, 160L, 168L, 409L, 170L, 84L,? 180L, 76L, 99L, 214L, 15L, 414L, 394L, 450L, 4L, 61L, 339L, 342L,? 1L, 470L, 210L, 37L, 345L, 115L, 141L, 302L, 178L, 445L, 6L,? 466L, 285L, 174L, 201L, 114L, 369L, 390L, 69L, 420L, 464L, 269L,? 455L, 382L, 25L, 123L, 95L, 230L, 72L, 250L, 473L, 8L, 274L,? 238L, 62L, 461L,...
2010 May 28
4
vlookup in R?
Hi R-users,   I would like to search for the values of seq that match my rand values.  In excel I will use =VLOOKUP(G2,$E$2:$F$32,2).  For example, for rand=.262 it will give me approximately seq=120 and rand=0.964293344, seq=460 and etc.   E           F     G cdf         seq   rand 0.00E+00    0     0.262123478 1.56E-03    20    0.964293344 1.55E-02    40    0.494827113 5.30E-02    60   
2008 Dec 09
2
Need help optimizing/vectorizing nested loops
...0L, 0L, 0L, 0L, 49L, 3L, 113L, 1L, 44L, 167L, 336L, 933L, 0L, 14L, 388L, 1180L, 1709L), V4 = c(0L, 0L, 0L, 0L, 0L, 0L, 3L, 12L, 0L, 0L, 2L, 1L, 36L, 45L, 208L, 7L, 221L, 213L, 371L, 1440L, 26L, 211L, 389L, 1382L, 1614L), V5 = c(96L, 7L, 0L, 0L, 0L, 10L, 17L, 0L, 5L, 0L, 0L, 11L, 151L, 127L, 160L, 27L, 388L, 439L, 1117L, 1571L, 81L, 598L, 1107L, 1402L, 891L), V6 = c(16L, 30L, 13L, 0L, 0L, 10L, 195L, 60L, 29L, 29L, 1L, 107L, 698L, 596L, 655L, 227L, 287L, 677L, 1477L, 1336L, 425L, 873L, 961L, 1360L, 1175L), V7 = c(249L, 101L, 69L, 0L, 18L, 186L, 331L, 291L, 259L, 248L, 336L, 404L, 6...
2011 Jul 27
1
create a index.date column
...mation from other df for every id six month previous the index date. Then I should normalize the ftime to a common time frame and look form patterns in that time frame. (Do not know yet how I will do it. ) ### test data #### structure(list(id = c(1L, 1L, 1L, 46L, 80L, 80L, 80L, 80L, 88L, 160L, 179L, 179L, 179L, 179L, 179L, 179L, 192L, 192L, 192L, 204L, 204L, 204L, 204L, 205L, 211L, 233L, 233L, 272L, 272L, 272L, 272L, 309L, 309L, 309L, 310L, 310L, 314L, 314L, 315L, 316L, 320L, 320L, 320L, 320L, 324L, 324L, 324L, 329L, 329L, 339L, 354L, 354L, 354L, 357L, 358L, 359L, 364L, 366L, 377L,...
2016 Apr 22
1
Unique Ordering
...213L, 210L, 208L, 209L, 207L, 205L, 206L, 202L, 204L, 203L, 201L, 199L, 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...
2018 May 16
1
Systemfit Question
...246L, 194L, 195L, 157L, 119L, 148L, 163L, 146L, 167L, 137L, 109L, 142L, 156L, 181L, 302L, 373L, 450L, 457L, 497L, 467L, 486L, 499L, 9L, 1L, 4L, 470L, 247L, 216L, 284L, 127L, 108L, 107L, 129L, 134L, 105L, 99L, 95L, 97L, 97L, 111L, 138L, 160L, 180L, 211L, 187L, 216L, 253L, 283L, 291L, 323L, 327L, 295L, 296L, 292L, 210L, 270L, 374L, 3L, 484L, 42L, 47L, 51L, 121L, 123L, 198L, 337L, 336L, 385L, 55L, 60L, 54L, 71L, 78L, 70L, 64L, 436L, 67L, 79L, 93L, 129L, 133L, 152L, 158L, 163...
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
2010 Apr 30
1
read.csv and blank character in object name of my data.frame
...9.7100", "2,479.7100", "2,479.7100", "2,479.7100", "2,479.7100", "2,479.7100")), .Names = c("DESCRIPTION", "CREATED.DATE", "QUANITY", "CLOSING.PRICE"), class = "data.frame", row.names = c(NA, -160L )) As I can't change anything on the Excel side, how can I remove these blanks on the R side?? TY for help.
2008 Jul 06
2
lattice question
...153L, 167L, 123L, 161L, 177L, 178L, 163L, 175L, 140L, 141L, 143L, 217L, 206L, 185L, 192L, 203L, 196L, 190L, 195L, 192L, 217L, 210L, 181L, 197L, 222L, 123L, 168L, 156L, 169L, 178L, 178L, 149L, 181L, 175L, 177L, 168L, 153L, 179L, 139L, 156L, 142L, 115L, 135L, 143L, 164L, 158L, 111L, 119L, 131L, 120L, 160L, 141L, 161L, 123L, 135L, 152L, 135L, 164L, 191L, 183L, 81L, 94L, 74L, 90L, 77L, 62L, 57L, 74L, 71L, 71L, 77L, 72L, 63L, 77L, 83L, 63L, 68L, 83L, 71L, 81L, 73L, 70L, 81L, 91L, 91L, 78L, 93L, 75L, 71L, 64L, 62L, 51L, 56L, 47L, 51L, 93L, 66L, 74L, 67L, 70L, 66L, 71L, 60L, 71L, 79L, 73L, 96L, 81L, 89L,...
2011 Nov 09
4
Interpreting Multiple Linear Regression Summary
I would appreciate pointers on what I should read to understand this output: summary(lm(TDS ~ Cond + Ca + Cl + Mg + Na + SO4)) Call: lm(formula = TDS ~ Cond + Ca + Cl + Mg + Na + SO4) Residuals: ALL 1 residuals are 0: no residual degrees of freedom! Coefficients: (6 not defined because of singularities) Estimate Std. Error t value Pr(>|t|) (Intercept) 125 NA
2018 May 16
0
Systemfit
...??????????????????????????????????????????????????????????127L, >108L, 107L, 129L, 134L, 105L, 99L, 95L, 97L, 97L, 111L,? > >????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????138L, >160L, 180L, 211L, 187L, 216L, 253L, 283L, 291L, 323L,? > >???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????327L, >295L, 296L, 292L, 210L, 270L, 374L, 3L, 484L, 42L,? > >??????????????...