[R] cum sums

2014-03-09 Thread Philip A. Viton
this using "aggregate" and passing the function "cumsum," but I can't get it to work. Can someone tell me how to do this? Thanks! ---- Philip A. Viton City Planning, Ohio State University 275 West Woodruff Avenue

[R] subset of factors in a regression

2013-07-01 Thread Philip A. Viton
't involve a lot of new variables? Thanks! Philip A. Viton City Planning, Ohio State University 275 West Woodruff Avenue, Columbus OH 43210 vito...@osu.edu __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listi

[R] spdep::poly2nb problem

2011-05-07 Thread Philip A. Viton
ot longer, of course --- Florida has 2 neighbors (correctly: AL and GA). Can anyone tell me what's going wrong here? Thanks! Philip A. Viton City Planning, Ohio State University 275 West Woodruff Avenue, Columbus OH 43210 vito...@osu.edu ___

[R] makign help files by hand

2010-06-09 Thread Philip A. Viton
e opened. Can I do this from within R itself? And if so, how (in particular, what is the target file to be converted)? Thanks! -------- Philip A. Viton City Planning, Ohio State University 275 West Woodruff Avenue, Columbus OH 43210 vito...@osu.edu

[R] convenience question

2009-10-04 Thread Philip A. Viton
ere any way to do that within the function? Or maybe, to simulate the Return keystroke? Thanks! -------- Philip A. Viton City Planning, Ohio State University 275 West Woodruff Avenue, Columbus OH 43210 vito...@osu.edu __ R-help@r-

[R] customizing RGui/Rconsole

2009-08-23 Thread Philip A. Viton
Is it possible to change the behavior of RGui/RConsole under MS Windows so that, if you submit a bunch of commands from a script window, when they've finished, focus is given to the Console, and not (as now) to the script? Philip A. Viton City Planning, Ohio

[R] printing a dataframe summary to disk

2009-08-18 Thread Philip A. Viton
I'd like to write the summary of a dataframe to disk, so that it looks essentially the same as what you'd see on screen; but I can't seem to do it. Can someone tell me how? Thanks! -------- Philip A. Viton City Planning, Ohio State University 275 West

[R] R2winbugs : vectorization

2008-12-17 Thread Philip A. Viton
at the arm package (or one of the packages it loads) resets digits to 2. So the solution is to reset digits ( options("digits"=5) or whatever) after loading your packages. Thanks again! -------- Philip A. Viton City Planning, Ohio State University 275 West Woodruff Avenu

[R] R2winbugs : vectorization

2008-12-15 Thread Philip A. Viton
tor approach k<-4 # niv data2<-list(x=x,y=y,z=z,n=n,C=C,k=k) inits2<-function(){ list(a=runif(k),sigma.y=runif(1))} params2<-c("a","sigma.y") ## now the bugs call for model 2 proc.time() aasho.2<-bugs(data2,inits2,params2,"aasho2.bug",n.iter=1,debug=