Grokbase Groups R r-help May 2007

Search Discussions

722 discussions - 2,211 posts

  • I'm attempting to build an R package for distribution and am working from the directions found at n-Win I've read through ...
    Doran, HaroldDoran, Harold
    May 3, 2007 at 6:32 pm
    May 5, 2007 at 2:17 pm
  • Hi all, apologies for seeking advice on a general stats question. I ve run normality tests using 8 different methods: - Lilliefors - Shapiro-Wilk - Robust Jarque Bera - Jarque Bera - Anderson-Darling ...
    May 25, 2007 at 1:20 pm
    May 29, 2007 at 3:03 pm
  • Hi, Is there a function for raising a matrix to a power? For example if you like to compute A%*%A%*%A, is there an abbreviation similar to A^3? Atte Tenkanen [,1] [,2] [1,] 1 1 [2,] -1 -2 [,1] [,2] ...
    Atte TenkanenAtte Tenkanen
    May 6, 2007 at 9:07 am
    May 9, 2007 at 2:44 pm
  • This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by R configure 2.4.1, which was generated by GNU Autoconf ...
    Vipin SinghalVipin Singhal
    May 1, 2007 at 11:09 am
    Jul 31, 2008 at 9:14 pm
  • Dear All I am trying to perform the below optimization problem, but getting (0.5,0.5) as optimal solution, which is wrong; the correct solution should be (1,0) or (0,1). Am I doing something wrong? I ...
    Paul SmithPaul Smith
    May 7, 2007 at 9:30 pm
    May 8, 2007 at 3:21 pm
  • Dear All: I am running some GUI functions in linux environment, they runs fine, however I constantly get this kind of message in R console: Warning: X11 protocol error: BadWindow (invalid Window ...
    Hao LiuHao Liu
    May 18, 2007 at 3:25 pm
    Aug 12, 2008 at 2:05 pm
  • Hi. I'm having trouble testing for existence of an object inside a function. Suppose I have a function: f<-function(x){ ... } and I call it with argument y: f(y) I'd like to check inside the function ...
    Talbot KatzTalbot Katz
    May 15, 2007 at 2:48 pm
    May 15, 2007 at 8:00 pm
  • Dear all, I'm struggling with weighted least squares, where something that I had assumed to be true appears not to be the case. Take the following data set as an example: df <- data.frame(x = ...
    Hadley wickhamHadley wickham
    May 8, 2007 at 9:08 am
    May 9, 2007 at 1:34 pm
  • Hi I am using R version 2.4.1. How can I upgrade to version 2.5 without having to install all the packages again? Thanks Jason Dr. Iasonas Lamprianou Department of Education The University of ...
    Iasonas LamprianouIasonas Lamprianou
    May 2, 2007 at 3:25 pm
    Mar 26, 2009 at 7:51 am
  • Dear r-helpers, I wonder whether, given the "#rrggbb" representation of a colour, there is a simple way to select the complementary colour, also expressed as a "#rrggbb" string. Any suggestions would ...
    John FoxJohn Fox
    May 21, 2007 at 10:17 pm
    May 22, 2007 at 5:09 pm
  • Dear ALL: Could you please let me know how to read SAS data file into R. Thank you so much for your helps. Regards; Abou ========================== AbouEl-Makarim Aboueissa, Ph.D. Assistant Professor ...
    AbouEl-Makarim AboueissaAbouEl-Makarim Aboueissa
    May 10, 2007 at 7:51 pm
    May 11, 2007 at 7:52 pm
  • Greetings - I'm finally finished review, here's what I heard: ============ from Tobias Verbeke: <span class="m_body_email_addr" title="8ac0aad3dbd7cf42b2bd295e20d4b870" ...
    Anthony RossiniAnthony Rossini
    May 9, 2007 at 2:26 pm
    May 10, 2007 at 2:21 pm
  • Hi, All, I'm writing a wrapper for stop that produces a popup window using tcltk. Something like: error <- function(...) { msg <- paste(..., sep = "") if(!length(msg)) msg <- "" if(require(tcltk, ...
    Sundar Dorai-RajSundar Dorai-Raj
    May 30, 2007 at 9:53 pm
    May 31, 2007 at 9:22 pm
  • Hi, I am trying to use R at work and at home on the same computer. At work, I have a proxy, and at home, I do not. I have, for work, a User environment variable "http_proxy" which I set in the OS ...
    Matt PettisMatt Pettis
    May 30, 2007 at 1:49 am
    May 30, 2007 at 3:51 pm
  • Hi, everybody, 3 questions about R-square: ---------(1)----------- Does R2 always increase as variables are added? ---------(2)----------- Does R2 always greater than 1? ---------(3)----------- How ...
    May 17, 2007 at 11:02 am
    May 24, 2007 at 7:37 pm
  • I have the following csv file: name,x,y,z category,delta,gamma,epsilon a,1,2,3 b,4,5,6 c,7,8,9 I'd like to create a numeric matrix of just the numbers in this csv dataset. I've tried the following ...
    Andrew YeeAndrew Yee
    May 16, 2007 at 12:10 pm
    May 16, 2007 at 3:45 pm
  • Dear all, This is a little bit off-topic, but I was wondering if anyone has any informed opinion on whether data (ie. a dataset) is copyrightable? Hadley
    Hadley wickhamHadley wickham
    May 12, 2007 at 6:59 pm
    May 14, 2007 at 3:41 pm
  • Hi All, I found "mvfft" in R and "fft2" in Matlab give different result and can't figure out why. My example is: In R: [,1] [,2] [1,] 1 2 [2,] 4 20 [,1] [,2] [1,] 5+0i 22+0i [2,] -3+0i -18+0i In ...
    Li LiLi Li
    May 2, 2007 at 11:06 pm
    Aug 1, 2008 at 2:24 pm
  • Hi, Without trying to print 1000000 points (see <http:// ), I often print maps for which I do not want to loose too much of coastline detail, ...
    Chabot DenisChabot Denis
    May 22, 2007 at 10:32 am
    Feb 7, 2008 at 11:21 pm
  • Hi R users, Is there a simple function that can add a folder into current R search path? For example, suppose my current work directory is "D:\work", but my input files are stored in folder ...
    Zhiliang MaZhiliang Ma
    May 29, 2007 at 1:08 pm
    May 30, 2007 at 11:32 am
  • I am (desperately) trying to get used to using a Mac here at my new location. (Why *anyone* would ever use anything other than Linux, except under duress as I am, totally escapes me, but that's ...
    Rolf TurnerRolf Turner
    May 21, 2007 at 6:14 am
    May 22, 2007 at 6:30 am
  • Hello. I have a 2d plot which looks like this: This plot is derived from a file that holds statistics about each point on the plot and looks like this: a b c d e ...
    May 7, 2007 at 2:00 pm
    May 10, 2007 at 11:46 am
  • Hello all! I am once again analyzing patient survival data with chronic liver disease. The severity of the liver disease is given by a number which is continuously variable. I have referred to this ...
    Gregory PierceGregory Pierce
    May 3, 2007 at 2:21 am
    Jul 31, 2008 at 9:14 pm
  • dear all - I currently use Tinn-R as my text editor to work with code that I submit to R, with some output dumped to text files, some images dumped to pdf. (system: Windows 2K and XP, R 2.4.1 and R ...
    Tim HowardTim Howard
    May 30, 2007 at 8:43 pm
    May 31, 2007 at 8:10 am
  • Dear all, I have a list of precipitation record and a list of time I would like to sum them up per hour, or per day. Does such a function exist ? example: time<-c("2000-10-03 14:00:00","2000-10-03 ...
    Jessica GervaisJessica Gervais
    May 24, 2007 at 6:49 pm
    May 30, 2007 at 12:17 am
  • The help page of eval says: The 'evalq' form is equivalent to 'eval(quote(expr), ...)'. But the following is not equivalent. Can anyone give me some explaination? Thanks very much. [1] 2 $x1 [1] 2 ...
    May 27, 2007 at 3:47 am
    May 28, 2007 at 6:01 am
  • Hello folks, So I'd like to use the lattice xyplot function, but here's the thing; I'd like a grid on it and a bit of annotation (line and text). So I tried just using the panel.grid, panel.text and ...
    Gav WoodGav Wood
    May 9, 2007 at 5:32 pm
    May 9, 2007 at 7:55 pm
  • Hi I have a dataframe which has 3 columns of numeric data A,B,C each of which has been obtained independent of the other. We are trying to find out, which of A or B cause C i.e. We are hypothesising ...
    Lalitha viswanathLalitha viswanath
    May 2, 2007 at 3:55 pm
    Jul 31, 2008 at 8:01 pm
  • The warning is harmless - R is just reporting that it has stopped the dynamically linked libraries resetting a flag that they should not change while R is running. If you followed the notes in ...
    Roger BivandRoger Bivand
    May 30, 2007 at 9:00 pm
    May 31, 2007 at 10:15 pm
  • I'm trying to install R-2.4.1, everything configure's and make's OK, but the make check fails: running code in 'd-p-q-r-tests.R' ...make[3]: *** [d-p-q-r-tests.Rout] Error 1 make[3]: Leaving ...
    Adam WitneyAdam Witney
    May 24, 2007 at 3:21 pm
    May 25, 2007 at 3:06 pm
  • Hello, I am facing a problem with lapply which I ''''think''' may be a bug. This is the most basic function in which I can reproduce it: myfun <- function() { foo = data.frame(1:10,10:1) foos = ...
    May 18, 2007 at 2:41 pm
    May 18, 2007 at 5:42 pm
  • Hi R-users, I have a simple question for R heavy users. If I have a data frame like this dfr <- data.frame(id=1:16, categ=rep(LETTERS[1:4], 4), var3=c(8,7,6,6,5,4,5,4,3,4,3,2,3,2,1,1)) dfr <- ...
    Lauri NikkinenLauri Nikkinen
    May 18, 2007 at 1:15 pm
    May 18, 2007 at 3:53 pm
  • I have a question that must have a simple answer (but eludes me). I need a row-by-row logical comparison across three numeric variables in a data frame: foo$x, foo$y, foo$z. The logic is if( x < y || ...
    Greg TarpinianGreg Tarpinian
    May 10, 2007 at 2:39 pm
    May 11, 2007 at 9:00 am
  • Each day the daily balance in the following link http://www. is updated. I would like to set up an R procedure to be run daily in a ...
    May 9, 2007 at 2:47 pm
    May 10, 2007 at 1:54 pm
  • Hello R-Users, I have been using (nnet) by Ripley to train a neural net on a test dataset, I have obtained predictions for a validtion dataset using: PP<-predict(nnetobject,validationdata) Using PP I ...
    nathaniel Greynathaniel Grey
    May 6, 2007 at 12:02 pm
    May 10, 2007 at 9:51 am
  • I wrote an ugly algorithm to set certain elements of a matrix to 1 without looping and below works and you can see what The output is below the code. K<-6 lagnum<-2 ...
    Leeds, Mark (IED)Leeds, Mark (IED)
    May 8, 2007 at 9:21 pm
    May 9, 2007 at 10:26 pm
  • hie l would like to create a 6th column "actual surv time" from the following data the condition being if censoringTime survivaltime then actual survtime =survival time else actual survtime ...
    Raymond chirukaRaymond chiruka
    May 7, 2007 at 2:27 pm
    May 9, 2007 at 8:07 am
  • Hi, I've just produced my first lattice plot - the graphic is very impressive, but I only partly understand how it works. I crimped from examples in MASS and the help pages to get most of what I want ...
    Tyler SmithTyler Smith
    May 26, 2007 at 7:34 pm
    May 30, 2007 at 4:04 pm
  • Hi all, Looking to calculate the expected mean and variance of a ratio distribution where the source distributions are gaussian with known parameters and sample values are correlated. I see (from ...
    Mike LawrenceMike Lawrence
    May 24, 2007 at 6:08 pm
    May 29, 2007 at 1:51 pm
  • R-Help, I discovered a "mis-feature" is ghostscript, which is used by the bitmap function. It seems that specifying file names in the form "~/abc.png" rather than "/home/directory/abc.png" causes my ...
    McGehee, RobertMcGehee, Robert
    May 25, 2007 at 3:44 pm
    May 28, 2007 at 9:50 am
  • Hi.. I'm not sure why polygon returns an area above the standard normal curve. z <- pretty(c(-3,3), 100) ht <- dnorm(z) data <- data.frame(z=z, ht=ht) zc <- 1.645 plot(data, type="l") lines(data) t ...
    May 26, 2007 at 10:34 am
    May 26, 2007 at 7:20 pm
  • Hi List I'm running a series of mixed models using lme, and I wonder if there is a way to sort them by AIC prior to testing using anova (lme1,lme2,lme3,....lme7) other than by hand. My current output ...
    Ken NussearKen Nussear
    May 24, 2007 at 12:32 am
    May 25, 2007 at 10:20 am
  • Hi All, I am still new and so good with R. I am looking for anyone who can help me with a script that can read and merge two ascii rainfall datasets but discarding all the similar/repeated years ...
    Marshall L. MdokaMarshall L. Mdoka
    May 23, 2007 at 12:06 pm
    May 24, 2007 at 2:59 pm
  • Hello, I have a basic problem but i can't figure it out with the table underneath. I would like to compute monthly averages. I would like to have the average measure for month #5 for the first three ...
    Benoit ChemineauBenoit Chemineau
    May 22, 2007 at 5:01 pm
    May 23, 2007 at 11:03 am
  • New to R; please excuse me if this is a dumb question. I tried to RTFM; didn't help. I want to do a series of regressions over the columns in a data.frame, systematically varying the response ...
    Chris ElsaesserChris Elsaesser
    May 17, 2007 at 3:01 pm
    May 21, 2007 at 11:54 am
  • I saw the R-help to run some R programs in batch I used it like this Erreur : erreur de syntaxe dans "R CMD" but without success!!!I don't work on linux but on windows IS it the same command ? ...
    Elyakhlifi mustaphaElyakhlifi mustapha
    May 14, 2007 at 3:01 pm
    May 18, 2007 at 8:39 pm
  • Basically, I?m trying to install rJava on my windows XP machine. I think I have succeeded in doing so as it appears in the list when i type library() in R. However, when i type ?library(rJava)? I get ...
    May 17, 2007 at 10:44 am
    May 17, 2007 at 5:37 pm
  • Hi, I am very new to R. I am trying to perform an Anova Test and see if it differs or not. Basically, i have 4 tests and 1 control. Tester Test1 Test2 Test3 Test4 Control 20 25 15 10 17 The inference ...
    May 15, 2007 at 2:39 pm
    May 15, 2007 at 7:40 pm
  • Hi, Apologies for the long mail. I have a data.frame with columns of price/mcap data for a portfolio of stocks, and the date. To get the total value of the portfolio on a daily basis, I calculate ...
    Patnaik, TirthankarPatnaik, Tirthankar
    May 14, 2007 at 6:23 am
    May 15, 2007 at 1:22 pm
  • Hi everyone, sorry if this was discussed before (and in this situation, could you please point me to the discussion in the archive? My search didn't seem to be effective). Is there a way of getting ...
    Benilton CarvalhoBenilton Carvalho
    May 11, 2007 at 3:53 pm
    May 11, 2007 at 6:13 pm
Group Navigation
period‹ prev | May 2007 | next ›
Group Overview
groupr-help @

618 users for May 2007

Gabor Grothendieck: 107 posts Prof Brian Ripley: 102 posts Duncan Murdoch: 51 posts Marc Schwartz: 42 posts Vladimir Eremeev: 41 posts Jim holtman: 38 posts Peter Dalgaard: 32 posts John Kane: 27 posts Mister_bluesman: 26 posts Petr PIKAL: 26 posts Hadley wickham: 25 posts Deepayan Sarkar: 24 posts Sundar Dorai-Raj: 22 posts Elyakhlifi mustapha: 21 posts Adaikalavan Ramasamy: 20 posts Frank E Harrell Jr: 20 posts Dimitris Rizopoulos: 18 posts Douglas Bates: 18 posts Uwe Ligges: 18 posts Raymond chiruka: 17 posts
show more