Grokbase Groups R r-help January 2011
FAQ

Search Discussions

882 discussions - 2,869 posts

  • # Can anyone suggest why this works datafilename <- "http://personality-project.org/r/datasets/maps.mixx.epi.bfi.data" person.data <- read.table(datafilename,header=TRUE) # but this does not? dd <- ...
    John KaneJohn Kane
    Jan 6, 2011 at 7:53 pm
    Sep 28, 2011 at 10:02 pm
  • Hello I am trying to determine wether a given matrix is symmetric and positive matrix. The matrix has real valued elements. I have been reading about the cholesky method and another method is to find ...
    Alex SmithAlex Smith
    Jan 29, 2011 at 12:22 pm
    Feb 1, 2011 at 6:34 pm
  • I want to predict values from an existing lm (linear model, e.g. lm.obj) result in R using a new set of predictor variables (e.g. newdata). However, it seems that because my linear models was made by ...
    Russell PierceRussell Pierce
    Jan 28, 2011 at 9:37 pm
    Jan 31, 2011 at 3:04 am
  • Dear all, I would like to know which is the right way to check the normality assumption for performing ANOVA. How do you check normality for the following example? I did an experiment where people ...
    Frodo JediFrodo Jedi
    Jan 5, 2011 at 11:28 am
    Jan 11, 2011 at 9:42 pm
  • Dear expeRts, is there a neat way to *completely* stop a script after an error occured? For example, consider the following script: ## ==== file.R ==== for(i in 1:10){ print(i) if(i == 5) stop("i == ...
    Marius HofertMarius Hofert
    Jan 15, 2011 at 8:09 am
    Apr 8, 2011 at 5:38 pm
  • Dear R-users, This is a loop which is part of a bigger script. I managed to isolate the error in this loop and simplified it to the bare minimum and made it self-contained. a<-c(2,3,4,5,5,5,6,6,6,7) ...
    Roy MathewRoy Mathew
    Jan 24, 2011 at 6:16 pm
    Jan 26, 2011 at 8:18 am
  • Hello all, I recently installed rpy2 so that I could use R through Python. However, R was not recognized in the command line. So I decided to add it to the PATH variables. But it just doesnt ...
    Aaditya NanduriAaditya Nanduri
    Jan 5, 2011 at 5:39 am
    Jan 14, 2011 at 3:43 am
  • hi I am seeing a strange behavior I can't understand... doing: Error in rep.int(c(prompt.echo, continue.echo), c(leading, length(dep) - : invalid 'times' value 3: rep.int(c(prompt.echo, ...
    Matthieu StiglerMatthieu Stigler
    Jan 24, 2011 at 5:07 pm
    Feb 6, 2011 at 2:09 am
  • Folks: The following has NOTHING (obvious) to do with R. But I believe that all on this list would find it relevant and, I hope, informative. It is LONG. I apologize in advance to those who feel I ...
    Bert GunterBert Gunter
    Jan 6, 2011 at 6:56 pm
    Jan 7, 2011 at 8:52 pm
  • I was running a sampling syntax based on a data frame (ago) of 160 rows and 25 columns. Below are the column names: [1] "SubID" "AGR1" "AGR2" "AGR3" "AGR4" "AGR5" "AGR6" "AGR7" "AGR8" [10] "AGR9" ...
    WangwallaceWangwallace
    Jan 18, 2011 at 4:32 pm
    Nov 8, 2011 at 10:10 am
  • Hi, I'm trying to make a ts object that has both NA values and a frequency other than 1 (so I can use stl). I've tried all permutations I can think of, but cannot get the desired (expected?) ...
    Adam OlinerAdam Oliner
    Jan 18, 2011 at 11:33 pm
    Jan 19, 2011 at 11:43 pm
  • In my rms package I use the packagename:::functionname construct in a number of places. If I instead use the importFrom declaration in the NAMESPACE file would that require the package to be ...
    Frank HarrellFrank Harrell
    Jan 3, 2011 at 9:45 pm
    Jan 5, 2011 at 2:02 pm
  • Hi, I'm trying to take a function from a workspace download provided in a stats textbook book, so I have it in my workspace to use all the time. I opened the workspace and typed the names of the two ...
    Ben WardBen Ward
    Jan 4, 2011 at 10:36 am
    Jan 4, 2011 at 8:33 pm
  • Hello there, any ideas on how to save all the objects on my workspace inside a list object? For example, say my workspace is as follows ls() [1] "x" "y" "z" and suppose I want to put these objects ...
    Eduardo de Oliveira HortaEduardo de Oliveira Horta
    Jan 3, 2011 at 5:25 pm
    Jan 4, 2011 at 5:05 pm
  • I have a frustrating issue which I am hoping someone may have a suggestion about. I am running XP and R 2.12.0 and saved an EXCEL file that I was sent as a csv file. The initial code I ran follows ...
    BgreenBgreen
    Jan 14, 2011 at 2:44 am
    Jan 17, 2011 at 5:43 pm
  • Tinn-R (http://www.sciviews.org/Tinn-R/) is one of the topmost suggestions when googling an R-(text-)editor for Windows. However, to me it appears dissappointing that Tinn-R does not handle utf-8 ...
    Sascha ViewegSascha Vieweg
    Jan 28, 2011 at 6:55 pm
    Jan 31, 2011 at 1:59 pm
  • Hi, I have defined a function (my.func) which is used as parameter (f) of another function. As I want to give the user the possibility to define his own function instead of my.func, how can I find ...
    Carol whiteCarol white
    Jan 10, 2011 at 12:47 pm
    Jan 10, 2011 at 6:50 pm
  • Hi I am trying to convert SAS codes to R, but some of the result are quite different from SAS. When I ran proc mixed, I have an option ddfm=bw followed by the model. How can I show this method in ...
    BelleBelle
    Jan 27, 2011 at 7:43 pm
    Jan 31, 2011 at 7:42 pm
  • Hello everyone, I am currently working with some data where I need to select the first occurrence of a value after the occurrence of another value. The data has two columns, one with a time and one ...
    SurreyjSurreyj
    Jan 14, 2011 at 9:22 am
    Jan 17, 2011 at 11:29 pm
  • Hi, Is there an expression to double the values of a matrix - without using a loop? What I need is this: Suppose we have this matrix [,1] [,2] [,3] [1,] 7 17 4 [2,] 11 10 18 [3,] 15 19 18 and I want ...
    ADiasADias
    Jan 17, 2011 at 1:53 pm
    Jan 17, 2011 at 10:03 pm
  • I would like to plot 3-dimensional data on a two-dimensional scatter-plot. Is there a way I can automatically modify the plot symbol (e.g. changing size or color) to indicate the value of a third ...
    John SorkinJohn Sorkin
    Jan 12, 2011 at 7:19 pm
    Jan 14, 2011 at 12:23 am
  • Greetings all, I am failing to install the package rggobi on windows 7 with R 2.12.0. On R 2.11.1, the package was installed fine. I asked for help on the rggobi google group 4 days ago, and didn't ...
    Tal GaliliTal Galili
    Jan 25, 2011 at 5:27 pm
    Nov 18, 2012 at 1:22 am
  • Dear R-users, Is there a way I can prevent global variables to be visible within my functions? Sebastien
    Sebastien BihorelSebastien Bihorel
    Jan 6, 2011 at 9:45 pm
    May 6, 2012 at 10:23 pm
  • Hi, I am trying to construct a svmpoly model using the "caret" package (please see code below). Using the same data, without changing any setting, I am just changing the seed value. Sometimes it ...
    NeetiNeeti
    Jan 24, 2011 at 5:44 pm
    Jan 26, 2011 at 6:10 pm
  • Dear R people Could you please help. Basically, there are two variables in my data set. Each patient ('id') may have one or more diseases ('diagnosis'). It looks like id diagnosis 1 ah 2 ah 2 ihd 2 ...
    DenDen
    Jan 20, 2011 at 8:53 am
    Jan 23, 2011 at 11:32 pm
  • Dear [R] people Could you please help with following data transformation. Any suggestions, hints, references and even guessing on performing any of the following steps are highly appreciated. Those ...
    DenDen
    Jan 21, 2011 at 12:25 pm
    Jan 21, 2011 at 11:10 pm
  • Dear R community, I'm running R 32 bits in a 64-bits machine (with 16Gb of Ram) using a PAE kernel, as you can see here: $ uname -a Linux mymachine 2.6.18-238.el5PAE #1 SMP Sun Dec 19 14:42:44 EST ...
    Mauricio ZambranoMauricio Zambrano
    Jan 17, 2011 at 10:46 am
    Jan 19, 2011 at 1:55 pm
  • hello, I am very new to R. My current data set is a mix of values and categories. It is a geoscience data set, with values per rock sample. Case in point, each sample belongs to a lithology class, ...
    Ben HarrisonBen Harrison
    Jan 18, 2011 at 6:48 am
    Jan 19, 2011 at 9:30 am
  • Dear Soren and R users: I am trying to use the summaryBy function with weights. Is this possible? An example that illustrates what I am trying to do follows: library(doBy) ## make up some data ...
    Solomon MessingSolomon Messing
    Jan 17, 2011 at 6:27 am
    Jan 17, 2011 at 11:35 pm
  • Hello everybody!!!! Quick question, if you'd like to throw a little tip: does anyone knows a function that runs piecewise regression models with coefficients estimation and inferences ? Thank you
    Federico BonofiglioFederico Bonofiglio
    Jan 14, 2011 at 2:42 pm
    Jan 15, 2011 at 3:39 pm
  • Hi I am writing simulations in R, and quite regularly, I have to save lists and objects to HDD and load it later again. So I am wondering: why is there no function to write lists (and S3, S4 objects) ...
    Rainer M KrugRainer M Krug
    Jan 10, 2011 at 2:24 pm
    Jan 10, 2011 at 9:28 pm
  • Hi, I am having a problem in doing something similar to this example: Suppose I have this vector a, and from it I wish to create 5 other vector each one with less one value than what object a has So ...
    ADiasADias
    Jan 4, 2011 at 6:00 am
    Jan 4, 2011 at 6:12 pm
  • Dear all, Given rr<-data.frame(r1<-rnorm(1000,10,5),r2<-rnorm(1000,220,5)) How can I add a column (rr$p) for the joint probability of each r1 & r2 pair? I know how to add the column.. I just dont ...
    MolepsMoleps
    Jan 31, 2011 at 8:42 pm
    Feb 1, 2011 at 9:49 pm
  • Hi, I have a Dataframe. A B C D 0.1 0.7 0.9 0.8 0.20 0.60 0.80 0.70 0.40 0.80 0.70 0.76 I need a resultant dataframe (A-B) (C-D) -0.6 0.1 -0.40 0.1 -0.40 -0.06 Any suggestion would be of a great help ...
    RamyaRamya
    Jan 31, 2011 at 1:32 am
    Jan 31, 2011 at 7:10 pm
  • I am trying to model survival data with a Weibull distribution using survreg. Units are clustered two apiece, sometimes receiving the same treatment and sometimes opposing treatment. Residual and ...
    Johannes HuesingJohannes Huesing
    Jan 10, 2011 at 8:26 pm
    Jan 31, 2011 at 4:45 pm
  • Hello to all again :) Again, I have an issue with my homework. I was troubling myself for two days, and I still can't get it :( So, if someone can help me, I would be so grateful... HOMEWORK 1. I ...
    GajaGaja
    Jan 26, 2011 at 9:06 pm
    Jan 27, 2011 at 10:50 am
  • Hello all, I wish to extract the terms from an rpart object. Specifically, I would like to be able to know what is the response variable (so I could do some manipulation on it). But in general, such ...
    Tal GaliliTal Galili
    Jan 26, 2011 at 5:33 pm
    Jan 26, 2011 at 7:46 pm
  • I'm new to R and some what new to the world of stats. I got frustrated with excel and found R. Enough of that already. I'm trying to test and correct for Heteroskedasticity I have data in a csv file ...
    MojoMojo
    Jan 20, 2011 at 7:08 pm
    Jan 21, 2011 at 3:20 pm
  • sorry, I forgot my sessionInfo: please see below. -------- Original Message -------- Subject: puzzled with plotmath Date: Thu, 20 Jan 2011 12:48:18 +0100 From: Claudia Beleites <cbeleites at units.it ...
    Claudia BeleitesClaudia Beleites
    Jan 20, 2011 at 11:51 am
    Jan 20, 2011 at 11:53 pm
  • Dear all, how can I perform a string operation like strsplit(x," ") on a column of a dataframe, and put the first or the second item of the split into a new dataframe column? (so that on each row it ...
    Boris pezzattiBoris pezzatti
    Jan 18, 2011 at 3:30 pm
    Jan 19, 2011 at 8:57 am
  • Hi Assuming the following: 'data.frame': 10 obs. of 2 variables: $ a: int 1 2 3 4 5 6 7 8 9 10 $ b: num 0.692 0.325 0.634 0.16 0.873 ... 'data.frame': 10 obs. of 3 variables: $ X: int 1 2 3 4 5 6 7 8 ...
    Rainer M KrugRainer M Krug
    Jan 13, 2011 at 11:26 am
    Jan 14, 2011 at 8:08 am
  • This is probably embarrassingly basic, but I have spent quite a few hours in Google and RSeek without getting a clue - probably I'm asking the wrong questions... There is this guy who has decided to ...
    Rainer SchuermannRainer Schuermann
    Jan 8, 2011 at 11:56 am
    Jan 10, 2011 at 7:32 am
  • I assume this has a "proper" name, but I don't know what it is and wondered if anyone knew of a package that might do the following, or something similar. As an example, assume I have borrowed and ...
    Graham SmithGraham Smith
    Jan 4, 2011 at 4:27 pm
    Jan 5, 2011 at 6:12 pm
  • Hi, I have several matrix in a list, for example: e [[1]] [,1] [,2] [1,] 1 3 [2,] 2 4 [[2]] [,1] [,2] [1,] 1 4 [2,] 2 5 [3,] 3 6 [[3]] [,1] [,2] [1,] 2 1 I would like to join them by column i.e. [,1] ...
    Emj83Emj83
    Jan 6, 2011 at 10:56 am
    Jun 18, 2011 at 4:52 am
  • Dear R users, I'm using xyplot to obtain a graph about a correlation x~y for different years (a categoric variable). The program dispose automatically the graphs in this way: 2010 2007 2008 2009 2004 ...
    Francesco NutiniFrancesco Nutini
    Jan 31, 2011 at 10:44 am
    Feb 22, 2011 at 3:37 pm
  • Hi, I have a data.frame and I need to know witch store sold more "Lapiseiras". I got a point where I am almost sure I am very closed to the answer but I am missing somethiing. So, the data frame is ...
    ADiasADias
    Jan 30, 2011 at 10:27 pm
    Feb 2, 2011 at 2:05 pm
  • I'd like to use vectorization to take a 4 point moving window on standard deviation on the close column and create another variable (st.dev) in the dataframe. Here's the dataframe head(xyz) Date ...
    EricEric
    Jan 30, 2011 at 7:39 pm
    Jan 31, 2011 at 12:42 am
  • Dear List, I am not sure if A) this is possible or B) the correct place to ask. I am looking to find the mean - i have n, and the two-tailed confidence intervals 0.95 & 0.25 with a p-value of 0.05 ...
    Peter FrancisPeter Francis
    Jan 28, 2011 at 10:15 pm
    Jan 30, 2011 at 4:01 am
  • Hi R-users, I'm trying to find an elegant way to count the number of rows in a dataframe with a unique combination of 2 values in the dataframe. My data is specifically one column with a year, one ...
    Ryan UtzRyan Utz
    Jan 25, 2011 at 7:25 pm
    Jan 26, 2011 at 5:06 pm
  • Hello, All, How can I maintain the decimal places when using write.table()? Jim e.g. df: EFFECT2 PVALUE 1 0.023 0.88080 2 -0.260 0.08641 3 -0.114 0.45200 ...
    Jim MoonJim Moon
    Jan 26, 2011 at 12:16 am
    Jan 26, 2011 at 5:01 pm
Group Navigation
period‹ prev | Jan 2011 | next ›
Group Overview
groupr-help @
categoriesr
discussions882
posts2,869
users802
websiter-project.org
irc#r

802 users for January 2011

David Winsemius: 169 posts Uwe Ligges: 62 posts Joshua Wiley: 59 posts Dennis Murphy: 58 posts Henrique Dallazuanna: 55 posts Prof Brian Ripley: 47 posts Gabor Grothendieck: 44 posts Peter Ehlers: 43 posts Jim Holtman: 41 posts Greg Snow: 39 posts Duncan Murdoch: 36 posts Ben Bolker: 31 posts Tal Galili: 30 posts Petr Savicky: 26 posts Petr PIKAL: 25 posts Bert Gunter: 24 posts Alaios: 23 posts André Dias: 22 posts Ivan Calandra: 22 posts Frodo Jedi: 21 posts
show more
Archives