search for: 101l

Displaying 20 results from an estimated 43 matches for "101l".

Did you mean: 101
2011 Feb 10
1
Conditional sampling
...2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 5L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L), .Label = c("Fri", "Mon", "Thu", "Tue", "Wed"), class = "factor"), SITE = c(101L, 101L, 102L, 102L, 103L, 103L, 104L, 104L, 101L, 101L, 102L, 102L, 103L, 103L, 104L, 104L, 101L, 101L, 102L, 102L, 103L, 103L, 104L, 104L, 101L, 101L, 102L, 102L, 103L, 103L, 104L, 104L, 101L, 101L, 102L, 102L, 103L, 103L, 104L, 104L), TOD = structure(c(1L, 2L, 1L, 2L, 1L, 2L, 1L,...
2008 Jul 31
2
sort rows of matrix by rows of another matrix
...] [,2] [,3] [1,] 7 6 8 [2,] 4 2 4 [3,] 4 7 2 [4,] 0 3 8 a1 <- structure(c(7, 4, 4, 0, 6, 2, 7, 3, 8, 4, 2, 8), .Dim = c(4L, 3L)) > a2 [,1] [,2] [,3] [1,] 101 102 103 [2,] 101 102 103 [3,] 101 102 103 [4,] 101 102 103 a2 <- structure(c(101L, 101L, 101L, 101L, 102L, 102L, 102L, 102L, 103L, 103L, 103L, 103L), .Dim = c(4L, 3L)) ------ I want to get a3: > a3 [,1] [,2] [,3] [1,] 102 101 103 [2,] 102 101 103 [3,] 103 101 102 [4,] 101 102 103 where the rows of a3 are the rows of a2 sorted according to the rows of a1....
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
2008 Dec 09
2
Need help optimizing/vectorizing nested loops
...2, 3, 4, 5), Y = c(1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5), V1 = c(0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 45L, 131L, 0L, 0L, 34L, 481L, 1744L), V2 = c(0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 1L, 88L, 0L, 70L, 101L, 13L, 634L, 0L, 0L, 71L, 640L, 1636L), V3 = c(0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 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,...
2010 Apr 19
1
What is mclust up to? Different clusters found if x and y interchanged
...L, -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, -87L, -82L, -80L, -80L, -81L, -83L, -90L, -89L, -107L, -122L, -128L, -113L, -124L, -93L, -89L, -92L, -85L, -79L, -84L, -83L, -148L, -142L, -127L, -130L, -123L, -131L...
2013 Mar 07
1
Error: no 'dimnames' attribute for array
Dear XpeRts, I prepared a no qoute Character string by the following command s<-noquote(paste (b1, collapse=",")) where, b1 is the vector of 24 intergers. > dput(b1) c(1L, 2L, 6L, 7L, 12L, 16L, 17L, 20L, 21L, 23L, 25L, 34L, 46L, 48L, 58L, 64L, 65L, 68L, 82L, 97L, 98L, 101L, 113L, 115L) > dput(s) structure("1,2,6,7,12,16,17,20,21,23,25,34,46,48,58,64,65,68,82,97,98,101,113,115", class = "noquote") I want to use "s" in the following command matb1<-res[,c(s))] The objective is to call those columns of matrix "res", who...
2011 Jul 01
2
Initiating in BNArray
...1L, 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, 17L, 106L,...
2008 Sep 26
2
Date Time conversion
...5L, 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, 112L, 68L, 88L, 105L, 20L, 11L, 49L, 63L, 5L, 80L, 50L, 59L, 89L, 114L, 22L, 34L, 45L), .Label = c("1/14/08 12:26", "1/15/08 15:25", "1/15/0...
2012 Jan 06
1
ggplot using scale_x_date gives Error in seq.int(r1$year, to$year, by)
...3L, 3L, 3L), .Label = c("Price", "Yield", "CDS Spread"), class = "factor"), value = c(86.777, 86.037, 86.437, 9.737, 9.542, 9.683, 580.132, 576.866, 573.564)), .Names = c("Date", "variable", "value" ), row.names = c(100L, 101L, 102L, 202L, 203L, 204L, 304L, 305L, 306L), class = "data.frame") > g Date variable value 100 2011-12-23 Price 86.8 101 2011-12-30 Price 86.0 102 2012-01-06 Price 86.4 202 2011-12-23 Yield 9.7 203 2011-12-30 Yield 9.5 204 2012-01-06 Yie...
2011 Jul 07
2
How do I overlay two trellis plots of lme fitted lines produced by plot.augPred?
..."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")) fit.lme = l...
2012 Jul 17
1
Script help: Determining Time Difference between two data points.
...1L, 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 check to see if...
2013 Feb 27
2
matrix multiplication
..., 171L, 177L, 9L, 355L,? 398L, 380L, 404L, 304L, 129L, 338L, 281L, 65L, 386L, 144L, 252L,? 77L, 352L, 20L, 96L, 403L, 296L, 268L, 489L, 63L, 424L, 496L,? 126L, 334L, 183L, 232L, 406L, 407L, 163L, 346L, 287L, 475L, 127L,? 321L, 124L, 237L, 308L, 376L, 212L, 423L, 211L, 329L, 437L, 179L,? 253L, 372L, 101L, 251L, 90L, 433L, 311L, 241L, 327L, 422L, 349L,? 493L, 442L, 38L, 449L, 410L, 370L, 421L, 325L, 451L, 240L, 71L,? 392L, 2L, 151L, 332L, 83L, 350L, 87L, 361L, 330L, 279L, 362L,? 310L, 487L, 278L, 367L, 248L, 462L, 59L, 213L, 68L, 112L, 60L,? 481L, 165L, 235L, 22L, 434L, 272L, 460L, 309L, 301L, 500L,...
2012 Sep 02
3
Loading Chess Data
All, What would be the most efficient way to load the data at the following address into a dataframe? http://ratings.fide.com/top.phtml?list=men Thanks, David -- View this message in context: http://r.789695.n4.nabble.com/Loading-Chess-Data-tp4642006.html Sent from the R help mailing list archive at Nabble.com.
2012 Feb 21
2
Dataframes in PLS package
I have been working with the pls procedure and have problems getting the procedure to work with matrix or frame data. I suspect the problem lies in my understanding of frames, but can't find anything in the documentation that will help. Here is what I have done: I read in an 10000 x 8 table of data, and assign the first four columns to matrix A and the second four to matrix B pls <-
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
...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, 21L, 22L, 23L, 25L, 26L, 33L, 34L, 35L, 36L), .Label = c(&quot...
2016 Apr 22
1
Unique Ordering
...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, 97L, 98L, 94L, 96L, 95L, 93L, 91L, 92L, 90L, 88L, 89L, 85L, 86L, 87L, 84L, 82L, 83L, 81L, 79L, 80L, 76L, 77L, 78L, 75L, 73L, 74L, 72L, 70L, 71L, 69L, 67L, 68L, 66L, 64L, 65L, 61L, 62L, 63L, 60L, 58L, 59L, 55L, 56L, 57L, 54L, 52L, 53L, 51L, 49L, 50L, 46L, 48L, 47L, 43L, 45L, 44L, 40L, 42L, 41L...
2013 Apr 11
1
Dotchart per groups
...L, 103L, 3L, 22L, 23L, 10L, 107L, 97L, 75L, 96L, 106L, 102L, 118L, 7L, 110L, 30L, 59L, 76L, 114L, 74L, 104L, 1L, 64L, 73L, 54L, 58L, 19L, 69L, 92L, 14L, 119L, 18L, 127L, 41L, 15L, 8L, 49L, 91L, 65L, 120L, 113L, 93L, 17L, 126L, 29L, 105L, 90L, 77L, 81L, 45L, 38L, 85L, 39L, 53L, 9L, 121L, 125L, 109L, 101L, 48L, 52L, 84L, 21L, 60L, 72L, 56L, 124L, 57L, 12L, 112L, 13L, 4L, 26L, 89L, 116L, 27L, 128L, 20L, 117L, 40L, 33L, 28L, 37L, 25L), class = "data.frame") I use this codes (I made them more simple for this post) # per groups (P1, S1, S8, R6) dotchart(ZZ$N, cex=.7, groups= ZZ$f, xl...
2010 Mar 16
1
simple line graphics, labels and legend
...ctor"), SILIKATG = c(0.0152, 0.0161, 0.0141, 0.0131, 0.0108, 0, 0, 0, 0, 1e-04, 0.0056, 0.0078, 0.0072, 0.0047, 0.0091, 3e-04, 5e-04, 0, 0.0013, 0.0012)), .Names = c("DIET", "SILIKATG"), row.names = c(1L, 2L, 3L, 4L, 5L, 31L, 32L, 33L, 34L, 35L, 61L, 62L, 63L, 64L, 65L, 101L, 102L, 103L, 104L, 105L), class = "data.frame") 1. The first plot I want to do is: plot(test$SILIKATG, ylim=c(0,0.02), type="l") It looks the way I want to, but my question is:* How to change the labels on the x-axis? I would like to have the groups ("G", "GG&...
2010 Nov 25
1
Help on running regression by grouping firms
Hi there, I have a huge data set with multiple firms years and other firm characteristics. I want to run a regression on the dependent variable and other explanatory variables and calculate the residual terms by grouping the firms in same year and same industry. What I want to do is to divide my obseravtion into sub sample that contains the observation with same fiscal year(FYEAR=1990) and same