- 1. Re: summing algorithm (score: 1)
- Author: sbackwards@comcast.net (SD Chasalow)
- Date: Fri, 17 Feb 2006 16:19:28 +0000
- An algorithm for generating such partitions was published in JRSS C (Applied Statistics) in 1997: @Article{Garcia-Perez:1997:DIA, author = "M. A. Garcia-Perez", title = "{AS 320}: Decomposing an inte
- /archives/html/s-news/2006-02/msg00057.html (8,339 bytes)
- 2. Re: How to cbind a list to data.frame while avoid using for loop (score: 1)
- Author: sbackwards@comcast.net (SD Chasalow)
- Date: Fri, 17 Feb 2006 16:31:38 +0000
- do.call("cbind", temp) will create a matrix. The original message is unclear about whether a matrix or data.frame is desired. But if a data.frame, as.data.frame(temp) will do the trick. -Scott do.cal
- /archives/html/s-news/2006-02/msg00058.html (8,924 bytes)
- 3. Re: matrix manipulation question (score: 1)
- Author: sbackwards@comcast.net (SD Chasalow)
- Date: Wed, 20 Jul 2005 17:48:03 +0000
- You don't need the apply call either. Here's a version without it. With only 30 rows, the apply is just fine; actually a tad faster than my version. If you were doing this thing on a 10,000 x 30 matr
- /archives/html/s-news/2005-07/msg00113.html (14,419 bytes)
- 4. Re: permutation (score: 1)
- Author: .com>
- Date: Thu, 14 Apr 2005 22:07:20 +0000
- rary(resample) (s
- /archives/html/s-news/2005-04/msg00104.html (8,390 bytes)
- 5. setValidity (score: 1)
- Author: sbackwards@comcast.net
- Date: Mon, 14 Mar 2005 22:59:54 +0000
- Re: setValidity under S-PLUS 6.2 on AIX and Windows. After many years of putting it off, I finally am getting seriously into SV4 classes and methods, for a new project. So far I must confess to bein
- /archives/html/s-news/2005-03/msg00060.html (10,839 bytes)
- 6. Re: setValidity (score: 1)
- Author: sbackwards@comcast.net
- Date: Tue, 15 Mar 2005 19:12:11 +0000
- Thanks for that explanation David. While I appreciate the general point, I fear it is in this particular case not entirely accurate. First, validity checking WAS (and IS) incorporated into S-PLUS. In
- /archives/html/s-news/2005-03/msg00063.html (9,783 bytes)
- 7. Re: count occurrences (score: 1)
- Author: sbackwards@comcast.net (SD Chasalow)
- Date: Fri, 03 Aug 2007 17:35:10 +0000
- Something like this should work: Suppose dim(x) is c(11000, 2). d <- dim(x) n <- d[1] p <- d[2] du <- dim(upb) x <- x[rep(seq(length = n), rep(du[1], n)), , drop = FALSE] upb <- upb[rep(seq(length =
- /archives/html/s-news/2007-08/msg00006.html (8,592 bytes)
- 8. Re: count occurrences (score: 1)
- Author: sbackwards@comcast.net (SD Chasalow)
- Date: Mon, 06 Aug 2007 17:59:51 +0000
- I believe "adding up the rows", as you say, is exactly what you requested in your original email. I usually find it easier to solve a problem as described than to solve the problem someone meant to d
- /archives/html/s-news/2007-08/msg00012.html (18,961 bytes)
- 9. Re: Formatting dates (score: 1)
- Author: sbackwards@comcast.net (SD Chasalow)
- Date: Mon, 05 Nov 2007 19:27:38 +0000
- I use the following function for this sort of thing, in both S-Plus and R. Simple modifications would be required should you be so unwise as to desire a format other than the one that I prefer... Ch
- /archives/html/s-news/2007-11/msg00013.html (9,878 bytes)
This search system is powered by
Namazu