Grokbase Groups R r-help August 2004

Search Discussions

465 discussions - 1,494 posts

  • Dear all, in the coming Winter Semester, I will be a teaching assistant for a course in Survival Analysis. My job will be to do the lab sessions. The software used for these lab sessions will be R ...
    Rau, RolandRau, Roland
    Aug 12, 2004 at 9:36 am
    Oct 21, 2004 at 5:13 pm
  • I am using R 1.9.1 with R Commander GUI under Windows at work, and under Linux Mandrake 10 OR at home. I am having no problems running R Commander under windows. Under Linux, though, the opening and ...
    Michael BiboMichael Bibo
    Aug 30, 2004 at 1:28 am
    Sep 6, 2004 at 3:53 am
  • Hi, have anybody positive experience how it is possible get the post output from a rpart-object in a large sweave file or is only the less nicely plot function instead of post possible??? ...
    Christian SchulzChristian Schulz
    Aug 21, 2004 at 9:04 am
    Aug 31, 2004 at 1:35 pm
  • [,1] [,2] [,3] [,4] [1,] 1 3 5 7 [2,] 2 4 6 1 2 Rows of 4 Columns. Upper-left and lower-right elements of the matrix are the same. All to this point makes good sense. However, this image shows 2 ...
    Glynn, EarlGlynn, Earl
    Aug 26, 2004 at 8:15 pm
    Aug 27, 2004 at 9:35 am
  • What's the difference between t.test(x, y) and pairwise.t.test()? Is it just that the former takes two vectors, whereas the latter takes a vector and a factor?
    Jack TannerJack Tanner
    Aug 18, 2004 at 9:12 pm
    Aug 21, 2004 at 12:39 pm
  • Hi, Is it possible to add labels to variables in R (so as to have a better description of what the variables represent)? Thanks, Neil
    Neil LeonardNeil Leonard
    Aug 25, 2004 at 4:59 am
    Aug 26, 2004 at 3:19 pm
  • Is there some fast (built-in?) way to get the OR of all the elements in a logical vector? In other words, is there some fast (built-in) version of the function vor below? Thanks. -Ben vor <- ...
    Ben WittnerBen Wittner
    Aug 5, 2004 at 4:38 pm
    Aug 5, 2004 at 9:13 pm
  • Dear R users, I have just start working with R and would need some help. If you have a matrix as: [,1] [,2] [,3] [1,] 11 24 11 [2,] 16 29 16 [3,] 2 15 2 and you want the position where you can find ...
    Jim GustafssonJim Gustafsson
    Aug 25, 2004 at 9:07 am
    Aug 27, 2004 at 1:23 pm
  • Dear Rui, been working on a similar problem), it would appear that the coding of the status column is not correct. Unless you have observed an event at each interval you should only have status=1 for ...
    Hanke, AlexHanke, Alex
    Aug 19, 2004 at 12:36 pm
    Aug 20, 2004 at 5:52 pm
  • Is there an efficient way to create a series of dummy codes from a single variable? For example, I have a variable, “grade” = {2, …, 12}. I want to create k-1 dummy codes for grade such that ...
    Doran, HaroldDoran, Harold
    Aug 1, 2004 at 7:24 pm
    Aug 18, 2004 at 8:10 am
  • I am looking for a function like my.blockwisesum(vector, n) that computes sums of disjoint subsequences of length n from vector and can work with vector lengths that are not a multiple of n. It ...
    Lutz PrecheltLutz Prechelt
    Aug 31, 2004 at 12:19 pm
    Aug 31, 2004 at 4:39 pm
  • Alternate title: How can I persuade my students that R is for them? Alternate title: Can R replace SAS, SPSS or Stata for clinicians? I am teaching introductory statistics to twelve physicians and ...
    Jacob WegelinJacob Wegelin
    Aug 19, 2004 at 6:45 am
    Aug 20, 2004 at 5:29 pm
  • Hi, Are there labeled break statements in R? i.e., something along the lines of TOPLOOP: for(i in 1:m) { for(j in 1:n) { ... if(condition) { break TOPLOOP } } } Thanks, Roger
    Roger LevyRoger Levy
    Aug 18, 2004 at 6:51 pm
    Aug 19, 2004 at 12:56 pm
  • Good morning! I recently implemented a KD tree in JAVA for faster kernel density estimation (part of the code follows). It went well. To hook it with R, however, has proved more difficult. My ...
    Jason LiaoJason Liao
    Aug 12, 2004 at 3:28 pm
    Aug 13, 2004 at 2:46 pm
  • thank you, i saw this entry. However, this entry is rather about how to include documents (in particular Sweave-based) into a package. But I have meant smth else. Let me explain in example. Today I ...
    Khamenia, ValeryKhamenia, Valery
    Aug 9, 2004 at 3:23 pm
    Nov 5, 2004 at 11:24 am
  • Hi, I'm trying to label the horizontal axis of a plot with a symbol that is the equivalent of \mathbb{R} in LaTeX. I've had a look through the help pages for plotmath and for Hershey and haven't ...
    Simon CullenSimon Cullen
    Aug 26, 2004 at 11:25 am
    Aug 27, 2004 at 7:07 am
  • I store an id as a big number, could this be a problem? Should I convert to at string when I use read.table(... example id's 1001001001001 1001001001002 ... 1002001002005 Bigest is probably ...
    Dan BolserDan Bolser
    Aug 14, 2004 at 12:58 am
    Aug 14, 2004 at 8:53 pm
  • snip I am concerned by your indications of previously having had RH9 on the same box and that you had to force an update of the XFree Devel RPM. Forcing the installation of an RPM is almost always a ...
    Marc SchwartzMarc Schwartz
    Aug 8, 2004 at 7:46 pm
    Aug 11, 2004 at 3:56 am
  • I am curious as to why I quite often receive responses to questions on the help before receiving the actual question. For example Mr Graves has responded to Mr Lumley's response to Mr Wegelin yet I ...
    Jim BrennanJim Brennan
    Aug 4, 2004 at 1:49 am
    Aug 5, 2004 at 3:33 am
  • Hello, I'm new to this and am trying to teach myself some R by plotting biological data. The growth curve in question is supposed to be fitted to the Verhulst equation, which may be transcribed as ...
    Johannes GraumannJohannes Graumann
    Aug 25, 2004 at 11:07 pm
    Aug 26, 2004 at 8:00 pm
  • Quite a simple one really! When I run boxplot(), the labels on the X axis are horizontal, and I want them vertical. So I did: par(las=3) boxplot(...) And my labels just aren't there anymore.... Any ...
    michael watson (IAH-C)michael watson (IAH-C)
    Aug 26, 2004 at 8:33 am
    Aug 26, 2004 at 1:44 pm
  • I tried compiling R-devel from the subversion sources using gcc 3.4.1 and it fails in make check at d-p-q-r-tests. It compiles and works using gcc 3.3.4. Can post more details if needed (don't ...
    Robert KruusRobert Kruus
    Aug 20, 2004 at 7:13 pm
    Aug 21, 2004 at 8:46 am
  • Dear R-help, Please can someone explain how to put a column name on an output data.frame. ##Starting with a data.frame with 3 columns (d$Year, d$NoIndiv, d$wtd_tl) yr_ind <- split (d$NoIndiv, d$Year) ...
    Louize HillLouize Hill
    Aug 19, 2004 at 11:26 pm
    Aug 20, 2004 at 1:27 am
  • Hello, Is there a simple way of stacking/merging two dataframes in R? I want to stack them piece-wise, not simply add one whole dataframe to the bottom of the other. I want to create as follows ...
    Laura QuinnLaura Quinn
    Aug 15, 2004 at 11:11 pm
    Aug 16, 2004 at 2:17 pm
  • Dear R people, I have a very big tab-delim txt file with header and I only want to import several columns into R. I checked the options for "read.table" and only found "nrows" which lets you specify ...
    F DuanF Duan
    Aug 9, 2004 at 8:32 pm
    Aug 10, 2004 at 8:05 pm
  • Hello All, I am generating some plots where the title is generated with substitute and paste. An example: nval <- 20 plot(0,0) title(substitute(paste("n = ", n), list(n = nval))) But when compared ...
    Wolfgang ViechtbauerWolfgang Viechtbauer
    Aug 2, 2004 at 8:00 pm
    Aug 6, 2004 at 5:38 pm
  • Hi all: I'm having difficulty with something I believe is very simple, but I'm stuck. I have a large data frame that took days to clean and prepare. All I now need to do is concatenate three ...
    Doran, HaroldDoran, Harold
    Aug 4, 2004 at 8:17 pm
    Aug 5, 2004 at 11:40 am
  • Hello, I need to care excel data to be used in R,..., how do I make it? Thank you and greetings, Gerardo Prieto
    Gerardo Prieto BlancoGerardo Prieto Blanco
    Aug 29, 2004 at 4:51 pm
    Aug 30, 2004 at 12:46 pm
  • I'm looking for an efficient way of removing zero-variance columns from a large matrix. Any suggestions? Thanks, - Moises
    Moises HassanMoises Hassan
    Aug 28, 2004 at 11:25 pm
    Aug 29, 2004 at 10:22 pm
  • Dear R-Help list, I have a problem with convertions of strings. I want to use the function "paste()" to create an object name and then use that character string to call on that object. So, for ...
    Gudrun JonasdottirGudrun Jonasdottir
    Aug 19, 2004 at 2:15 pm
    Aug 23, 2004 at 12:59 pm
  • Hi, I am using R 1.9.1 on on i686 PC with SuSE Linux 9.0. I have a data.frame, e.g.: var1 var2 var3 var1 1 1 5 6 6 2 2 6 8 8 3 3 7 10 10 4 4 8 12 12 but names() and colnames() return the expected ...
    Arne HenningsenArne Henningsen
    Aug 17, 2004 at 2:01 pm
    Aug 17, 2004 at 10:36 pm
  • Hi! I use simtest fonction of multcomp package to compile a Dunnett's test. I have 10 treatments and one control group, so i create a matrix with: m<-matrix(0,10,11) m[1,1]<--1 m[1,2]<-1 m[2,1]<--1 ...
    Laurent HoudusseLaurent Houdusse
    Aug 13, 2004 at 11:56 am
    Aug 13, 2004 at 12:37 pm
  • Hello All, I would like to optimize a (log-)likelihood function subject to a number of linear constraints between parameters. These constraints are equality constraints of the form A%*%theta=c, ie ...
    Ingmar VisserIngmar Visser
    Aug 9, 2004 at 11:57 am
    Aug 12, 2004 at 3:56 pm
  • Hi everyone, I want to perform a regex substitution on line #1 in a file based on the contents of line #2. same is true for line 11 and line 12 etc... With the look at each line of a file rolling ...
    Cere DavisCere Davis
    Aug 6, 2004 at 7:23 am
    Aug 7, 2004 at 4:12 pm
  • I have some images of bugs (insects) with many bugs in each image. I want to count the number of bugs and to have an estimate of the area of each one. I've tried searching for an R package to do so ...
    Angel LopezAngel Lopez
    Aug 25, 2004 at 10:05 am
    Aug 26, 2004 at 2:50 pm
  • Hi, Is there any function that can arrange a character in alphabetic order? Thanks for answer -MY
    Yao, MinghuaYao, Minghua
    Aug 25, 2004 at 7:20 pm
    Aug 25, 2004 at 8:17 pm
  • Hello! I would like to be able to read in list data objects in R/S created in R/S. (Ie R- S or S- R.) I have tried 'dput' and 'dump' in S, but neither of the created files could be read into R (with ...
    Zachary SkrivanekZachary Skrivanek
    Aug 25, 2004 at 4:29 pm
    Aug 25, 2004 at 6:27 pm
  • Hi, Has anyone had any joy getting the rgdal package to compile under windows? I've been trying with MinGW using Duncan Murdoch's Rtools but to no avail. After unpacking the tarball I put it here ...
    Benjamin Lloyd-HughesBenjamin Lloyd-Hughes
    Aug 19, 2004 at 4:05 pm
    Aug 24, 2004 at 9:11 am
  • I tried toy problems and there doesn't seem to be a basic problem between lm() and ts objects: X = data.frame(x=c(1,2,7,9), y=c(7,2,3,1)) lm(y ~ x, X) X <- lapply(X, function(x) ts(x, frequency, ...
    Ajay ShahAjay Shah
    Aug 21, 2004 at 3:47 pm
    Aug 24, 2004 at 7:53 am
  • Dear all. This is probably more PDF then R issue but anyway, maybe somebody can help me. I try to persuade pdf device to use eastern european (Czech) encoding but I was not successful yet. Working on ...
    Petr PikalPetr Pikal
    Aug 19, 2004 at 11:50 am
    Aug 20, 2004 at 8:37 pm
  • I am getting the "Segmentation fault" when using hclust in R-1.9.1 running under SuSe 9.0 64-bit kernel on a dual opteron system with 8G of RAM. I was wandering if anybody could offer any insight? ...
    Medvedovic, Mario (medvedm)Medvedovic, Mario (medvedm)
    Aug 9, 2004 at 2:47 pm
    Aug 12, 2004 at 8:00 pm
  • I would be very grateful for any help from members of this list for what might be a simple problem... We are trying to simulate the behaviour of a clinical measurement in a series of computer ...
    Crabb, DavidCrabb, David
    Aug 12, 2004 at 8:44 am
    Aug 12, 2004 at 1:06 pm
  • Dear ExpeRts, Suppose I have a typical psychological experiment that is a within-subjects design with multiple crossed variables and a continuous response variable. Subjects are considered a random ...
    Gijs PlompGijs Plomp
    Aug 10, 2004 at 3:40 am
    Aug 12, 2004 at 12:04 pm
  • Dear List, I'd like to add text to a plot where a text symbol has both a superscript and subscript. For example, the variable S with a superscript 2 and a subscript t. I have been able to accomplish ...
    Brian BeckageBrian Beckage
    Aug 9, 2004 at 5:27 pm
    Aug 9, 2004 at 6:15 pm
  • Hi list, I'm trying to write a function similar to rbind, except that needs to add a factor to each component array before rbinding them together so that the rows from different arrays are ...
    Viet NguyenViet Nguyen
    Aug 3, 2004 at 4:37 am
    Aug 4, 2004 at 7:04 pm
  • Recently Brian Ripley had occasion to mock my inability to see a comment in the code for arima(), in the stats package. After considerable dredging around in the r-news archives I found reference to ...
    Rolf TurnerRolf Turner
    Aug 3, 2004 at 9:00 pm
    Aug 4, 2004 at 11:39 am
  • Hi, Does anyone know if the D'agostino test is available with R ? Alex
    Alexandre BourneryAlexandre Bournery
    Aug 30, 2004 at 4:08 pm
    Sep 1, 2004 at 5:34 pm
  • Hi I was asked if lme can use FIML (Full Information Maximum Likelihood) instead of REML or ML but I don't know the answer. Does anybody know if this is implemented in R? Thanks Francisco
    F ZF Z
    Aug 27, 2004 at 12:30 am
    Aug 30, 2004 at 5:04 pm
  • Dear R users, I'm trying to automatically generate a *.tex file with the output of an OLS estimation. Some people suggested to use the latex function on the Hmisc package. I'm having a bit of trouble ...
    Joao Pedro W. de AzevedoJoao Pedro W. de Azevedo
    Aug 25, 2004 at 11:02 am
    Aug 26, 2004 at 5:36 pm
  • I am trying to read a file with 8 columns and about 200 rows into a matrix. I tried something like: x<-matrix(data="data.txt", nrow 0, ncol=8) but this produces a matrix with "data.txt" in it. Is ...
    Gaby AguileraGaby Aguilera
    Aug 26, 2004 at 3:47 pm
    Aug 26, 2004 at 4:42 pm
Group Navigation
period‹ prev | Aug 2004 | next ›
Group Overview
groupr-help @

450 users for August 2004

Prof Brian Ripley: 116 posts Liaw, Andy: 52 posts Peter Dalgaard: 51 posts Gabor Grothendieck: 50 posts Uwe Ligges: 45 posts Thomas Lumley: 43 posts Martin Maechler: 33 posts Spencer Graves: 24 posts Luis Rideau Cruz: 23 posts Marc Schwartz: 23 posts Deepayan Sarkar: 16 posts Duncan Murdoch: 16 posts Rolf Turner: 16 posts Sundar Dorai-Raj: 16 posts Adaikalavan Ramasamy: 15 posts A.J. Rossini: 14 posts Roger D. Peng: 14 posts Laura Holt: 12 posts Arne Henningsen: 11 posts Wolski: 11 posts
show more