FAQ

Search Discussions

571 discussions - 1,960 posts

  • I have a large data.frame Z (2,424,185,944 bytes, 10,256,441 rows, 17 columns). I want to get the result of table(aggregate(Z$V1, FUN = length, by = list(id=Z$V2))$x) alas, aggregate has been running ...
    Sam SteingoldSam Steingold
    Sep 14, 2012 at 7:26 pm
    Nov 27, 2012 at 6:50 pm
  • Hi, I am trying to run many different regressions using a FOR Loop. The input data that is read into R has the following variables · Volume · Price1 · Price2 · Price3 · Price4 · Price5 · Trend · ...
    Krunal NanavatiKrunal Nanavati
    Sep 26, 2012 at 7:08 am
    Sep 28, 2012 at 3:42 pm
  • I hope you can help with this one. I have two matricies: 1. A species abundance matrix: <http://r.789695.n4.nabble.com/file/n4643979/2species_matrix.jpg 2. A species trait score matrix ...
    BenrgillespieBenrgillespie
    Sep 24, 2012 at 11:47 am
    Sep 25, 2012 at 5:10 pm
  • Hi everyone, I've recently moved from using a windows machine to a Mac (some might call it an upgrade, others not?I'll let you be the judge). Once I started using Notepad ++ on my windows machine, I ...
    Steven WolfSteven Wolf
    Sep 27, 2012 at 12:48 am
    Sep 27, 2012 at 3:35 pm
  • Dear all, I'm looking for primary help at aggregating table() results and at writing a loop (if useful) My dataset ( http://goo.gl/gEPKW ) is composed of 23k rows, each one representing a point in ...
    Davide RizzoDavide Rizzo
    Sep 13, 2012 at 1:36 pm
    Sep 19, 2012 at 1:29 pm
  • Folks, A small group of us are working together to develop a set of R functions to support data management and analysis using Eclipse/StatET in a Windows environment. We are using Git/EGit for ...
    Curt SeeligerCurt Seeliger
    Sep 27, 2012 at 12:25 am
    Sep 27, 2012 at 5:44 pm
  • Hi, I was looking for a function like "which()" but only returns the first argument. Compare: x <- c(1,2,3,4,5,6) y <- 4 which(x y) returns: 5,6 which(x y)[1] returns: 5 which(x y)[1] is exactly what ...
    Mike SpamMike Spam
    Sep 19, 2012 at 2:20 pm
    Sep 21, 2012 at 6:56 pm
  • Hi I have a dataframe similar to: Sample Time Mass 1 1 1 3.0 2 1 2 3.1 3 1 3 3.4 4 2 1 4.0 5 2 2 4.3 6 2 3 4.4 7 3 1 3.0 8 3 2 3.2 9 3 3 3.5 where for each sample, I've measured mass at different ...
    Julie Lee-YawJulie Lee-Yaw
    Sep 17, 2012 at 11:15 pm
    Sep 19, 2012 at 8:10 am
  • I am just starting to experiment with writing a function and have run into what seems like a limitation or more likely a lack of understanding on my part. Very Simple Example: I want to define a ...
    WwreithWwreith
    Sep 7, 2012 at 6:00 pm
    Sep 7, 2012 at 9:19 pm
  • Hi, Why does the upper left panel (in the plot below) not have a gray background? Cheers, Marius require(grid) require(gridBase) pdf(file="Rplot.pdf", width=8, height=8, onefileúLSE) ## set up the ...
    Marius HofertMarius Hofert
    Sep 23, 2012 at 9:36 pm
    Sep 26, 2012 at 8:30 pm
  • Hello This request asks something beyond the technicalities of the R language, I would like to ask you wonderful people if you have ever suffered as programmers ( or de facto programmers like myself ...
    Research emailResearch email
    Sep 4, 2012 at 12:55 pm
    Oct 3, 2012 at 12:53 pm
  • Hi Everyone, I am trying a very simple task to append the Timestamp with a variable name so something like a_2012_09_27_00_12_30 <- rnorm(1,2,1). Tried some commands but it doesn't work out well ...
    Bhupendrasinh ThakreBhupendrasinh Thakre
    Sep 28, 2012 at 6:13 am
    Sep 28, 2012 at 6:24 pm
  • Dear R-help community, I am unable to access help files when using the typical "?function.of.interest" command. For example, if I type "?anova", Internet Explorer opens, but I am never connected to ...
    Basil IannoneBasil Iannone
    Sep 19, 2012 at 6:19 pm
    Sep 20, 2012 at 11:52 pm
  • Dear R users, i have a matrix with 31 rows and 444 columns and i want to extract every 37th column of that matrix starting from 1. more precisely i want to select columns 1, 38,75, 112 and so on ...
    Eliza bottoEliza botto
    Sep 18, 2012 at 2:55 pm
    Sep 18, 2012 at 7:07 pm
  • Hey, I am still working on my heat map (for those who are read my previous post about row.names)� Now, I would like to save my heat map.2 in .png or .tiff in order being able to work on the picture ...
    STADLER FredericSTADLER Frederic
    Sep 9, 2012 at 2:04 pm
    Sep 10, 2012 at 8:39 am
  • Hi everyone, I have a data frame Gene with SNPs eg. P1 P2 P3 CG CG GG -- -- AC -- AC CC AC -- AC I tried to replace all the GG with a value 3. Gene[Gene=="GG"]<-3 It always give me: Warning in ...
    JiangZhengyuJiangZhengyu
    Sep 26, 2012 at 7:52 pm
    Sep 29, 2012 at 3:38 am
  • Hi I would like to fit a non-linear regression to the follwoing data: quantiles<-c(seq(.05,.95,0.05)) slopes<-c( 0.000000e+00, 1.622074e-04 , 3.103918e-03 , 2.169135e-03 , 9.585523e-04 ,1.412327e-03 ...
    Benedikt GehrBenedikt Gehr
    Sep 27, 2012 at 5:43 pm
    Sep 27, 2012 at 9:34 pm
  • Hi guys, It would be great if you could help me with this one... I'm looking to create a script to convert a matrix of species abundance e.g ...
    BenrgillespieBenrgillespie
    Sep 24, 2012 at 11:20 am
    Sep 24, 2012 at 3:10 pm
  • Hello All, I am writing to ask your opinion on how to interpret this case. I have two vectors "a" and "b" that I am trying to compare. The wilcoxon test is giving me a pvalue of 5.139217e-303 of a ...
    Mohamed Radhouane AnibaMohamed Radhouane Aniba
    Sep 19, 2012 at 5:46 pm
    Sep 21, 2012 at 8:18 am
  • I see this: --8<---------------cut here---------------start------------- 8--- [1] 229 --8<---------------cut here---------------end--------------- 8--- where are those locals without the language ...
    Sam SteingoldSam Steingold
    Sep 19, 2012 at 5:50 pm
    Sep 19, 2012 at 7:18 pm
  • Dear R user I want to create a table (as below) to summarize the attached data (Test.csv, which can be read into R by using 'read.csv(Test.csv, header=F)' ), to indicate the day that there are any ...
    HJ YANHJ YAN
    Sep 5, 2012 at 11:57 pm
    Sep 18, 2012 at 12:19 pm
  • summary: how to structure an R file such that it can be both 1. used as a script via, e.g., (from OS commandline) $ Rscript foo.r bar=baz 2. imported and called as a function via, e.g. (from R ...
    Tom RocheTom Roche
    Sep 11, 2012 at 11:00 pm
    Sep 14, 2012 at 4:37 pm
  • Hello everyone, I am running a mixed effects model where I have two fixed factors, one with 2 levels and one with 4, and their interaction. Let's say these are my factors and their levels ...
    Stephen Politzer-AhlesStephen Politzer-Ahles
    Sep 7, 2012 at 6:46 pm
    Sep 11, 2012 at 12:46 pm
  • line 109 did not have 5 elements ... but it did! empty beginning of file ... but it's not! details: --8<---------------cut here---------------start------------- 8--- get.language.ISO.table <- ...
    Sam SteingoldSam Steingold
    Sep 13, 2012 at 5:42 pm
    Dec 8, 2012 at 11:04 pm
  • Hi folks, Suppose I create the character vector charvec by [1] "a1.b1" "a2.b2" and then I use strsplit on charvec as follows: [[1]] [1] "a1" "b1" [[2]] [1] "a2" "b2" I was wondering whether there is ...
    David RomanoDavid Romano
    Sep 7, 2012 at 6:12 pm
    Nov 2, 2012 at 8:14 pm
  • Hi all, I am wondering if do exist a function in R that allow me to sample or choose randomly the rows (i.e., samples) inside a given matrix. Thank you very much in advance. Cheers, -- Gian
    Gian Maria Niccolò BenucciGian Maria Niccolò Benucci
    Sep 13, 2012 at 8:42 am
    Oct 4, 2012 at 10:18 am
  • Hello, I am making a boxplot of 13 boxes. I tried to color the box using 13 colors but failed. Only red and brown were displayed. Green, blue, and grey disappeared. Please kindly advise modification ...
    Elaine KuoElaine Kuo
    Sep 24, 2012 at 10:23 pm
    Sep 26, 2012 at 4:23 pm
  • my reproducible example test<-structure(list(site = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 3L, 3L, 3L, 3L, 3L, 3L, 4L, 4L, 4L, 4L, 4L, 4L, ...
    MaxbreMaxbre
    Sep 20, 2012 at 2:18 pm
    Sep 26, 2012 at 11:26 am
  • Hi, I am starting coding in r and one of the things that i want to do is to scrape some data from the web. The problem that I am having is that I cannot get passed the disclaimer page (which produces ...
    CPVCPV
    Sep 19, 2012 at 12:57 am
    Sep 23, 2012 at 7:17 am
  • Hi, I am trying to import csv file in R console I have saved my data in a file on the desktop named R and here is my problematic script Error: bad restore file magic number (file may be corrupted) -- ...
    Anthi OikonomouAnthi Oikonomou
    Sep 19, 2012 at 8:54 am
    Sep 20, 2012 at 5:28 am
  • Suppose I want the output as "Trial and a sheet" without quotes x=c("a", "b", "c") print("Trial and x[1] sheet") Getting "Trial and x[1] sheet" Can anyone help? Notice: The information contained in ...
    Sri krishna Devarayalu BalanaguSri krishna Devarayalu Balanagu
    Sep 18, 2012 at 9:40 am
    Sep 19, 2012 at 4:28 pm
  • Window 7 R 2.15 I am writing a simulation which generates sample sized estimates from simulated data. When I run the function shown below, ...
    John SorkinJohn Sorkin
    Sep 19, 2012 at 12:10 am
    Sep 19, 2012 at 1:25 am
  • Even though I work with R since a year or so I still struggle with simple problems. I hope someone can help me with this. Been trying for days and am a little frustrated now. I have a data frame ...
    TagmarieTagmarie
    Sep 17, 2012 at 10:03 am
    Sep 18, 2012 at 2:03 pm
  • Dear R users, I have a reproducible data and try to create new variable "clo" is 1 if know variable is equal to "very well" or "fairly well" and getalong is 4 or 5 otherwise it is 0. rep_data<- ...
    Niklas FischerNiklas Fischer
    Sep 15, 2012 at 8:36 pm
    Sep 16, 2012 at 5:59 pm
  • Dear R helpers, (At the outset I sincerely apologize if I have not put forward my following query properly, though I have tried to do so.) Following is a curtailed part of my R - code where I am ...
    Vincy PyneVincy Pyne
    Sep 12, 2012 at 6:51 am
    Sep 12, 2012 at 3:00 pm
  • Hi, i have a dataframe containing some values. for eg:- MyDataFrame<- Name Age Place ------- ------ ----------- Aby 12 USA Raj 25 UK Romi 32 ENG Amy 31 IND My requirement what is, i have a search key ...
    RantonyRantony
    Sep 11, 2012 at 7:11 am
    Sep 11, 2012 at 3:41 pm
  • Hi All, I have a data set wit three size classes (pico, nano and micro) and 12 different sites (Seamounts). I want to produce a table with the mean and standard deviation values for each site ...
    Tinus SonnekusTinus Sonnekus
    Sep 7, 2012 at 8:49 pm
    Sep 9, 2012 at 12:09 pm
  • Hi everyone Can anyone help? x = c("Treatment", "Planned", "Actual", "Demographics", "Outcomes") for (i in x) { df <- paste(i)[, c("Reference_ID", "Arm_ID")] unique(df) - uniq ...
    Sri krishna Devarayalu BalanaguSri krishna Devarayalu Balanagu
    Sep 6, 2012 at 6:54 am
    Sep 7, 2012 at 1:24 pm
  • List of 4 $ :'data.frame': 700773 obs. of 3 variables: ..$ V1: chr [1:700773] "200130446465779" "200070050127778" "200030633708779" "200010587002779" ... ..$ V2: int [1:700773] 0 0 0 0 0 0 0 0 0 0 ...
    Sam SteingoldSam Steingold
    Sep 6, 2012 at 3:51 am
    Sep 6, 2012 at 5:53 pm
  • Hello This is Elaine. I am using package lattice to generate boxplots. Using Richard's code, the display was almost perfect except the outlier shape. Based on the following code, the outliers are ...
    Elaine KuoElaine Kuo
    Sep 28, 2012 at 2:48 am
    Sep 29, 2012 at 1:43 pm
  • Hi, There are certainly several ways to test, whether a longer vector includes a subvector. For instance, c(1,4,6) is included in c(2,1,1,4,6,3). How to test this and which would be the fastest way ...
    Atte TenkanenAtte Tenkanen
    Sep 27, 2012 at 9:00 pm
    Sep 28, 2012 at 6:19 pm
  • I'm not able to create the proper syntax to specify a lattice bwplot() for only one of two conditioning factors. The syntax that produces a box plot of each of the two conditioning factors is ...
    Rich ShepardRich Shepard
    Sep 28, 2012 at 2:49 pm
    Sep 28, 2012 at 5:31 pm
  • I am working with some large text files (up to 16 GBytes). I am interested in extracting the words and counting each time each word appears in the text. I have written a very simple R program by ...
    McelisMcelis
    Sep 24, 2012 at 11:29 pm
    Sep 26, 2012 at 7:58 am
  • Hi, I have a table with data, as below: dput(table): structure(list(Adrian.Cole = c(0L, 0L, 0L, 0L, 0L, 0L), Alison.Wong = c(0L, 0L, 0L, 0L, 0L, 0L), Andrei.Savu = c(0L, 0L, 0L, 0L, 0L, 0L), ...
    S.s.m. fauziS.s.m. fauzi
    Sep 26, 2012 at 12:55 am
    Sep 26, 2012 at 2:29 am
  • Dear useRs, my question could be very basic for which i apologize in advance. Each column of a matrix with dimensions 365 rows and 37 columns was drawn against another matrix of dimensions 365 rows ...
    Eliza bottoEliza botto
    Sep 21, 2012 at 11:11 pm
    Sep 22, 2012 at 11:12 pm
  • Hello, I am working with a dataset with three variables and one binomial parameter. The glm function provides coefficients for these three variables, e.g. -1.5 | 27.2 | -2.9 If I'm not mistaken, ...
    SirRonSirRon
    Sep 20, 2012 at 1:55 pm
    Sep 21, 2012 at 9:41 am
  • Dear list, I wish to plot chromatin precipitation data: I would like to have a rectangles (x:end-start, y:peak) but I do not have an idea how to define x (in terms of qplot syntax) and to choose the ...
    Hermann NorpoisHermann Norpois
    Sep 15, 2012 at 4:39 pm
    Sep 20, 2012 at 9:30 pm
  • Good afternoon all - While making a steady progress in learning R after Matlab I encountered a problem which seems to require some extra help to move over. Basically I want to merge a data from ...
    IgorIgor
    Sep 19, 2012 at 4:12 pm
    Sep 19, 2012 at 10:54 pm
  • a=c(1,2,3) b=c(23, 24, 25) x=c("a", "b") #if (length(x[1]) == 0) {cat("x[1] is having 3 elements")} Suppose I want to send the vector a into the Object A, um getting only "a" as the ouput for Object ...
    Sri krishna Devarayalu BalanaguSri krishna Devarayalu Balanagu
    Sep 17, 2012 at 12:13 pm
    Sep 18, 2012 at 3:53 pm
  • Hi, How to zip a csv file ? i tried with "zipfile.ZipFile" - but it showing function could not find. Is there have any other way to zip files without installing any package ? - Thanks in advance ...
    RantonyRantony
    Sep 13, 2012 at 12:10 pm
    Sep 18, 2012 at 2:49 pm
Group Navigation
period‹ prev | Sep 2012 | next ›
Group Overview
groupr-help @
categoriesr
discussions571
posts1,960
users554
websiter-project.org
irc#r

554 users for September 2012

Rui Barradas: 121 posts David Winsemius: 107 posts Arun: 103 posts R. Michael Weylandt: 63 posts Bert Gunter: 55 posts Jeff Newmiller: 43 posts Duncan Murdoch: 42 posts Berend Hasselman: 36 posts PIKAL Petr: 33 posts William Dunlap: 31 posts Bhupendrasinh Thakre: 27 posts John Kane: 26 posts Sam Steingold: 20 posts Jim Holtman: 18 posts Uwe Ligges: 18 posts David L Carlson: 16 posts Jim Lemon: 16 posts Marius Hofert: 15 posts Benrgillespie: 13 posts Peter dalgaard: 13 posts
show more
Archives