Hi, Suppose I have a matrix with, say 12 columns. I would like to extract out column 2 ~ 8 and 11 ~ 12 then combine them together. I tried with success to extract out the columns by doing: foo <- test[,2:8] goo <- test[,11:12] However then I am having trouble combining foo and goo. Helps are appreciated! Cheers, Kevin ----------------------------------- Ko-Kang Kevin Wang Statistical Analysis Division Leader Software Developers' Klub (SDK) University of Auckland New Zealand -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hi! On 23-May-01 Ko-Kang Kevin Wang wrote:> Hi, > > Suppose I have a matrix with, say 12 columns. > > I would like to extract out column 2 ~ 8 and 11 ~ 12 then combine them > together. > > I tried with success to extract out the columns by doing: > foo <- test[,2:8] > goo <- test[,11:12] >Hmm, how about foo <- test[,c(2:8,11:12)] this gives you a matrix including columns 2-8 and 11,12. Cheers, Winfried ---------------------------------- E-Mail: Winfried Theis <theis at statistik.uni-dortmund.de> Date: 23-May-01 Time: 12:21:32 Dipl.-Math. Winfried Theis, Fachbereich Statistik, Graduiertenkolleg "Angewandte Statistik" Universität Dortmund, 44221 Dortmund Tel.: +49-231-755-5903 FAX: +49-231-755-4387 ---------------------------------- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Wed, 23 May 2001, Ko-Kang Kevin Wang wrote:> Suppose I have a matrix with, say 12 columns. > > I would like to extract out column 2 ~ 8 and 11 ~ 12 then combine them together. > > I tried with success to extract out the columns by doing: > foo <- test[,2:8] > goo <- test[,11:12] >> foogoo <- cbind(foo, goo)or:> foogoo1 <- test[,c(2:8, 11:12)]maybe? Roger -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Breiviksveien 40, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 93 93 e-mail: Roger.Bivand at nhh.no and: Department of Geography and Regional Development, University of Gdansk, al. Mar. J. Pilsudskiego 46, PL-81 378 Gdynia, Poland. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Kevin, Try something with cbind like> foo <- trash[,2:8] > goo <- trash[,11:12] > foogoo <- cbind(foo,goo) > foogooAlan On Wed, 23 May 2001 10:56:43 +0000 Ko-Kang Kevin Wang <ko-kang at xtra.co.nz> wrote:> Hi, > > Suppose I have a matrix with, say 12 columns. > > I would like to extract out column 2 ~ 8 and 11 ~ 12 then combine them together. > > I tried with success to extract out the columns by doing: > foo <- test[,2:8] > goo <- test[,11:12] > > However then I am having trouble combining foo and goo. > > Helps are appreciated! > > Cheers, > > Kevin > > ----------------------------------- > Ko-Kang Kevin Wang > Statistical Analysis Division Leader > Software Developers' Klub (SDK) > University of Auckland > New Zealand > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html > Send "info", "help", or "[un]subscribe" > (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._---------------------- Alan T. Arnholt Associate Professor Department of Mathematical Sciences Appalachian State University Boone, NC 28608 http ://www1.appstate.edu/~arnholta/ TEL: 828-262-2863 FAX: 828-265-8617 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Is there an existing function to compute Cook-Weisberg confidence curves for non-linear model parameters in R? Kari Ruohonen -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._