Grokbase Groups R r-help April 2003

Search Discussions

485 discussions - 1,477 posts

  • Hi All I am really very interested in starting to use R within our company. I particularly like the open source nature of the product. My company is a medical research company which is part of the ...
    Rob LambkinRob Lambkin
    Apr 17, 2003 at 8:50 am
    Apr 21, 2003 at 8:57 pm
  • Hi I'm exporting some graphs from R to M$Word. I used png, jpeg and bmp and the quality is poor when comparing with the postscript. What is the best way to export a chart to be included in a M$Word ...
    Ernesto JardimErnesto Jardim
    Apr 14, 2003 at 11:09 am
    Apr 15, 2003 at 9:07 pm
  • Dear Help, Suppose I have a character vector. x <- c("Bob", "loves", "Sally") I want to combine it into a single string: "Bob loves Sally" . paste(x) yields: paste(x) [1] "Bob" "loves" "Sally" The ...
    John MiyamotoJohn Miyamoto
    Apr 2, 2003 at 11:54 pm
    Apr 4, 2003 at 2:51 pm
  • Hello, This message is little off-topic in R-help. Sorry for that, but not all interested people are wired yet to r-sig-gui ( Thanks for your ...
    Philippe GrosjeanPhilippe Grosjean
    Apr 29, 2003 at 7:56 am
    May 5, 2003 at 1:43 pm
  • Dear helpers I have a list where each element is a matrix (the list is obtained with lapply). I want to sum those matrices. Is there a function to do that? The sum function sums all the elements.. ...
    Luis SilvaLuis Silva
    Apr 23, 2003 at 5:57 pm
    Apr 24, 2003 at 3:08 am
  • Hi all, is there a way to read a data file into R line-by-line, akin to what fscanf does in C, say? It seems that "scan" and "read.table" both read the entire data file in at once, whereas ...
    R A FR A F
    Apr 30, 2003 at 11:51 am
    Apr 30, 2003 at 7:46 pm
  • Dear friends, How can I generate (simulate) a large, say 1000x1000, positive definite var-covar matrix? Regards, Max --------------------------------- [[alternate HTML version deleted]]
    Apr 10, 2003 at 6:11 pm
    Apr 30, 2003 at 7:54 pm
  • Hi, I have a nicely printed table of results generated by R's where myresult is a "data frame". I am trying to put this table into a powerpoint slide for presentation without re-typing and ...
    Apr 28, 2003 at 8:51 pm
    May 2, 2003 at 2:20 pm
  • Hello All, Is there a fast way to find the index(row and column) of a point in a matrix? Thanks, John. -- -------------------------------------------------------------------------- Dr. John Janmaat ...
    John JanmaatJohn Janmaat
    Apr 2, 2003 at 6:39 pm
    Apr 3, 2003 at 7:19 pm
  • Hi, all, I want to use lowess(x, y) where x and y are vectors of length of 4000+. In fact, x and y are log of some vectors. So, some of the elements are NaN. lowess() can not take away those elements ...
    Minghua YaoMinghua Yao
    Apr 10, 2003 at 6:23 pm
    Apr 10, 2003 at 11:54 pm
  • in the sma library, I m trying to use stat.t2 but I don t know what the parameter cl actually means!! cheers
    William ritchieWilliam ritchie
    Apr 17, 2003 at 12:59 pm
    Apr 17, 2003 at 3:31 pm
  • Dear All, I have a list, where several components are NULL, and I'd like to obtain that very same list without the NULL components (i.e., I do not want to unlist or otherwise loose the rest of the ...
    Ramon DiazRamon Diaz
    Apr 14, 2003 at 2:09 pm
    Apr 15, 2003 at 8:25 am
  • Hello, I have a beginner's Q: if i want to know all the functions provided by a package, what is command for that? in another word, Is there a command to list all the commands available in a packege? ...
    Yan YuYan Yu
    Apr 14, 2003 at 1:52 am
    Apr 14, 2003 at 9:08 pm
  • Hello folks, Any ideas how to do this? data.frame is a data frame with column names "x1",...,"xn" y is a response variable of length dim(data.frame)[1] I want to write a function function(y, ...
    Richard NixonRichard Nixon
    Apr 2, 2003 at 4:49 pm
    Apr 3, 2003 at 10:04 am
  • Hello, using the function "update()" in the following function does not work. # a function for running a model: x1 ~ x2 # by updating the original model: fm1 <- lm(y ~ x1 + x2,data=df) # update(fm1, ...
    Mahmood ARAIMahmood ARAI
    Apr 21, 2003 at 5:23 pm
    Oct 30, 2003 at 3:22 pm
  • I have written the following function to calculate the weighted mean difference for univariate data (see for a related formula). Unsurprisingly, the ...
    Andrew C. WardAndrew C. Ward
    Apr 24, 2003 at 3:17 am
    Apr 28, 2003 at 8:02 pm
  • Dear R-Help, I am trying to use R to solve a nonlinear equation many times for different values. I am looking for a mathematical nonlinear equation solution which may not have a closed solution ...
    Wang, ZhuWang, Zhu
    Apr 21, 2003 at 4:52 am
    Apr 21, 2003 at 7:04 pm
  • Hi, I'm trying to create a function, jim(p) which varies depending on whether the value of p is odd or even. I was trying to use th eIf function, but i cant work out a formula to work out if p is odd ...
    Dave CaccaceDave Caccace
    Apr 6, 2003 at 12:29 pm
    Apr 17, 2003 at 2:19 pm
  • Hi all, I have a question regarding the anova function aov(). I want to perform an anova calculation using one grouping variable but more than one numerical variables: So instead of: aov(v ~ g) I ...
    Rishabh GuptaRishabh Gupta
    Apr 10, 2003 at 8:26 pm
    Apr 11, 2003 at 3:55 pm
  • hi everybody, anyone knows how we can transform a binary matrix with TRUE and FALSE to 0 and 1 without looping? Thx --------------------------------- [[alternate HTML version deleted]]
    Ramzi FeghaliRamzi Feghali
    Apr 10, 2003 at 1:56 pm
    Apr 10, 2003 at 2:26 pm
  • Hello everybody, I'm testing the randomForest package in order to do some simulations and I get some trouble with the prediction of new values. The random forest computation is fine but each time I ...
    Yves BrostauxYves Brostaux
    Apr 2, 2003 at 9:46 am
    Apr 2, 2003 at 1:46 pm
  • I don't know how to retain my row labels. I read in a table with row labels, ie: Price Floor Area Rooms 52. 111. 830 5 54. 128. 710 5 47.4 101 1000 4 ... but then I need to transform the data ...
    Anna H. PryorAnna H. Pryor
    Apr 29, 2003 at 4:04 pm
    Apr 30, 2003 at 5:50 pm
  • Hi, I have a dataset of dimensions 50 x 15000, and tried to use princomp or prcomp on this dataset with 15000 columns as variables, but it seems that the 2 functions can;t handle this large number of ...
    Array chipArray chip
    Apr 26, 2003 at 12:44 am
    Apr 30, 2003 at 11:56 am
  • Dear People, In a qqplot I am doing, I get lines/points that are very thick. I've tried setting the lwd variable to 0.1, but it doesn't seem to have any effect. Also, I have set the value of lty to ...
    Faheem MithaFaheem Mitha
    Apr 29, 2003 at 5:08 am
    Apr 29, 2003 at 10:45 pm
  • Hi all, I get two different results when using sum() and the switch na.rm. The result is correct when na.rmúLSE. Linux Redhat 7.3, R version 1.6.1. I've had no luck searching the mail archives, so I ...
    Rohan sadlerRohan sadler
    Apr 28, 2003 at 7:02 am
    Apr 28, 2003 at 12:34 pm
  • Hi R users: I got the following message when I use the pixmap library on R 1.7.0 over w2K platform (on R 1.6.2 it runs right). pixmapGrey(matrix(c(0,1),128,128)) Error in .class1(object) : Object ...
    Kenneth CabreraKenneth Cabrera
    Apr 22, 2003 at 4:42 pm
    Apr 24, 2003 at 6:07 pm
  • I'm experiencing a new and annoying phenomenon which seems to consist of an unfortunate interaction between R-1.7.0 and netscape version 7. When I invoke help.start(), a netscape window duly appears ...
    Rolf TurnerRolf Turner
    Apr 21, 2003 at 12:32 pm
    Apr 24, 2003 at 4:51 pm
  • Hi. I'm a real newbie in R, so I don't know how to apply, a function created by myself... prediction<-function(a,b) { .. } to a vector... It doesn't seem to understand lapply(vector, ...
    Ana kozomaraAna kozomara
    Apr 20, 2003 at 7:01 pm
    Apr 21, 2003 at 2:16 pm
  • J'aimerais savoir si la fonction merge() est la seule disponible pour concatener des tableaux de donn?es? Est-ce normal que l'ex?cution soit lente?
    Erwan BARRETErwan BARRET
    Apr 16, 2003 at 1:39 pm
    Apr 17, 2003 at 1:03 pm
  • Hi, I am a chilean student and I am doing my thesis and I?ll very thankfully if you answer a question. In the thesis I need to applied Bootstrap simulations to the residulas for the time series model ...
    Felipe menaFelipe mena
    Apr 16, 2003 at 1:55 pm
    Apr 17, 2003 at 12:21 pm
  • Hi, R-listers I tried to plot several graphs in a sigle x-y coordinate settings, like the following: where "*" and "s" denote two diffrent plots. However, when I used plot(data1); % data1 is the data ...
    Feng ZhangFeng Zhang
    Apr 10, 2003 at 7:39 pm
    Apr 11, 2003 at 5:13 am
  • Dear R-helpers, for the purpose of plotting a dataframe, i am trying to sort a dataframe by one column, for example tester <- data.frame(one=c(3,2,1), two=c(2,3,1)) # tester # one two #1 3 2 #2 2 3 ...
    Remko DuursmaRemko Duursma
    Apr 7, 2003 at 5:51 pm
    Apr 7, 2003 at 10:44 pm
  • Hi, How i can convert a array in to data.frame structure? For example, ...
    Jorge MagalhãesJorge Magalhães
    Apr 26, 2003 at 9:06 am
    May 1, 2003 at 1:46 pm
  • 5


    Hello, Does anybody know where I can find an R function to carry out variable selection using stepwise similar (or even better) to the stepwise function available in S-Plus?. I have tried the ...
    Apr 25, 2003 at 4:10 pm
    Apr 28, 2003 at 2:20 pm
  • Of course, that's as trivial as it gets on the command line, but I can't work out how to get a column of numbers that are entered as "10^5" from its 'character' format into a numeric one? I feel a ...
    Patrick ConnollyPatrick Connolly
    Apr 22, 2003 at 1:51 am
    Apr 23, 2003 at 4:11 pm
  • Dear R-Helpers: What other references are there on the capabilities of the survival5 package other than the help files and the chapter on survival analysis in every edition of Modern Applied ...
    Spencer GravesSpencer Graves
    Apr 23, 2003 at 12:05 pm
    Apr 23, 2003 at 2:46 pm
  • I've posted this before but have not been able to locate what I'm doing wrong. I cannot determine how the forecast is made using the estimated coefficients from a simple AR(2) model when there is an ...
    Richard A. BilonickRichard A. Bilonick
    Apr 21, 2003 at 2:14 pm
    Apr 22, 2003 at 4:37 pm
  • Dear all, I have tried to merge two cross sections (crossA and crossB) as follows, both crossA and crossB include the same variables, e.g., ID,y,x1,x2: Panel <- merge(crossA,crossB,by="ID") I have, ...
    Apr 21, 2003 at 2:15 am
    Apr 21, 2003 at 3:37 am
  • Dear People, I have a data set of data x from a probability distribution, and I have a function, mydensity, of the pdf of that distribution. I'm asking for help in superimposing the histogram of x ...
    Faheem MithaFaheem Mitha
    Apr 18, 2003 at 11:22 pm
    Apr 19, 2003 at 9:08 am
  • Below you will find the output from a failed multi-level model run. I am trying to estimate the following model: Pr(PLFP=1)= logistic regression - B1_j * bm + B2_j * wm + B3_j bf + B4_j wf + B5 ...
    Apr 18, 2003 at 4:16 pm
    Apr 18, 2003 at 11:05 pm
  • Hi, I'm having problems with a R Redhat Linux install. Please bear with me, I've only been working with Linux for about a week here. I have Redhat Linux 9 running on a recent Pentium machine. Here's ...
    Neal CarielloNeal Cariello
    Apr 17, 2003 at 2:54 am
    Apr 17, 2003 at 7:32 pm
  • Dear R-helpers, i have a question on how to vectorize this problem: i have a dataframe: tester <- data.frame(groups=c("A","A","B","B","C","C"), one=c(1,1,2,2,3,3), two=c(6,6,7,7,8,8)) # i split it ...
    Remko DuursmaRemko Duursma
    Apr 15, 2003 at 6:20 pm
    Apr 16, 2003 at 6:27 pm
  • Hi. This will hopefully be readily understood but if not, bear with me. I have to do a repeated analysis (in spatstat) and want to batch file it. For each of my 'runs' certain variables change. At ...
    Suzanne E. BlattSuzanne E. Blatt
    Apr 15, 2003 at 10:32 pm
    Apr 16, 2003 at 12:29 pm
  • Greetings. I'm trying to determine whether to use rpart or randomForest for a classification tree. Has anybody tested efficacy formally? I've run both and the confusion matrix for rf beats rpart ...
    Apr 12, 2003 at 9:41 pm
    Apr 15, 2003 at 2:26 pm
  • Hey, R-listers I was recommended to try using smooth.spline function for estimating 2-Dimensinal curve given a data set. So will you please tell me where to get this R function? Or which package ...
    Feng ZhangFeng Zhang
    Apr 8, 2003 at 10:28 pm
    Apr 11, 2003 at 5:06 am
  • Dear R-listers Is there anyone who knows why I get different eigenvectors when I run MatLab and R? I run both programs in Windows Me. Can I make R to produce the same vectors as MatLab? #R Matrix ...
    Mikael NivaMikael Niva
    Apr 3, 2003 at 2:58 pm
    Apr 8, 2003 at 3:48 pm
  • Is there a function in R for calculating empirical cumulative distribution functions, i.e. the inverse of the quantile function? Perhaps in some library? I'd hate to have to re-invent the wheel ...
    DED (David George Edwards)DED (David George Edwards)
    Apr 3, 2003 at 11:20 am
    Apr 4, 2003 at 4:09 pm
  • Hi. I am trying some S-Plus scripts that I used a few years ago on R. Many things have worked flawlesly and I am very impressed with the work the developers have done. (As I remember, the license fee ...
    Don IsgittDon Isgitt
    Apr 2, 2003 at 7:02 pm
    Apr 3, 2003 at 9:31 pm
  • Greetings folks, Shafer's S-plus package "norm" for multiple imputation of missing values in multivariate normal data has been most kindly and usefully ported to R by Alvaro A. Novo. Shafer's website ...
    Ted HardingTed Harding
    Apr 1, 2003 at 12:49 pm
    Apr 1, 2003 at 6:56 pm
  • I am sorry for such a simple question but I just could not find a command to list functions (objects) in a certain library. I had to refer to library documents (often not readily available ) to find ...
    Bo PengBo Peng
    Apr 1, 2003 at 3:34 am
    Apr 1, 2003 at 5:37 pm
Group Navigation
period‹ prev | Apr 2003 | next ›
Group Overview
groupr-help @

406 users for April 2003

Prof. Brian Ripley: 104 posts Spencer Graves: 75 posts Peter Dalgaard BSA: 56 posts Thomas Lumley: 37 posts Thomas W Blackwell: 35 posts Uwe Ligges: 35 posts Liaw, Andy: 30 posts Martin Maechler: 23 posts Roger Peng: 22 posts Douglas Bates: 20 posts Ko-Kang Kevin Wang: 20 posts Marc Schwartz: 19 posts John Fox: 18 posts Sundar Dorai-Raj: 18 posts Duncan Murdoch: 17 posts Frank E Harrell Jr: 17 posts Dirk Eddelbuettel: 15 posts Jerome Asselin: 15 posts Richard A. Bilonick: 15 posts Feng Zhang: 13 posts
show more