- 1. Re: About_Optimization (score: 1)
- Author: Gardar Johannesson <gardar@stat.ohio-state.edu>
- Date: Tue, 11 Feb 2003 12:38:34 -0500
- If it is all about speed, I would recommend something along the lines: x <- as.numeric(cut(y,c(-Inf,sort(z),Inf))) - 1 Maybe slower but hopefully more transparent than the other proposed solution. Ch
- /archives/html/s-news/2003-02/msg00065.html (10,364 bytes)
- 2. Re: Free student edition of S-PLUS now available (score: 1)
- Author: Gardar Johannesson <gardar@stat.ohio-state.edu>
- Date: Mon, 22 Apr 2002 22:25:11 -0400 (EDT)
- David, does this also apply to the different modules that are available with S-plus? The reason I ask is that I'm currently running 3 S-plus labs in connection with an environmental course in statist
- /archives/html/s-news/2002-04/msg00173.html (9,944 bytes)
- 3. Re: for-loop and memory (score: 1)
- Author: Gardar Johannesson <gardar@stat.ohio-state.edu>
- Date: Mon, 11 Feb 2002 12:39:12 -0500 (EST)
- It often helps to create a single function that does all the loop-job, for n.draw <- 107 lr <- 20.233 p0 <- 1/6 n.rep <- 15000 lr.res <- numeric(n.rep) get.lr <- function(p0,n.draw) { draw.i <- floor
- /archives/html/s-news/2002-02/msg00112.html (9,582 bytes)
- 4. US cencus tracts (score: 1)
- Author: Gardar Johannesson <gardar@stat.ohio-state.edu>
- Date: Wed, 6 Dec 2000 12:25:18 -0500 (EST)
- Does anybody know were I can get the polygons that define the US cencus tracts? That is; I want to create a map in S of the US with each cencus tract colored according to some variable. Thanks, Garda
- /archives/html/s-news/2000-12/msg00048.html (6,872 bytes)
- 5. Re: [S] answers to trying to avoid looping (score: 1)
- Author: Gardar Johannesson <gardar@stat.ohio-state.edu>
- Date: Sat, 16 Sep 2000 14:54:18 -0400 (EDT)
- As you have noticed, the function that I suggested does only work for symmetric matrices; here is a correction that works for all matrices: foo <- function(x) { n <- ncol(x) xc <- matrix(1:n,n,n) xr
- /archives/html/s-news/2000-09/msg00119.html (10,145 bytes)
- 6. [S] from SAS to nlme 3.1 (score: 1)
- Author: Gardar Johannesson <gardar@stat.ohio-state.edu>
- Date: Mon, 7 Feb 2000 13:28:00 -0500 (EST)
- Dear S users, I have been trying to figure out how to fit the following PROC MIXED model in SAS, class site date; model log_con=; random site date; using lme() in Splus 2000 (release 2) -- and I'm ge
- /archives/html/s-news/2000-02/msg00055.html (7,217 bytes)
- 7. [S] Summary for: from SAS to nlme 3.1 (score: 1)
- Author: Gardar Johannesson <gardar@stat.ohio-state.edu>
- Date: Tue, 8 Feb 2000 16:22:57 -0500 (EST)
- The s-news posting was: I have been trying to figure out how to fit the following PROC MIXED model in SAS, class site date; model log_con=; random site date; using lme() in Splus 2000 (release 2) --
- /archives/html/s-news/2000-02/msg00071.html (9,401 bytes)
This search system is powered by
Namazu