Grokbase Groups R r-help April 2005

Search Discussions

644 discussions - 2,054 posts

  • Hello world: Has anyone used hex notation within R to represents integers? Cheers, Steve Vejcik
    Steve VejcikSteve Vejcik
    Apr 7, 2005 at 1:26 pm
    Apr 8, 2005 at 4:53 pm
  • Dear All I am totally new to R and I would like to know whether R is able and appropriate to illustrate to my students the Central Limit Theorem, using for instance 100 independent variables with ...
    Paul SmithPaul Smith
    Apr 21, 2005 at 5:06 pm
    May 13, 2005 at 1:00 pm
  • I'm trying to make my R scripts more readable by others, so I searched for some R programming conventions and found the following two: - ...
    Sebastian LuqueSebastian Luque
    Apr 1, 2005 at 1:17 am
    Apr 16, 2005 at 8:32 pm
  • Latex and R are really cool stuff. I am just wondering how they are used in industry. But based on my own experience, very rare. Why? How about the opinion of other listers? Thanks.
    Wensui LiuWensui Liu
    Apr 6, 2005 at 3:38 pm
    Apr 14, 2005 at 4:38 am
  • Hi, I have a small set of data on which I have tried some normality tests. When I make a histogram of the data the distribution doesn't seem to be normal at all (rather lognormal), but still no ...
    Pieter ProvoostPieter Provoost
    Apr 28, 2005 at 11:16 am
    Apr 29, 2005 at 5:21 pm
  • Hello, I cannot figure out how to shade between two lines in a plot. For example, if I am trying to plot a confidence envelope and I would like to shade the interior of the envelope grey. Is this ...
    Heather Joan LynchHeather Joan Lynch
    Apr 28, 2005 at 2:14 pm
    Apr 29, 2005 at 12:32 pm
  • I installed R-2.1.0 from source on a Linux box running Red Hat Enterprise Linux WS release 4 but install.packages() wouldn't work (see below). When I install R-2.0.1 from RPM on the same system, ...
    Waichler, Scott RWaichler, Scott R
    Apr 22, 2005 at 3:38 pm
    Apr 26, 2005 at 11:54 am
  • Hi, I want to compile the manual for "methods" so that I can have the usual indexed man pages in a single document with a ToC. I've tried with R CMD Rd2dvi --pdf /usr/local/lib/R/library/methods but ...
    Ernesto JardimErnesto Jardim
    Apr 19, 2005 at 1:36 pm
    Apr 25, 2005 at 2:27 pm
  • Hi I am performing an analysis of variance with two factors, each with two levels. I have differing numbers of observations in each of the four combinations, but all four combinations *are* present ...
    michael watson (IAH-C)michael watson (IAH-C)
    Apr 20, 2005 at 1:40 pm
    Apr 21, 2005 at 2:28 pm
  • Hi, I was trying to evaluate the pearson correlation and the p-values for an nxm matrix, where each row represents a vector. One way to do it would be to iterate through each row, and find its ...
    Dren ScottDren Scott
    Apr 15, 2005 at 9:33 pm
    Apr 19, 2005 at 12:33 am
  • Hi All: I would like to generate a binomial random variable that correlates with a normal random variables with a specified correlation. Off course, the correlation coefficient would not be same at ...
    Ashraf ChaudharyAshraf Chaudhary
    Apr 3, 2005 at 10:41 pm
    Apr 18, 2005 at 6:41 pm
  • Hello, My question is the following. Has anyone put together an "idiots" checklist of the steps needed to build a (small personal) package under Windows, or documented their own experiences of ...
    Duncan GolicherDuncan Golicher
    Apr 11, 2005 at 6:58 am
    Apr 14, 2005 at 5:09 pm
  • Is there a simple way in R to remove all characters from a string other than those in a specified set? For example, I want to keep only the digits 0-9 in a string. In general, I have found the string ...
    Vivek RaoVivek Rao
    Apr 12, 2005 at 12:54 pm
    Apr 12, 2005 at 8:39 pm
  • R-help, Sometimes I define functions I wish to have in any R session. The obvious thing to do is copy-paste the code The thing is that sometimes I don't know where I have the function code. My ...
    Luis Ridao CruzLuis Ridao Cruz
    Apr 6, 2005 at 1:47 pm
    Apr 6, 2005 at 4:27 pm
  • Dear R users, I have a data frame with categorical Vars. "Groups" and a couple columns of numeric Vars. I am trying to make two-sample t.test on each variable(s01-s03) by Groups. A data generated as ...
    Hai LinHai Lin
    Apr 12, 2005 at 3:44 pm
    Jul 17, 2007 at 7:57 pm
  • Dear all, (Sorry if the question has already been answered.) Could someone please suggest a good text editor for writing R sources ? (I know emacs exists ... but I find it a bit heavy). I use crimson ...
    Apr 26, 2005 at 4:22 pm
    Apr 27, 2005 at 7:29 am
  • Hello useRs and helpRs, Some time ago, in a gallaxy far away (here is the thread : ) we discussed about a graph gallery showing the power of ...
    Romain FrancoisRomain Francois
    Apr 18, 2005 at 9:29 am
    Apr 18, 2005 at 3:07 pm
  • Hi, r-gurus: I happened to have a question in my work: I have a dataset, which has only one dimention, like 0.99037297527605 0.991179836732708 0.995635340631367 0.997186769599305 0.991632565640424 ...
    WeiWei ShiWeiWei Shi
    Apr 22, 2005 at 10:39 pm
    Apr 29, 2005 at 8:42 pm
  • Assume we have a function like: foo <- function(x, y) how is it possible to define a binary indexing operator, denoted by $, so that x$y functions the same as foo(x, y)
    Ali -Ali -
    Apr 27, 2005 at 7:10 pm
    Apr 28, 2005 at 3:13 am
  • Hello, I have climatic data of various years with many missing values. I would like to know what tools in R are most suited to estimate this missing values. (New in R and quite new on statistics) ...
    Giordano SanchezGiordano Sanchez
    Apr 24, 2005 at 10:15 am
    Apr 26, 2005 at 3:12 pm
  • I've rolled up R-2.1.0.tar.gz a short while ago. This version contains several substantial changes and additions, perhaps most notably the UTF8 and Internationalization changes. See the full list of ...
    Peter DalgaardPeter Dalgaard
    Apr 18, 2005 at 12:36 pm
    Apr 21, 2005 at 8:33 pm
  • Hello, I have been trying to figure this one out, but don't seem to go anywhere. I have a function like this: a = function(t) { max(0,t+1) } very simple, but if I pass a vector of n values to this ...
    Jorge AhumadaJorge Ahumada
    Apr 20, 2005 at 5:02 pm
    Apr 21, 2005 at 7:27 am
  • Dear all, I want to evaluate several generalized linear mixed models, including the null model, and select the best approximating one. I have tried glmmPQL (MASS library) and GLMM (lme4) to fit the ...
    Nestor FernandezNestor Fernandez
    Apr 17, 2005 at 1:39 pm
    Apr 20, 2005 at 6:43 pm
  • Hi I have measured the UV absorbance (abs) of 10 solutions of a substance at known concentrations (conc) and have used a linear model to plot a calibration graph with confidence limits. I now want to ...
    Mike WhiteMike White
    Apr 19, 2005 at 12:34 pm
    Apr 20, 2005 at 11:53 am
  • Dear all: I am a newbie in Mac. Just installed R and found R did not react on my command plot (I use command line in terminal). It did not give me any error message, either. All it did was just ...
    Minyu ChenMinyu Chen
    Apr 5, 2005 at 6:12 pm
    Apr 7, 2005 at 12:50 am
  • Dear all, I'm trying to get a two dimensional embedding of some data using different meythods, among which princomp(), cmds(), sammon() and isoMDS(). I have a problem with sammon() because the ...
    Domenico CozzettoDomenico Cozzetto
    Apr 20, 2005 at 8:35 am
    Jun 24, 2005 at 11:17 pm
  • The following code is slow and ugly: count<-0 for(i in 1:nrow(ver)) for(j in 1:ncol(ver)) { count<-count+1 x[count]<-pt$x[ver[i,j]] y[count]<-pt$y[ver[i,j]] z[count]<-pt$z[ver[i,j]] } Please help me ...
    Bill SimpsonBill Simpson
    Apr 22, 2005 at 12:58 pm
    Apr 22, 2005 at 1:49 pm
  • Suppose I have the following data I want to scatterplot: [,1] [,2] [1,] 0 0 [2,] 21 4 I start up a graphics window and fire away: - but because the graphics window is square, the aspect ratio is ...
    Barry RowlingsonBarry Rowlingson
    Apr 19, 2005 at 3:28 pm
    Apr 19, 2005 at 6:15 pm
  • Hi I have data from 12 subjects. The measurement is log(expression) of a particular gene and can be assumed to be normally distributed. The 12 subjects are divided into the following groups ...
    michael watson (IAH-C)michael watson (IAH-C)
    Apr 5, 2005 at 2:51 pm
    Apr 6, 2005 at 1:11 pm
  • Is there a R function for sort a data frame by a variable ? I know sort a vector, but I don't know sort a data frame by a column. Can you help me ? the sort() function don't work with data frame.
    Mario MoralesMario Morales
    Apr 1, 2005 at 3:22 am
    Apr 1, 2005 at 4:55 pm
  • Tried to post this last night, but it doesn't seem to have appeared. Using R 2.0.1 on Windows XP + SP2. I am traveling, away from my usual references. I'm trying to make a 4-dimensional plot: a ...
    Mike PragerMike Prager
    Apr 7, 2005 at 1:47 pm
    May 13, 2010 at 2:47 pm
  • Hi there, Is there an implementation of the Gaveh Stehfest algorithm in R somewhere ? Or some other inversion ? Thanks, Tolga
    Tolga UzunerTolga Uzuner
    Apr 14, 2005 at 11:33 pm
    May 16, 2005 at 10:45 am
  • Hi, I have just noticed the following problem with R2.1.0 running on SuSE 9.1, [However, version 2.0.1 (2004-11-15) on the same machine works Okay] ...
    Xiang-Jun LuXiang-Jun Lu
    Apr 28, 2005 at 9:25 pm
    May 2, 2005 at 4:43 pm
  • I am excited to learn that Prof. Tierney is bringing to us compiled R. I would like to learn when it will be available. This information will be useful in scheduling some of my projects. Thanks ...
    Jason LiaoJason Liao
    Apr 18, 2005 at 6:56 pm
    Apr 22, 2005 at 2:32 pm
  • Dear, When fitting the following model knots <- 5 lrm.NDWI <- lrm(m.arson ~ rcs(NDWI,knots) I obtain the following result: Logistic Regression Model lrm(formula = m.arson ~ rcs(NDWI, knots)) ...
    Jan VerbesseltJan Verbesselt
    Apr 15, 2005 at 2:43 pm
    Apr 17, 2005 at 3:13 pm
  • I am using barplot, and barplot2 in the gregmisc bundle, in the following way: barplot2(sort(xtabs(expend / 1000 ~ theme)), col = c(mdg7, mdg8, mdg3, mdg1), horiz = T, las = 1, xlab = "$ '000", ...
    Jan P. SmitJan P. Smit
    Apr 14, 2005 at 3:47 am
    Apr 15, 2005 at 10:36 am
  • Hi List! Has onyone experience with "pstoedit" ( to convert eps graphs generated by R on Linux to Windows formats (WMF or EMF)? Does this way work? Is there an other, ...
    Apr 12, 2005 at 10:39 pm
    Apr 14, 2005 at 7:12 am
  • I'm wanting to perform analysis (e.g. using eigen()) of binary matrices - i.e. matrices comprising 0s and 1s. For example: n<-1000 test.mat<-matrix(round(runif(n^2)),n,n) ...
    Mark Edmondson-JonesMark Edmondson-Jones
    Apr 13, 2005 at 1:50 pm
    Apr 13, 2005 at 5:23 pm
  • Hi All, I am looking for references on R as a programming language (apart form the standard R-lang.pdf and the other manuals), reference that would cover _in_depth_ things like loops, code ...
    Federico CalboliFederico Calboli
    Apr 12, 2005 at 9:14 am
    Apr 13, 2005 at 10:35 am
  • What is the easiest way to change within vector of strings each letter after a space into a capital letter? E.g.: c( "this is an element of the vector of strings", "second element" ) becomes: c( ...
    Wolfram FischerWolfram Fischer
    Apr 11, 2005 at 10:22 am
    Apr 12, 2005 at 5:30 pm
  • Dear All, Is there is a fast way of refitting lm() when the design matrix stays constant but the response is different? For example, y1 ~ X y2 ~ X y3 ~ X ...etc. where y1 is the 1st instance of the ...
    William ValdarWilliam Valdar
    Apr 18, 2005 at 4:06 pm
    Aug 31, 2006 at 6:43 pm
  • Dear all, First I apologize if my question is quite simple, but i'm very newbie with R. I have vectors of the form v = c(1,1,-1,-1,-1,1,1,1,1,-1,1) (longer than this one of course). The elements are ...
    Apr 25, 2005 at 4:03 pm
    Apr 26, 2005 at 5:59 am
  • Sorry, but I'm just an ignorant Linux user! I have a silly question. Situation: Now that R 2.1.0 is out (Thank you, to all concerned!) I'm about to go off and download it and all the packages. What ...
    Ted HardingTed Harding
    Apr 21, 2005 at 7:57 am
    Apr 24, 2005 at 12:30 am
  • Hi, I have a small R question: how to print a single "\" character? I have the following results: [1] "\\" I need to make the following substitution as well, but it does not work either: [1] "g_g" ...
    Firas SwidanFiras Swidan
    Apr 19, 2005 at 3:57 pm
    Apr 21, 2005 at 5:04 am
  • Dear everybody! I am analysing data from an enquette. The answers are either A or B. How can I draw a histogram without transforming the data from characters to numbers? If the data are saved in a ...
    Mag. Ferri LeberlMag. Ferri Leberl
    Apr 20, 2005 at 3:37 pm
    Apr 21, 2005 at 3:31 am
  • like: "a" %in% "abcd" TRUE Thanks.
    Terry MuTerry Mu
    Apr 3, 2005 at 3:38 am
    Apr 17, 2005 at 6:31 pm
  • I was reading in the Reference Manual about There is a list of examples of expressions using [ and [[, with the outcomes. I was puzzled by the fact that, if sw is a data frame, ...
    Fernando SaldanhaFernando Saldanha
    Apr 16, 2005 at 3:07 am
    Apr 16, 2005 at 5:49 pm
  • I discovered a bug in a program I am writing which was due to the program using a global variable within a function. For example, myfunc <- function(x) { y} That is, I made a mistake when defining ...
    Fernando SaldanhaFernando Saldanha
    Apr 15, 2005 at 2:59 pm
    Apr 16, 2005 at 9:16 am
  • Is length(unique()) what you are looking for? Andy
    Liaw, AndyLiaw, Andy
    Apr 15, 2005 at 2:38 pm
    Apr 16, 2005 at 2:15 am
  • I want R to stop running a script (after printing an error message) when an array subscript larger than the length of the array is used, for example x = c(1) print(x[2]) rather than printing NA, ...
    Vivek RaoVivek Rao
    Apr 13, 2005 at 9:26 pm
    Apr 14, 2005 at 1:24 am
Group Navigation
period‹ prev | Apr 2005 | next ›
Group Overview
groupr-help @

571 users for April 2005

Prof Brian Ripley: 131 posts Uwe Ligges: 78 posts Liaw, Andy: 75 posts Marc Schwartz: 56 posts Gabor Grothendieck: 49 posts Peter Dalgaard: 48 posts Ted Harding: 35 posts Dimitris Rizopoulos: 28 posts Deepayan Sarkar: 27 posts Douglas Bates: 27 posts John Fox: 26 posts Achim Zeileis: 23 posts Martin Maechler: 22 posts Bill Venables: 21 posts Berton Gunter: 20 posts Christoph Lehmann: 20 posts Fernando Saldanha: 19 posts Ronggui: 19 posts Mulholland, Tom: 18 posts Duncan Murdoch: 16 posts
show more