FAQ

Search Discussions

932 discussions - 3,495 posts

  • I am using read.table to import a text file within R. There are several "errors" in my text file. An "extra" quotation mark has inadvertently been included within a few text fields. e.g. for a pipe ...
    Eva NordstromEva Nordstrom
    Sep 12, 2010 at 5:58 pm
    Sep 21, 2010 at 10:08 pm
  • Hi everyone, I�m looking for a clever bit of code to replace NA�s with a specific score depending on an indicator variable. I can see how to do it using lots of if statements but I�m sure there most ...
    Chris HowdenChris Howden
    Sep 1, 2010 at 1:11 pm
    Aug 12, 2011 at 5:16 am
  • Hi, Is it possible to convert a string vector to integer or numeric vector? In my situation I receive data in a string vector and have to convert it based on a given type. -- Rajesh.J
    Rajesh jRajesh j
    Sep 5, 2010 at 12:48 pm
    Jul 10, 2011 at 10:46 pm
  • Hi all, I have a package that is specific to a task I was repetitively using a few years ago. I now needed to run it again with new data. However I am told it was built with an older version or R and ...
    Neotropical bat risk assessmentsNeotropical bat risk assessments
    Sep 26, 2010 at 5:19 pm
    Sep 22, 2012 at 8:33 pm
  • Dear list, I would like to create a time series plot in which the paths of several individuals are stacked above each other, with the x-axis being the total observation period of three years ( ...
    Struve, JulianeStruve, Juliane
    Sep 23, 2010 at 1:50 pm
    Sep 29, 2010 at 3:11 pm
  • A few days ago Tal Galili posted a message about some controversies concerning the future of R. Having read the discussions, especially those following Ross Ihaka's post, I have come to the ...
    JaropisJaropis
    Sep 16, 2010 at 10:49 am
    Sep 18, 2010 at 9:32 am
  • Dear list! [[1]] [1] 1 5 attr(,"match.length") [1] 2 4 What I want is the offsets of the matches for the group (b+), i.e. 2 and 7, not the offsets of the complete matches. Is there a way in R to get ...
    Titus von der MalsburgTitus von der Malsburg
    Sep 27, 2010 at 3:48 pm
    Sep 30, 2010 at 12:12 pm
  • Hello, i wrote this function guete and now i want to plot it: but i get this error message. i hope someone can help me. Error in dim(robj) <- c(dX, dY) : dims [product 16] do not match the length of ...
    TuggiTuggi
    Sep 8, 2010 at 9:33 pm
    Sep 23, 2010 at 4:31 am
  • Suppose I have a data frame, such as the one below: tmp <- data.frame(index = gl(2,20), foo = rnorm(40)) And further assume it is sorted by index and then by the variable foo. tmp <- ...
    Doran, HaroldDoran, Harold
    Sep 20, 2010 at 5:16 pm
    Sep 21, 2010 at 4:43 pm
  • I'm attempting to create an array of treatment comparisons for modelling data generation. This involves comparison of one treatment (c2) with another (c3), relative to a common comparator (c1) ...
    Maas James Dr (MED)Maas James Dr (MED)
    Sep 17, 2010 at 2:51 pm
    Oct 13, 2010 at 11:02 am
  • hey, my function doesn?t work. can somebody help me? the graphic doesn?t work and also the function. thnx a lot. N n0 p_0=c(1/5,1-1/5) power = function(p,m) { set.seed(1000) ...
    JethiJethi
    Sep 26, 2010 at 6:39 am
    Sep 27, 2010 at 3:38 am
  • Hello everyone. I would like to create many objects with R. Does R support objects? The number of objects needed is not predetermined and it is a parameter specified by the user. If the user selects ...
    AlaiosAlaios
    Sep 14, 2010 at 7:20 am
    Sep 21, 2010 at 8:52 pm
  • Hello everyone. I have created a 100*100 matrix in R. Let's now say that I have a line that starts from (2,3) point and ends to the (62,34) point. In other words this line starts at cell (2,3) and ...
    AlaiosAlaios
    Sep 15, 2010 at 9:49 am
    Sep 21, 2010 at 10:26 am
  • If I combine elements into a list b <- c(22.4, 12.2, 10.9, 8.5, 9.2) my.c <- sample.int(round(2*mean(b)), 5) my.list <- list(b, my.c) the names of the elements seems to get lost in the process: List ...
    Hans EkbrandHans Ekbrand
    Sep 30, 2010 at 11:49 am
    Oct 5, 2010 at 12:39 am
  • Hello I want to unlist the attached element getting only the first element in each element of the list. The last element of the list looks as this: [[5065]] [[5065]]$Pluv3Meses [1] 274.4 ...
    Luis Felipe ParraLuis Felipe Parra
    Sep 26, 2010 at 11:12 pm
    Sep 30, 2010 at 8:05 pm
  • I have a command: write.table(table_list, file= paste("file", x, sep = "")) where x is the file name. How do I convert this file into a csv file in this statement? -- View this message in context ...
    Lord12Lord12
    Sep 17, 2010 at 1:49 am
    Sep 17, 2010 at 5:23 pm
  • I'm confused, hope someone can point out what is not obvious to me. I thought I was creating a new data frame by 'deleting' rows from an existing dataframe - I've tried 2 methods. But this new data ...
    PdbPdb
    Sep 21, 2010 at 11:41 am
    Sep 24, 2010 at 7:27 am
  • Dear fellow R-users, Is there a function that does the bisection method? I was unable to find one. Thanks in advance. Gregory
    Gregory GentlemenGregory Gentlemen
    Sep 10, 2010 at 10:10 pm
    Sep 20, 2010 at 7:09 pm
  • Hi everyone, I am trying to make some publication-quality plots for use in Microsoft Word, but I am having trouble creating high-quality plots that are supported by Microsoft Word. If I use the R ...
    DadrivrDadrivr
    Sep 15, 2010 at 2:38 pm
    Sep 16, 2010 at 5:02 pm
  • Dear all, I have a problem with the cat() function. Let say I have following: fn1 <- function(n = 5){ mat <- matrix(rnorm(5*5), 5, 5) cat(as.character(mat)) return(n) } However when I run above ...
    Christofer BogasoChristofer Bogaso
    Sep 14, 2010 at 11:00 am
    Sep 16, 2010 at 4:04 pm
  • hi, i'm new in R and i need some help. Please, ¿do you know a function how can process cross tables for many variables and show the result in one table who look like this? ...
    Jonathan FinlayJonathan Finlay
    Sep 8, 2010 at 10:40 pm
    Sep 9, 2010 at 6:22 pm
  • I have a (very big - 1.5 rows) dataframe with a (POSIXt" "POSIXlt") column h (hour). Surprisingly, I cannot calculate a simple aggregate over the dataframe. Error in sqliteExecStatement(con, ...
    Dimitri ShvorobDimitri Shvorob
    Sep 6, 2010 at 4:15 pm
    Sep 9, 2010 at 5:50 pm
  • hello, i did several binomial tests and noticed for one sparse dataset that binom.test(1,1,0.5) gives a p-value of 1 for the null, what i can't quite grasp. that would say that the a prob of 1/2 has ...
    Kay CichiniKay Cichini
    Sep 1, 2010 at 9:05 pm
    Sep 3, 2010 at 5:16 pm
  • Hi, I asked this on mixed model mailing list, but that list is not very active, so I'd like to try the general R mailing list. Sorry if anyone receives the double post. Hi, I have a dataset of ...
    Array chipArray chip
    Sep 17, 2010 at 7:14 pm
    Sep 21, 2010 at 10:20 pm
  • Greeting R helpers J I am not familiar with R but I have to use it to analyze data set that I have (30,000 20,000) I want to change the structure of the dataset and I am wondering how that might be ...
    Natasha AsarNatasha Asar
    Sep 12, 2010 at 2:45 pm
    Sep 16, 2010 at 4:11 pm
  • Hello Imagine I have a vector with ones and zeroes I write it compactly: 1111111100001111111111110000000001111111111100101 I need to get a new vector replacing the "N" ones following the zeroes to ...
    SkanSkan
    Sep 10, 2010 at 5:51 pm
    Sep 11, 2010 at 10:54 am
  • Hello, I have a bar plot where I am already using colour to distinguish one set of samples from another. I would also like to highlight a few of these bars as ones that should be looked at in ...
    Daniel BrewerDaniel Brewer
    Sep 9, 2010 at 2:03 pm
    Sep 11, 2010 at 6:51 am
  • Hi I had to use a glm instead of my basic lm on some data due to unconstant variance. now, when I plot the model over the data, how can I easily get the 95% confidence interval that sormally coming ...
    Zozio32Zozio32
    Sep 28, 2010 at 10:01 am
    Sep 29, 2010 at 4:41 pm
  • Hello everyone, I currently run R code that have to read 100 or more large csv files ( = 100 Mo), and usually write csv too. My collegues and I like R very much but are a little bit ashtonished by ...
    Statquant2Statquant2
    Sep 26, 2010 at 12:38 pm
    Sep 29, 2010 at 3:43 am
  • Hello, this might be little off-topic, but still... I have not found any official web forum for R users. Did I look good? If not, I'm sorry and shame on me! :-) Such forums are very probably the most ...
    Vojtěch ZeisekVojtěch Zeisek
    Sep 21, 2010 at 3:28 pm
    Sep 23, 2010 at 10:53 am
  • I'm writing an expression that requires searching a vector according to group. As an example, I want to find the maximum value in each of 5 groups. group=rep(1:5, each=5) # create grouping variable ...
    Seth W BigelowSeth W Bigelow
    Sep 21, 2010 at 12:59 am
    Sep 23, 2010 at 9:40 am
  • Hi all, I'm looking at a large data set, and I'm interested in removing rows where only one variable is duplicated. Here's an example: Qtr1 Qtr2 Qtr3 Qtr4 1945 NA 87 82 75 1946 63 50 43 32 1947 35 60 ...
    AndrewPageAndrewPage
    Sep 22, 2010 at 2:55 pm
    Sep 22, 2010 at 6:47 pm
  • Thanks Frank, I have one small question regarding this, understand you are very busy and if you cant answer i would greatly appreciate any thoughts from the list. I am a little confused. When i ran ...
    Chris McowenChris Mcowen
    Sep 21, 2010 at 10:24 am
    Sep 22, 2010 at 12:04 pm
  • Hey, R users I do not know how to describe my question. I am a new user for R and write the following?code for a dynamic labor economics?model and use OPTIM to get optimizations and parameter ...
    Hey SkyHey Sky
    Sep 7, 2010 at 2:38 pm
    Sep 15, 2010 at 8:34 pm
  • Dear useRs from the physiology department, Does someone know of an implementation of the SF-36 questionnaire scoring in R? I only found SAS and STATA versions, e.g ...
    Dieter MenneDieter Menne
    Sep 13, 2010 at 10:16 am
    Sep 13, 2010 at 4:01 pm
  • Dear list, I read in ?plotmath that I can use bgroup to draw scalable delimiters such as [ ] and ( ). The same technique fails with < however, and I cannot find a workaround, ...
    Baptiste auguieBaptiste auguie
    Sep 9, 2010 at 3:57 pm
    Sep 12, 2010 at 8:43 pm
  • I have a data file with a given time series of price data and I would like to split the time series into a test set and training set. I would then like to build an ARIMA model on the training set and ...
    Lord12Lord12
    Sep 5, 2010 at 5:45 pm
    Sep 8, 2010 at 1:42 am
  • Hi folks, Debian 504 64-bit I found following document; http://www.biostat.wisc.edu/~kbroman/Rintro/ Whether it is the right document for installing Emacs+ESS and R so that R can run on Emacs? TIA ...
    Stephen LiuStephen Liu
    Sep 6, 2010 at 4:18 pm
    Sep 7, 2010 at 7:44 pm
  • Dear community, I am currently trying to fit an ordinal logistic regression model with the polr function. I often get the same error message : "attempt to find suitable starting values failed", for ...
    BlackscorpioBlackscorpio
    Sep 6, 2010 at 7:48 pm
    Nov 15, 2010 at 2:19 pm
  • Dear All I was trying to install R-2.10.0-2.fc11.X86 in Fedora-13-i386 but it makes error. Could you please tell me which is the exact version of R for Fedora 13. Thanks in advance Kind Regards Wesley
    Wesley mathewWesley mathew
    Sep 14, 2010 at 11:14 am
    Sep 30, 2010 at 11:45 pm
  • Hi all, I am writing a function (fun.R), but I dont know how to code the function so that the Help Text will be shown up when one types ?fun (of course, after he loads it up). Anyone has any advice ...
    DukeDuke
    Sep 16, 2010 at 7:40 pm
    Sep 21, 2010 at 3:40 pm
  • Hello everyone... I would like to create a chart (see below), how can I do it with R? Any help, suggestion, samples... will be greatly appreciated. Thanks... Avi ...
    Avsha38Avsha38
    Sep 19, 2010 at 2:46 pm
    Sep 19, 2010 at 10:40 pm
  • Dear All, I'm using R for Mac OS X Cocoa GUI R version 2.11.1. I can save contents of my console window by using "command + s", but I would like to do same thing using R commands. My question is can ...
    Nobuaki MichihataNobuaki Michihata
    Sep 10, 2010 at 2:07 pm
    Sep 18, 2010 at 4:01 am
  • Hi all, I know from googling that this is a common problem; I've just tried what I understand to be the common solutions to know avail -- maybe I'm just confused. I installed Miktex 2.8 -- it seems ...
    Katie SurrenceKatie Surrence
    Sep 14, 2010 at 12:56 pm
    Sep 14, 2010 at 6:10 pm
  • Hi, How does R automatically load functions so that they are available from the workspace? Is it anything like Matlab - you just specify a directory path and it finds it? The reason I ask is because ...
    DrCJonesDrCJones
    Sep 8, 2010 at 7:25 am
    Sep 13, 2010 at 2:36 pm
  • Hi, Is there an easy way to convert numbers into a form such that they all have the same number of digits? e.g.: "1", "10", and "100" ...become... "0001", "0010", "0100" etc. I ask because I am ...
    Nick MatzkeNick Matzke
    Sep 10, 2010 at 8:05 pm
    Sep 11, 2010 at 8:55 am
  • Hi, I got two questions : 1st Question          a="S"          b=data.frame(S=3)          do.call(`<-`,list(do.call(`$`,list(b,"S")),5)) = How can I put new values on S ...
    OmerleOmerle
    Sep 10, 2010 at 8:05 am
    Sep 10, 2010 at 3:20 pm
  • Hi everyone, I'm observing what I believe is weird behaviour when attempting to do something very simple. I want a correlation matrix, but my matrix seems to contain correlation values that are not ...
    Stephane VaucherStephane Vaucher
    Sep 8, 2010 at 7:35 pm
    Sep 9, 2010 at 7:30 pm
  • Dear all, I have a barplot upon which I hope to superimpose horizontal lines extending across the width of each bar. I am able to partly achieve this through the following set of commands: positions ...
    Steve MurraySteve Murray
    Sep 9, 2010 at 3:35 pm
    Apr 18, 2011 at 8:08 pm
  • Hej, Calling newuoa (from the minqa package) makes R crash when the package rgl is loaded first. This however only on certain selected data. The data used for testing (saved to 'bugs.R'): xvals = ...
    Gaspard LequeuxGaspard Lequeux
    Sep 29, 2010 at 3:39 pm
    Oct 21, 2010 at 8:25 am
Group Navigation
period‹ prev | Sep 2010 | next ›
Group Overview
groupr-help @
categoriesr
discussions932
posts3,495
users860
websiter-project.org
irc#r

860 users for September 2010

David Winsemius: 224 posts Dennis Murphy: 101 posts Joshua Wiley: 90 posts Greg Snow: 70 posts Peng, C: 67 posts Duncan Murdoch: 65 posts Ben Bolker: 62 posts Michael Bedward: 51 posts Gabor Grothendieck: 50 posts Jim holtman: 46 posts Peter Dalgaard: 44 posts Uwe Ligges: 40 posts Henrique Dallazuanna: 38 posts Ravi Varadhan: 35 posts Jim Lemon: 34 posts Phil Spector: 32 posts Ivan Calandra: 29 posts Alaios: 28 posts Barry Rowlingson: 27 posts Rajeshj: 27 posts
show more
Archives