Displaying 20 results from an estimated 25 matches for "186l".
Did you mean:
186
2012 Jun 25
4
graph displays
Good Afternoon, I'm trying to create a graph that displays the best way the
following information.
??? For instance organized by bar graph, A, B, C
Source X1000s X600s X500s X250s X100s X50s X10s X5s X3s X1s
1 A 47 63 75 116 125 129 131 131 131 131
2 B 37 64 45 11 25 19 61 131 186 186
3 C 17 62 25 66 12 29 91 171 186
2012 Mar 23
5
How to convert factors to numbers
...t;- 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 mailing lis...
2018 May 16
1
Systemfit Question
...16L, 18L, 17L, 26L, 25L, 21L, 39L, 45L, 38L, 33L, 30L,
22L,
146L, 86L, 61L, 495L, 493L, 56L, 91L, 102L, 98L, 104L,
84L,
90L, 58L, 73L, 88L, 104L, 136L, 156L, 172L, 184L, 237L,
241L,
261L, 266L, 341L, 161L, 182L, 201L, 165L, 170L, 221L,
186L,
191L, 186L, 186L, 220L, 203L, 251L, 186L, 217L, 231L,
306L,
367L, 320L, 326L, 367L, 350L, 361L, 329L, 311L, 271L,
230L,
251L, 144L, 148L, 128L, 195L, 193L, 187L, 179L, 169L,
91L,
79L, 82L, 89L, 191L, 213L, 247L, 285L, 310L, 331L, 230L...
2008 Oct 14
1
ggplot2 plot with symbols and then add line
...02L, 61L, 61L, 119L, 148L, 185L, 202L, 215L
)), .Names = c("TSS", "GPP", "RiverMile"), class = "data.frame",
row.names = c(12L,
13L, 14L, 19L, 25L, 26L, 28L, 34L, 35L, 36L, 37L, 42L, 44L, 58L,
75L, 85L, 88L, 91L, 97L, 107L, 142L, 144L, 155L, 166L, 169L,
185L, 186L, 201L, 202L, 207L, 219L, 221L, 222L, 224L, 226L, 230L,
231L, 250L, 251L, 258L, 283L, 287L, 288L, 303L, 304L, 306L, 311L,
313L)))
library(lattice)
library(ggplot2)
z <- nls(GPP~(a/(TSS+b)), start=c(a=0.01, b=0.01), data=r)
f <- seq(-1, 29, length=100)
y <- coef(z)["a"]/(f+coef(z)...
2018 May 16
0
Systemfit
...???????????90L,
>58L, 73L, 88L, 104L, 136L, 156L, 172L, 184L, 237L, 241L,?
>
>???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????261L,
>266L, 341L, 161L, 182L, 201L, 165L, 170L, 221L, 186L,?
>
>???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????191L,
>186L, 186L, 220L, 203L, 251L, 186L, 217L, 231L, 306L,?
>
>???????????????????????????????????????????????????????????...
2018 May 15
2
Systemfit
...???????????????????????????90L, 58L, 73L, 88L, 104L, 136L, 156L, 172L, 184L, 237L, 241L,?
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????261L, 266L, 341L, 161L, 182L, 201L, 165L, 170L, 221L, 186L,?
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????191L, 186L, 186L, 220L, 203L, 251L, 186L, 217L, 231L, 306L,?
???????????????????????????????????????????????????????????????????????????????...
2013 Feb 27
2
matrix multiplication
..., 460L, 309L, 301L, 500L, 282L,?
82L, 100L, 261L, 34L, 188L, 133L, 344L, 7L, 486L, 67L, 399L,?
254L, 41L, 483L, 64L, 405L, 108L, 236L, 384L, 467L, 49L, 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, 6...
2018 May 15
0
Systemfit
... and the mailing list is picky about attachments... whatever you attached did not conform to the stringent requirements mentioned in the Posting Guide. Pasting the code right into the email is usually safest, though you DO have to post using plain text (as the Posting Guide indicates) or your code may get mangled by the automatic html format removal.
On May 15, 2018 7:04:31 AM PDT, Bert Gunter
2009 Jun 03
2
Create a time interval from a single time variable
...oid that it at all possible.
Sample of 2 subjects:
sample1 <-
structure(list(ID = c(71622L, 71622L, 71622L, 71622L, 71622L,
71622L, 71622L, 71622L, 71622L, 1436L), Age = c(0.008, 0.085,
0.123, 0.277, 0.441, 0.517, 0.594, 0.715, 0.791, 6.968), DaysEnrolled = c(0L,
28L, 42L, 98L, 158L, 186L, 214L, 258L, 286L, 0L), HAZ = c(NA_real_,
NA_real_, NA_real_, NA_real_, NA_real_, NA_real_, NA_real_, NA_real_,
NA_real_, NA_real_), WAZ = c(NA_real_, NA_real_, NA_real_, NA_real_,
NA_real_, NA_real_, NA_real_, NA_real_, NA_real_, NA_real_),
WHZ = c(NA_real_, NA_real_, NA_real_, NA_real_, NA_re...
2018 May 15
1
Systemfit
Unless there is good reason not to, always cc the list -- there are lots of
smarter folks than I on it who can help.
I may or may not have time to look at this. Hopefully someone else will.
-- Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip
2008 Dec 09
2
Need help optimizing/vectorizing nested loops
...L, 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, 642L, 632L, 775L, 455L, 801L, 697L, 1063L, 978L,
626L, 686L, 1204L, 1138L, 627L), V8 = c(300L, 163L, 65L, 145L, 377L,
257L, 690L, 655L, 420L, 288L, 346L, 461L, 1276L, 897L, 633L, 812L,
1018L, 1337L, 1295L, 1163L, 550L, 1104L, 768L, 933L, 433L), V9 =
c(...
2011 Feb 02
0
Finding the dominant factor in an unbalanced group
...quot;), class = "factor"), tl = c(302L,
211L, 347L, 223L, 178L, 230L, 243L, 278L, 391L, 252L), tr = c(99L,
134L, 171L, 210L, 158L, 252L, 89L, 247L, 258L, 168L), br = c(305L,
212L, 346L, 223L, 178L, 231L, 244L, 277L, 388L, 254L), bl = c(142L,
288L, 284L, 191L, 144L, 360L, 147L, 184L, 164L, 186L)), .Names =
c("basestudy",
"tl", "tr", "br", "bl"), row.names = c(NA, 10L), class = "data.frame")
Many thanks
--
Sandy Small
Clinical Physicist
NHS Greater Glasgow and Clyde
and
NHS Forth Valley
**************************************...
2016 Apr 22
1
Unique Ordering
...234L, 232L, 233L, 231L, 229L, 230L, 226L, 228L,
227L, 223L, 225L, 224L, 220L, 221L, 222L, 217L, 219L, 218L, 214L,
216L, 215L, 211L, 212L, 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...
2008 Oct 09
1
nls, lattice, and conversion over to ggplot
...02L, 61L, 61L, 119L, 148L, 185L, 202L, 215L
)), .Names = c("TSS", "GPP", "RiverMile"), class = "data.frame", row.names =
c(12L,
13L, 14L, 19L, 25L, 26L, 28L, 34L, 35L, 36L, 37L, 42L, 44L, 58L,
75L, 85L, 88L, 91L, 97L, 107L, 142L, 144L, 155L, 166L, 169L,
185L, 186L, 201L, 202L, 207L, 219L, 221L, 222L, 224L, 226L, 230L,
231L, 250L, 251L, 258L, 283L, 287L, 288L, 303L, 304L, 306L, 311L,
313L)))
library(lattice)
z <- nls(GPP~(a/(TSS+b)), start=c(a=0.01, b=0.01), data=r)
f <- seq(-1, 29, length=100)
y <- coef(z)["a"]/(f+coef(z)["b"])...
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
2017 Dec 06
2
Odd dates generated in Forecasts
..., 204L, 218L, 232L,
246L, 260L, 274L, 288L, 302L, 316L, 330L, 344L, 358L, 372L, 386L,
400L, 414L, 428L, 442L, 456L, 470L, 484L, 498L, 512L, 526L, 540L,
554L, 568L, 582L, 596L, 610L, 624L, 638L, 652L, 666L, 680L, 694L,
708L, 722L, 5L, 19L, 33L, 47L, 61L, 75L, 89L, 103L, 117L, 130L,
144L, 158L, 172L, 186L, 200L, 214L, 228L, 242L, 256L, 270L, 284L,
298L, 312L, 326L, 340L, 354L, 368L, 382L, 396L, 410L, 424L, 438L,
452L, 466L, 480L, 494L, 508L, 522L, 536L, 550L, 564L, 578L, 592L,
606L, 620L, 634L, 648L, 662L, 676L, 690L, 704L, 718L, 1L, 15L,
29L, 43L, 57L, 71L, 85L, 99L, 113L, 127L, 141L, 155L, 169L, 1...
2017 Dec 06
0
Odd dates generated in Forecasts
...246L, 260L, 274L, 288L, 302L, 316L, 330L, 344L, 358L, 372L, 386L,
> 400L, 414L, 428L, 442L, 456L, 470L, 484L, 498L, 512L, 526L, 540L,
> 554L, 568L, 582L, 596L, 610L, 624L, 638L, 652L, 666L, 680L, 694L,
> 708L, 722L, 5L, 19L, 33L, 47L, 61L, 75L, 89L, 103L, 117L, 130L,
> 144L, 158L, 172L, 186L, 200L, 214L, 228L, 242L, 256L, 270L, 284L,
> 298L, 312L, 326L, 340L, 354L, 368L, 382L, 396L, 410L, 424L, 438L,
> 452L, 466L, 480L, 494L, 508L, 522L, 536L, 550L, 564L, 578L, 592L,
> 606L, 620L, 634L, 648L, 662L, 676L, 690L, 704L, 718L, 1L, 15L,
> 29L, 43L, 57L, 71L, 85L, 99L, 113L, 127L,...
2017 Dec 06
1
Odd dates generated in Forecasts
...8L, 302L, 316L, 330L, 344L, 358L, 372L, 386L,
> > 400L, 414L, 428L, 442L, 456L, 470L, 484L, 498L, 512L, 526L, 540L,
> > 554L, 568L, 582L, 596L, 610L, 624L, 638L, 652L, 666L, 680L, 694L,
> > 708L, 722L, 5L, 19L, 33L, 47L, 61L, 75L, 89L, 103L, 117L, 130L,
> > 144L, 158L, 172L, 186L, 200L, 214L, 228L, 242L, 256L, 270L, 284L,
> > 298L, 312L, 326L, 340L, 354L, 368L, 382L, 396L, 410L, 424L, 438L,
> > 452L, 466L, 480L, 494L, 508L, 522L, 536L, 550L, 564L, 578L, 592L,
> > 606L, 620L, 634L, 648L, 662L, 676L, 690L, 704L, 718L, 1L, 15L,
> > 29L, 43L, 57L, 71L, 8...
2012 Sep 05
4
Summarizing data containing data/time information (as factor)
Dear R user
I want to create a table (as below) to summarize the attached data
(Test.csv, which can be read into R by using 'read.csv(Test.csv, header=F)'
), to indicate the day that there are any data available, e.g.value=1 if
there are any data available for that day, otherwise value=0.
28/04 29/04 30/04 01/05 02/05
532703 0 1 1
2013 Feb 21
3
Having trouble converting a dataframe of character vectors to factors
R Experts,
I have a dataframe made up of character vectors--these are results from survey questions. I need to convert them to factors.
I tried the following which did not work:
scs2<-sapply(scs2,as.factor)
also this didn't work:
scs2<-sapply(scs2,function(x) as.factor(x))
After doing either of above I end up with
>str(scs2)
chr [1:10, 1:10] "very important" "very