Grokbase Groups R r-help October 2012
FAQ

Search Discussions

783 discussions - 2,804 posts

  • I have a large dataset (~1 million rows) of three variables: ID (patient's name), DATE (of appointment) and DIAGNOSIS (given on that date). Patients may have been assigned more than one diagnosis at ...
    Stuart LeaskStuart Leask
    Oct 23, 2012 at 9:37 am
    Oct 26, 2012 at 2:34 pm
  • I'm studying alone the R language for data preparation. I found a course at MIT for data preparation that uses python but I'm using R to learning. The first exercise is the preparation of data from a ...
    NoobminNoobmin
    Oct 22, 2012 at 12:28 am
    Oct 24, 2012 at 2:05 am
  • Hello, I am a new R -user and request your help for the following problem. I need to merge two dataset of longitudinal study which has two column (id and respose) common. when I used merge option to ...
    Bibek sharmaBibek sharma
    Oct 1, 2012 at 9:25 pm
    Oct 29, 2012 at 1:06 pm
  • Hi all, I recently tried to calculate the mean and the median just for one column. In this column I have numbers with some empty cells due to missing data. So how can I calculate the mean just for ...
    Fxen3kFxen3k
    Oct 5, 2012 at 9:27 am
    Oct 8, 2012 at 3:18 pm
  • Dear all, I am trying to create a list, where each list element is a vector of different length arrays that contain 2by2 matrices. To be more specific there are 11 treatments that are compared with ...
    Loukia SpineliLoukia Spineli
    Oct 23, 2012 at 2:11 pm
    Oct 27, 2012 at 7:50 am
  • I've been trying to reshape this database but haven't succeed at it. I tried using loops but can't get it right. I just want to reshape my database from this matrix, to the one below, with only one ...
    Andrea GoijmanAndrea Goijman
    Oct 6, 2012 at 2:14 am
    Oct 8, 2012 at 1:56 pm
  • Sorry for the lack of reproducible data, but this seems to be a problem inherent to my dataset and I can't figure out where the issue is. I have several data frames set up as a time series with ...
    Vindoggy !Vindoggy !
    Oct 1, 2012 at 6:29 am
    Oct 19, 2012 at 12:56 am
  • How do I concatenate two vectors of factors? --8<---------------cut here---------------start------------- 8--- Factor w/ 9 levels "1","2","3","4",..: 5 4 3 2 1 9 8 7 6 5 ... --8<---------------cut ...
    Sam SteingoldSam Steingold
    Oct 18, 2012 at 4:44 am
    Oct 18, 2012 at 4:15 pm
  • I need an analogue of "uniq -c" for a data frame. xtabs(), although dog slow, would have footed the bill nicely: --8<---------------cut here---------------start------------- 8--- user system elapsed ...
    Sam SteingoldSam Steingold
    Oct 16, 2012 at 3:03 pm
    Oct 17, 2012 at 10:23 pm
  • fit lwr upr 1 218.4332 90.51019 346.3561 2 218.3906 90.46133 346.3198 3 218.3906 90.46133 346.3198 4 161.3982 44.85702 277.9394 5 192.4450 68.39903 316.4909 6 179.8056 56.49540 303.1158 7 219.5406 ...
    Liang CheLiang Che
    Oct 8, 2012 at 7:11 pm
    Oct 9, 2012 at 4:28 am
  • I have been trying to install RMySQL on Windows 7 following the procedure at: http://biostat.mc.vanderbilt.edu/wiki/Main/RMySQL I think I have properly installed RTools and created a proper ...
    Robert BaerRobert Baer
    Oct 9, 2012 at 9:08 pm
    Nov 19, 2012 at 3:47 pm
  • Hi, Using R 2.15.1 on Windows 7. Have installed both versions 32 and 64bit. In both of them among others I have installed a package rgenoud When I open R gui of 32bit and write library(rgenoud) it ...
    Aldi KrajaAldi Kraja
    Oct 16, 2012 at 4:41 pm
    Oct 16, 2012 at 9:02 pm
  • Hi Download the xls file from this link http://www.nseindia.com/content/fo/fii_stats_12-Oct-2012.xls <http://www.nseindia.com/content/fo/fii_stats_12-Oct-2012.xls I tried this ...
    VeepsirttVeepsirtt
    Oct 15, 2012 at 8:57 am
    Nov 19, 2012 at 10:53 am
  • Hello, I have a dataframe w/ 3 variables of interest: transaction,date(tdate) & time(event_tim). How could I create a 4th variable (last_trans) that would flag the last transaction of the day for ...
    RamossRamoss
    Oct 19, 2012 at 5:51 pm
    Oct 20, 2012 at 5:53 pm
  • I?m trying to set up proportional hazard model that is stratified with respect to covariate 1 and has an interaction between covariate 1 and another variable, covariate 2. Both variables are ...
    RmRm
    Oct 13, 2012 at 8:52 pm
    Oct 17, 2012 at 8:10 am
  • Dear R users, I am running R-2.15.1 in Linux Slackware64-14.0. Here is my minimal working example: testfun <- function (x) { a <- 0; sapply(X="a", FUN=get, envir=sys.frame(which=x)); } Inside R, that ...
    Martin IvanovMartin Ivanov
    Oct 7, 2012 at 9:16 am
    Oct 12, 2012 at 9:13 am
  • Hi everyone- I have a dataset with multiple "pre" and "post" variables I want to compare. The variables are named "apple_pre" or "pre_banana" with the corresponding post variables named "apple_post" ...
    Nundy, ShantanuNundy, Shantanu
    Oct 10, 2012 at 11:09 pm
    Oct 11, 2012 at 6:55 pm
  • Hi R listers, I am trying to group distances of nests to the vegetation into classes that are define by (0-5m, 6-10m, 11-15m, 16-20m, 21-25m, 26-30m, 31-35m, 36-40m, 41-45m, 46-50m, 51-55m, 56-60m) ...
    JhopeJhope
    Oct 4, 2012 at 7:27 am
    Oct 6, 2012 at 9:55 am
  • I have spatial data on a sphere (the Earth) for which I would like to run an gls model assuming that the errors are autcorrelated, i.e. including a corSpatial correlation in the model specification ...
    Dan BebberDan Bebber
    Oct 1, 2012 at 1:48 am
    Oct 4, 2012 at 12:04 am
  • Hello, I have to add "Age (bar(x).3) as a title on a chart. I am unable to get this to working. I have tried bquote, substitute and expression, but they are only doing a part of the job. new<- ...
    1Rnwb1Rnwb
    Oct 11, 2012 at 9:32 pm
    Nov 24, 2012 at 5:39 pm
  • Hi, I work with R on Windows, so I use ANSI encode; but when I run my projects on a linux or mac pc, It fails, so I change the encoding to unicode (in the same mac pc) and runs ok. The problema is ...
    Eva Prieto CastroEva Prieto Castro
    Oct 27, 2012 at 5:34 am
    Oct 28, 2012 at 4:41 pm
  • Dear Colleagues, I am attempting to develop an optimization routine for a river suspended sediment mixing model. I have Calcium and Magnesium concentrations (%) for sediments from 4 potential source ...
    Richard JamesRichard James
    Oct 19, 2012 at 2:25 pm
    Oct 27, 2012 at 9:04 am
  • I'd greatly appreciate your help in making a bar graph with multiple variables plotted on it. All the help sites I've seen so far only plot 1 variable on the y-axis Data set: I have 6 sites, each ...
    Macy AnonuevoMacy Anonuevo
    Oct 23, 2012 at 8:22 am
    Oct 26, 2012 at 11:39 am
  • Hi ,A simple question, How we can move a file from one location to another ? (i mean cut & paste)Can any one help fast please ?Thanks in advance- Antony -- View this message in context ...
    RantonyRantony
    Oct 17, 2012 at 8:49 am
    Oct 17, 2012 at 3:25 pm
  • Hi, I am working on Chinese language plot. But names and labels are in chinese language. How can i print chineese characters as lable in R plot. ?? ? ?? ?? 2 2 ? 3 4 ? 4 2 ??? 5 6 ? 6 3 like we can ...
    Manish GuptaManish Gupta
    Oct 12, 2012 at 2:16 am
    Oct 17, 2012 at 10:35 am
  • Dear all, I am trying to export my fixed effect results to Latex. I am using the plm package with the summary function. However, it does not look like apsrtable, stargazer, or any other package can ...
    Sebastian BarfortSebastian Barfort
    Oct 10, 2012 at 5:07 pm
    Oct 11, 2012 at 7:59 pm
  • Hi, just a simple question. Assumed i have a vector, FALSE TRUE TRUE TRUE FALSE TRUE FALSE TRUE FALSE or NA 1 1 1 NA 1 NA 1 NA what i need is the position where an element is the same - three (or in ...
    Mike SpamMike Spam
    Oct 8, 2012 at 12:55 pm
    Oct 8, 2012 at 6:40 pm
  • Hello, I have been trying to use a collection of Fortran subroutines to return a 2D array of calculated values to my R code, calling a Fortran wrapper subroutine from R. I've done this successfully ...
    PaulfjbrownePaulfjbrowne
    Oct 20, 2012 at 3:18 pm
    Oct 23, 2012 at 3:43 pm
  • Hi, I have a data frame with 100 variables (numeric and non numeric types), and I want to join them in only one column, like a vector, but i want to keep the non numeric variables like they are. I ...
    BrunosmBrunosm
    Oct 23, 2012 at 11:45 am
    Oct 23, 2012 at 2:42 pm
  • Hi, when using the grid package, I've come across this weird behaviour where a call to plot.new() will start a new page for a multi-page pdf, but then the margins will somehow behave strangely for ...
    Ali TofighAli Tofigh
    Oct 9, 2012 at 7:26 pm
    Oct 22, 2012 at 8:40 pm
  • I?m entirely stumped on this particular issue and really hoping someone has some advice for me. I am running a covariant model in lm I would like to give the standard errors or the confidence ...
    SigridSigrid
    Oct 10, 2012 at 1:49 pm
    Oct 20, 2012 at 8:11 pm
  • I would like to code the following in R: a1(b1+b2+b3) + a2(b1+b3+b4) + a3(b1+b2+b4) + a4(b1+b2+b3) or in summation notation: sum_{i=1, j\neq i}^{4} a_i * b_i I realise this is the same as: sum_{i=1, ...
    DjbananaDjbanana
    Oct 18, 2012 at 7:33 pm
    Oct 19, 2012 at 3:19 pm
  • Hi, I want to get a clean succinct list of all levels for all my factor variables. I have a dataframe that's something like #1 below. This is just an example subset of my data and my actual dataset ...
    Lopez, DanLopez, Dan
    Oct 16, 2012 at 3:19 pm
    Oct 17, 2012 at 9:10 pm
  • Hi R-listers, I am receiving an error - see below. Aeventexhumed is the event in which nesting occured, so it is defined by A, B, C. I thought as a factor was ok, tried to change it to as.character ...
    JhopeJhope
    Oct 6, 2012 at 8:12 am
    Oct 10, 2012 at 10:30 pm
  • Hello, I was trying to draw histograms of age at death and got the following 2 error messages: 1) Error in tapply(1:NROW(x), list(factor(strata)), function(index) { : arguments must have same length ...
    Muhuri, Pradip (SAMHSA/CBHSQ)Muhuri, Pradip (SAMHSA/CBHSQ)
    Oct 5, 2012 at 10:33 pm
    Oct 9, 2012 at 3:40 am
  • Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?... Nom : non disponible URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20121003/e5c52452/attachment.pl
    Hervy CyrilHervy Cyril
    Oct 3, 2012 at 9:12 am
    Oct 4, 2012 at 9:21 am
  • Hi, I have a table of pairs of individuals and a coefficient that belongs to the pair: ind1 ind2 coef 1 1 1 1 2 0.25 1 3 0.125 1 4 0.5 2 2 1 2 1 0.25 2 3 0.125 2 4 0.5 3 3 1 3 1 0.125 3 2 0.125 3 4 ...
    AHJAHJ
    Oct 1, 2012 at 4:17 pm
    Oct 2, 2012 at 3:13 pm
  • I'm going to use dhyper(x, m, n, k) to get a 95% coverage. Let me use an example to explain my problem: Suppose I have a urn containing 90 red and 10 black balls. Now I wanna remove 3 from the urn ...
    Jas4710Jas4710
    Oct 1, 2012 at 1:48 pm
    Oct 1, 2012 at 9:24 pm
  • Hello R Help, I am trying solve an MLE convergence problem: I would like to estimate four parameters, p1, p2, mu1, mu2, which relate to the probabilities, P1, P2, P3, of a multinomial (trinomial) ...
    Adam ZeilingerAdam Zeilinger
    Oct 5, 2012 at 5:12 am
    Dec 2, 2012 at 10:14 pm
  • I want to connect R with HTML/PHP pages to take input from user,do some statistical processing on it & show results to HTML page again. I search on net,i got Rserve package,but examples are mainly ...
    Sagarnikam123Sagarnikam123
    Oct 22, 2012 at 1:35 pm
    Nov 3, 2012 at 1:59 am
  • Hello, I think this is easy, but I can't seem to find a good way to do this in the R help. I have a list of sites, with multiple years of data for each site id. I want to create a new column that ...
    Meredith, Christy S -FSMeredith, Christy S -FS
    Oct 30, 2012 at 6:16 pm
    Nov 1, 2012 at 8:20 pm
  • Dear R experts This probably seems very easy to you guys, but I'm a beginner and would be really glad if someone helped me with this: I am trying to automate the execution of an R script (let's call ...
    SophieSophie
    Oct 29, 2012 at 10:43 am
    Oct 30, 2012 at 5:40 pm
  • Hello R user, Data below represent year in decimal. I would like to catagorize it in such a way that any valye [0,1] goes to catagory 1 , (1,2] goes to catagory 2 and so on.. Any suggestion how it ...
    Bibek sharmaBibek sharma
    Oct 24, 2012 at 10:52 pm
    Oct 26, 2012 at 10:30 pm
  • Dear R users, I need to run 1000 simulations to find maximum likelihood estimates. I print my output as a vector. However, it is taking too long. I am running 50 simulations at a time and it is ...
    Stats12Stats12
    Oct 26, 2012 at 3:23 am
    Oct 26, 2012 at 10:01 pm
  • Hi folks, I know, this is a fairly common question and I am really disappointed that I could not find a solution. I am trying to calculate Mahanalobis distances in a data frame, where I have several ...
    LangvinceLangvince
    Oct 25, 2012 at 11:14 pm
    Oct 26, 2012 at 1:06 pm
  • Hi -I am using R v 2.13.0. I am trying to use the aggregate function to calculate the percent at length for each Trip_id and CommonName. Here is a small subset of the data. Trip_id Vessel CommonName ...
    Sally_romanSally_roman
    Oct 25, 2012 at 2:19 pm
    Oct 25, 2012 at 8:21 pm
  • Hi, i'm trying to simplify some R code but i got stucked in this: test<-data.frame(cbind(id,x1,x2,x3,x4,x5,x6,x7)) test id x1 x2 x3 x4 x5 x6 x7 1 1 36 26 21 32 31 27 31 2 2 45 21 46 50 22 36 29 3 3 ...
    BrunosmBrunosm
    Oct 12, 2012 at 9:50 am
    Oct 25, 2012 at 7:27 pm
  • Hello! I would like to make a scatterplot of my data, but the problem is that several points have the same x and y values and are represented as only one point. I wonder if there is a way to ...
    SwertieSwertie
    Oct 22, 2012 at 8:34 am
    Oct 23, 2012 at 11:10 am
  • Hi All, I'm a little stumped by the following problem. I've got a dataset with the following structure: idxy ix iy country (other variables) 1 1 1 c1 x1 2 1 2 c1 x2 3 1 3 c1 x3 . . . . . 3739 55 67 ...
    Andrew Crane-DroeschAndrew Crane-Droesch
    Oct 20, 2012 at 7:36 am
    Oct 22, 2012 at 3:51 pm
  • Dear all! I'm quite new to R and at this moment a little bit lost in trying to make a function work with a for loop that has two variables (i and j) and multiple if statements.. I hope that someone ...
    IngaschwabeIngaschwabe
    Oct 18, 2012 at 10:35 am
    Oct 19, 2012 at 2:08 pm
Group Navigation
period‹ prev | Oct 2012 | next ›
Group Overview
groupr-help @
categoriesr
discussions783
posts2,804
users701
websiter-project.org
irc#r

701 users for October 2012

Arun: 178 posts Rui Barradas: 157 posts David Winsemius: 115 posts R. Michael Weylandt: 106 posts Bert Gunter: 55 posts Jeff Newmiller: 55 posts Berend Hasselman: 45 posts William Dunlap: 44 posts Duncan Murdoch: 41 posts PIKAL Petr: 34 posts Prof Brian Ripley: 30 posts Sarah Goslee: 28 posts Greg Snow: 26 posts Ben Bolker: 22 posts Jhope: 20 posts Loukia Spineli: 20 posts Jim Holtman: 19 posts S Ellison: 19 posts David L Carlson: 18 posts Jim Lemon: 18 posts
show more
Archives