Displaying 20 results from an estimated 48 matches for "99l".
Did you mean:
99
2013 Nov 01
1
Package(s) for making waffle plot-like figures?
...ot;, "C", "D", "E",
"G", "H", "I", "K", "L", "M", "N", "P", "Q", "R", "S", "T", "V",
"Y"), class = "factor"), ratio = c(99L, 100L, 100L, 1L, 99L,
100L, 100L, 1L, 98L, 100L, 10L, 87L, 3L, 79L, 9L, 12L, 84L, 99L,
1L, 83L, 13L, 100L, 100L, 100L, 100L, 99L, 100L, 100L, 100L,
98L, 2L, 100L, 100L, 100L, 2L, 98L, 100L, 100L, 1L, 99L, 100L,
100L, 98L, 100L, 95L, 5L, 98L, 2L, 3L, 95L, 1L, 1L, 98L)), .Names =
c("position&quo...
2011 Nov 10
2
plotting a function with given formula in ggplot2
Hi All,
I have a scatter plot produced using ggplot2 and I want to add the
regression line to this scatter plot. I suppose I can use
geom_smooth() to do this, but for the sake of learning ( I am new both
to R and ggplot2), I want to try and add it as a function (something
that curve() does in the standard R plotting). I did some search and
found that stat_function() can be used for this. But
2012 Mar 07
1
Can a matrix with several rows and columns ...
be sorted by row in ascending/descending order?
Given this matrix:
57 91 31 61 16
84 3 99 85 47
21 6 57 91 31
61 16 84 3 99
I want to end with this:
21 6 57 91 31
57 91 31 61 16
61 16 84 3 99
84 3 99 85 47
The 'order' of the sort is: 3 1 4 2
Also, what R expression will give me the 'order'?
Thanks.
[[alternative HTML version deleted]]
2011 Jul 01
2
Initiating in BNArray
...39L, 40L, 41L, 42L,
43L, 44L, 45L, 46L, 47L, 48L, 49L, 50L, 51L, 52L, 53L, 54L, 55L,
56L, 57L, 58L, 59L, 60L, 61L, 62L, 63L, 64L, 65L, 66L, 67L, 68L,
69L, 70L, 71L, 72L, 73L, 74L, 75L, 76L, 77L, 78L, 79L, 80L, 81L,
82L, 83L, 84L, 85L, 86L, 87L, 88L, 89L, 90L, 91L, 92L, 93L, 94L,
95L, 96L, 97L, 98L, 99L, 100L, 101L, 102L, 103L, 104L, 105L,
106L, 107L, 108L, 109L, 110L, 111L, 112L, 113L, 114L, 115L, 116L,
......
......
.....
V2 = structure(c(278L, 23L, 11L, 169L, 14L, 86L, 94L, 51L,
37L, 43L, 22L, 169L, 49L, 120L, 18L, 60L, 42L, 41L, 38L,
64L, 38L, 32L, 140L, 146L, 106L, 26L, 46L, 65L, 17...
2012 Sep 11
1
Animation Problem
...trying to build an animation and facing problem as animation is not
coming "live".
The goal is to build "heart beats" like diagram for the data given below.
data :
structure(list(date = 1971:1991, x = c(41L, 60L, 41L, 61L, 22L,
83L, 31L, 55L, 22L, 14L, 38L, 6L, 29L, 17L, 10L, 99L, 88L, 32L,
68L, 78L, 26L)), .Names = c("date", "x"), class = "data.frame",
row.names = c(NA,
-21L))
Program :
> library(animation)> library(ggplot2)
> anim <- function(a){for (i in seq(1,21))
{pl <-
ggplot(a1111,aes(x=date,y=x))+geom_line()+scale_x_co...
2012 Jul 19
1
Truncating (rounding down) to nearest half hour.
...0134180,
1210142640, 1210156080, 1210164180, 1210176840, 1210183740), class =
c("POSIXct",
"POSIXt"), tzone = ""), Score = c(80L, 11L, 81L, 152L, 130L,
122L, 142L, 20L, 1L, 31L, 93L, 136L, 128L, 112L, 48L, 57L, 92L,
108L, 100L, 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)), .Names = c("Date",
"Score"), row.names = c(NA, 50L), class = "data.frame")
I'm trying to round the time down to the nearest half hour,...
2008 Sep 26
2
Date Time conversion
...?
chron(as.character(f), format=c(dates="%m/%d/%y", times="%h:%m"))
f <- structure(c(51L, 60L, 66L, 87L, 90L, 115L, 23L, 35L, 37L, 6L,
12L, 55L, 84L, 96L, 109L, 17L, 29L, 41L, 3L, 74L, 94L, 102L,
30L, 8L, 46L, 69L, 107L, 15L, 25L, 39L, 1L, 71L, 95L, 19L, 56L,
62L, 76L, 85L, 99L, 111L, 42L, 4L, 52L, 61L, 67L, 91L, 13L, 24L,
36L, 38L, 7L, 81L, 82L, 57L, 64L, 100L, 113L, 21L, 33L, 44L,
78L, 54L, 73L, 83L, 108L, 16L, 28L, 2L, 58L, 65L, 86L, 101L,
32L, 43L, 77L, 93L, 104L, 10L, 48L, 53L, 97L, 110L, 18L, 27L,
75L, 92L, 103L, 31L, 9L, 47L, 70L, 72L, 106L, 14L, 26L, 40L,
79L, 98L...
2011 Jul 07
2
How do I overlay two trellis plots of lme fitted lines produced by plot.augPred?
...tno", "age", "y"), row.names = c(1L, 3L, 4L,
5L, 6L, 7L, 8L, 9L, 10L, 11L, 25L, 26L, 27L, 28L, 29L, 30L, 31L,
32L, 44L, 45L, 46L, 47L, 48L, 49L, 50L, 51L, 52L, 53L, 77L, 78L,
79L, 80L, 81L, 82L, 83L, 84L, 85L, 86L, 87L, 88L, 89L, 90L, 91L,
92L, 93L, 94L, 95L, 96L, 97L, 98L, 99L, 100L, 101L, 102L, 103L,
104L, 105L, 106L, 107L, 108L, 109L), class = "data.frame")
library(nlme)
grpdat = groupedData(y ~ age | ptno,
data = tmpdat,
FUN = mean,
labels = list(x="Age", y="Y"))...
2012 Jul 17
1
Script help: Determining Time Difference between two data points.
...0650240, 1210663560, 1210677660, 1210686960, 1210695240,
1210705380), class = c("POSIXct", "POSIXt"), tzone = ""), Score = c(80L,
11L, 81L, 152L, 130L, 122L, 142L, 20L, 1L, 31L, 93L, 136L, 128L,
112L, 48L, 57L, 92L, 108L, 100L, 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,...
2013 Feb 27
2
matrix multiplication
..., 55L, 153L,?
137L, 290L, 93L, 40L, 110L, 167L, 315L, 266L, 317L, 314L, 264L,?
277L, 488L, 28L, 354L, 303L, 490L, 192L, 432L, 228L, 222L, 418L,?
323L, 244L, 239L, 193L, 120L, 116L, 148L, 57L, 246L, 300L, 143L,?
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,?
495...
2012 Nov 14
2
aggrete data from combination
...76L, 76L, 76L, 76L, 78L, 78L, 78L, 79L, 79L,
80L, 80L, 81L, 81L, 81L, 81L, 82L, 82L, 82L, 83L, 83L, 83L, 84L,
85L, 85L, 85L, 87L, 87L, 87L, 87L, 87L, 87L, 88L, 88L, 88L, 88L,
89L, 89L, 90L, 91L, 91L, 91L, 91L, 91L, 92L, 93L, 93L, 94L, 95L,
95L, 95L, 95L, 96L, 96L, 96L, 97L, 97L, 98L, 98L, 98L, 98L, 99L,
100L, 100L, 100L, 100L, 100L), d = c(15, 27.5, 10.5, 12.25, 14,
32.5, 80, 49.5, 15.25, 13.5, 12.25, 12, 72.5, 68.5, 12, 9.25,
12.75, 13.5, 28, 38, 10.25, 62.5, 73.5, 61.5, 54.5, 40, 24.25,
43, 13, 20.75, 23.25, 25.5, 7.25, 11.25, 60.5, 11.25, 8, 11,
93.25, 8.75, 10.5, 35, 19, 79, 60.5, 64.5, 53.75...
2012 May 03
2
Help with readBin
I'm trying to read a binary file created by a fortran code using readBin
and readChar. Everything reads fine (integers and strings) except for
double precision numbers, they are read as huge or very small number
(1E-250,...). I tried various endianness, swap, But nothing has worked so
far.
I also tried on R 64 bit for linux and windows (R 2.14) and R 2.11 on
windows XP 32 bit.
Any help would
2008 Dec 09
2
Need help optimizing/vectorizing nested loops
...L,
833L, 931L, 816L, 1126L, 1232L, 1067L, 1169L, 1270L, 1277L, 1145L,
1159L, 1072L, 1534L, 997L, 391L, 1328L, 1414L, 1037L, 444L, 1L), V11
= c(1468L, 1329L, 1013L, 603L, 1096L, 1237L, 1488L, 1189L, 1064L,
1303L, 1258L, 1479L, 1421L, 1365L, 1101L, 1415L, 1145L, 1329L,
1325L, 236L, 1379L, 1199L, 729L, 328L, 0L), V12 = c(983L, 1459L,
791L, 898L, 911L, 1215L, 1528L, 960L, 1172L, 1286L, 1358L, 722L,
857L, 1478L, 1452L, 1502L, 1013L, 745L, 455L, 149L, 1686L, 917L,
1013L, 84L, 0L), V13 = c(1326L, 1336L, 1110L, 1737L, 1062L, 1578L,
1382L, 1537L, 1366L, 1308L, 1301L, 1357L, 746L, 622L, 9...
2010 Apr 19
1
What is mclust up to? Different clusters found if x and y interchanged
...0.9, 2, -0.8, 5.8, 0.6, 1, 0.9, 4.4, 2.3, -0.1), dD = c(-66L,
-81L, -81L, -71L, -68L, -79L, -73L, -77L, -74L, -71L, -73L, -80L,
-76L, -80L, -74L, -77L, -74L, -77L, -74L, -82L, -79L, -72L, -74L,
-71L, -76L, -72L, -76L, -73L, -75L, -78L, -81L, -77L, -77L, -73L,
-79L, -104L, -98L, -98L, -109L, -106L, -99L, -107L, -100L, -98L,
-95L, -95L, -95L, -97L, -98L, -121L, -119L, -118L, -121L, -121L,
-106L, -116L, -122L, -112L, -125L, -109L, -114L, -118L, -102L,
-109L, -101L, -101L, -74L, -78L, -63L, -67L, -75L, -65L, -60L,
-62L, -67L, -59L, -62L, -68L, -61L, -58L, -69L, -57L, -59L, -67L,
-73L, -81L, -90L, -87...
2011 Feb 02
0
Finding the dominant factor in an unbalanced group
...ot;CBP06095", "CBP06098", "CBP06100", "CBP06112", "CBP06118", "CBP06127",
"CBP06158", "CBP06163", "CBP06166"), 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.name...
2011 Jan 19
1
Using subset to filter data table
...quot;), row.names = c(1L,
2L, 4L, 5L, 6L, 7L, 8L, 12L, 14L, 16L, 17L, 20L, 21L, 23L, 24L,
26L, 27L, 28L, 30L, 31L, 35L, 36L, 37L, 38L, 40L, 41L, 42L, 43L,
44L, 45L, 46L, 47L, 48L, 55L, 56L, 58L, 59L, 61L, 62L, 65L, 66L,
67L, 69L, 71L, 72L, 76L, 78L, 79L, 80L, 88L, 92L, 93L, 94L, 95L,
96L, 97L, 98L, 99L, 100L, 102L, 103L, 104L, 105L, 106L, 107L,
108L, 109L, 112L), class = "data.frame")
The data (in the "structure") is removed, but the labels for all LithClass
remain.
If I then produce a boxplot or some other graphic where LithClass is
involved, blank plots are produced for the...
2012 Nov 07
8
Aggregate data frame across columns
Folks,
I have a data frame with columns 200401, 200402, ..., 201207, 201208.
These represent years/months. What would be the best way to sum these columns by year? What about by quarter?
Thanks for your time,
KW
--
[[alternative HTML version deleted]]
2009 Aug 07
1
ggplot2-ddply question
...59L, 62L, 63L,
64L, 65L, 66L, 67L, 38L, 39L, 40L, 41L, 42L, 43L, 44L, 45L, 46L,
47L, 49L, 50L, 51L, 52L, 53L, 54L, 55L, 56L, 57L, 58L, 60L, 61L,
68L, 79L, 90L, 93L, 94L, 95L, 96L, 97L, 98L, 69L, 70L, 71L, 72L,
73L, 74L, 75L, 76L, 77L, 78L, 80L, 81L, 82L, 83L, 84L, 85L, 86L,
87L, 88L, 89L, 91L, 92L, 99L, 110L, 121L, 123L, 124L, 125L, 126L,
127L, 128L, 100L, 101L, 102L, 103L, 104L, 105L, 106L, 107L, 108L,
109L, 111L, 112L, 113L, 114L, 115L, 116L, 117L, 118L, 119L, 120L,
122L, 2L, 13L, 24L, 27L, 28L, 29L, 30L, 31L, 32L, 3L, 4L, 5L,
6L, 7L, 8L, 9L, 10L, 11L, 12L, 14L, 15L, 16L, 17L, 18L, 19L,
20L, 21...
2016 Apr 22
1
Unique Ordering
...51L, 247L,
249L, 248L, 244L, 245L, 246L, 243L, 241L, 242L, 240L, 238L, 239L,
235L, 236L, 237L, 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...
2013 Apr 11
1
Dotchart per groups
...16, 16, 1, 16, 1, 16, 16, 16, 16, 16, 1, 16,
1, 16, 1, 16, 16, 16, 16, 16, 16, 16, 1, 16, 16, 16, 16, 16,
1, 16, 1, 1, 1, 16, 16, 1, 16, 1, 16, 1, 1, 1, 1, 1)), .Names = c("loc",
"f", "N", "color", "ordered", "pchloc"), row.names = c(98L, 99L,
71L, 100L, 70L, 51L, 68L, 83L, 34L, 35L, 82L, 50L, 42L, 46L,
63L, 62L, 43L, 6L, 44L, 87L, 5L, 31L, 61L, 79L, 55L, 36L, 67L,
2L, 32L, 108L, 47L, 66L, 86L, 88L, 122L, 11L, 16L, 94L, 95L,
115L, 123L, 24L, 80L, 78L, 111L, 103L, 3L, 22L, 23L, 10L, 107L,
97L, 75L, 96L, 106L, 102L, 118L, 7L, 110L, 30L, 5...