Grokbase Groups R r-help April 2013
FAQ

Search Discussions

611 discussions - 2,034 posts

  • Given that we occasionally run into problems with comparing Excel results to R results, and other spreadsheet-induced errors, I thought this might be of interest ...
    Sarah GosleeSarah Goslee
    Apr 16, 2013 at 5:25 pm
    Apr 27, 2013 at 6:35 pm
  • Dear List members I have a large dataset organised in choice groups see sample below +-------------------------------------------------------------------------------------------------+ 1. | 4 1 0 ...
    Leask, GrahamLeask, Graham
    Apr 6, 2013 at 10:33 am
    Apr 7, 2013 at 8:22 am
  • Dear Rxperts, q <- data.frame(p=rep(c("A","B"),each=10,len=30), a=rep(c(1,2,3),each=10),id=seq(30), b=round(runif(30,10,20)), c=round(runif(30,40,70))) The operation below.. ...
    SantoshSantosh
    Apr 23, 2013 at 12:49 am
    Apr 25, 2013 at 7:39 am
  • Hi all scientists, Recently, I am dealing with big data ( 3G txt or csv format ) in my desktop (windows 7 - 64 bit version), but I can not read them faster, thought I search from internet. [define ...
    Kevin HaoKevin Hao
    Apr 26, 2013 at 3:09 pm
    Apr 27, 2013 at 5:15 pm
  • Hello all Is there a method/package in R in which I can do regressions for more than 50 independent variables ? Regards The woods are lovely, dark and deep But I have promises to keep And miles ...
    Nilesh GuptaNilesh Gupta
    Apr 18, 2013 at 7:24 pm
    Apr 20, 2013 at 1:39 pm
  • Dear all, Given the following vector: [1] "R project" "hello world" "something Else" I know how to obtain all capitals or all lower case letters: [1] "R PROJECT" "HELLO WORLD" "SOMETHING ELSE" I saw ...
    Liviu AndronicLiviu Andronic
    Apr 15, 2013 at 6:50 am
    Apr 15, 2013 at 3:09 pm
  • Hi, How do I write a superscript within gsub? I have the following: gsub("_mgkg",expression(paste("mg kg"^{-1})),names[1]) Thanks -- Shane
    Shane CareyShane Carey
    Apr 3, 2013 at 3:01 pm
    Apr 5, 2013 at 10:13 pm
  • Dear all, I've bumped into the: "Error in loadNamespace(name) : there is no package called ?R.utils?" error. I've already read a bit on this ( ...
    Liviu AndronicLiviu Andronic
    Apr 24, 2013 at 9:46 am
    Apr 25, 2013 at 10:32 am
  • Hello R users, For the last few days I am struggling with the following task: my data.frame: A1 A2 A3 B1 B2 B3 58.81 53.292 54.501 13.013 17.39 19.407 56.02 56.251 54.033 20.099 13.15 10.411 55.376 ...
    Simonas KecoriusSimonas Kecorius
    Apr 22, 2013 at 1:20 pm
    Apr 24, 2013 at 4:14 pm
  • every time I read the R release notes for the next release, I see many functions that I had forgotten about and many functions that I never knew existed to begin with. (who knew there were bibtex ...
    Ivo welchIvo welch
    Apr 4, 2013 at 5:34 am
    Apr 8, 2013 at 9:58 pm
  • H all, I have relative abundance data from 100 sites. This is from acoustic monitoring and usually the data is for 2-3 nights but in some cases my be longer like months or years for each location. ...
    Bruce MillerBruce Miller
    Apr 20, 2013 at 1:55 pm
    Aug 14, 2014 at 2:24 pm
  • Hello, I want to perform a latent class analysis using poLCA package. My formula is: substances <- cbind(subs1, subs2, subs3, subs4, subs5, subs6) ~ ...
    Ana Lucía Cárdenas MartínezAna Lucía Cárdenas Martínez
    Apr 3, 2013 at 8:48 am
    Apr 15, 2013 at 2:07 pm
  • I thought I've understood the 'order' function, using simple examples like: order(c(5,4,-2)) [1] 3 2 1 However, I arrived to the following example: order(c(2465, 2255, 2085, 1545, 1335, 1210, 920, ...
    Julio SergioJulio Sergio
    Apr 16, 2013 at 5:51 pm
    Apr 17, 2013 at 9:52 am
  • Hello, I am dealing with numeric vectors 10^5 to 10^6 elements long. The values are sorted (with duplicates) in the vector (v). I am obtaining the length of vectors such as (v < c) or (v c1 & v < ...
    Mikhail UmorinMikhail Umorin
    Apr 26, 2013 at 4:12 pm
    May 1, 2013 at 6:31 pm
  • Hello, I have a question and need your help urgently. I am new to R but want to learn it. I have several files in a folder which I have imported to R using : temp = list.files(pattern="*.txt") The ...
    Zilefac ElvisZilefac Elvis
    Apr 27, 2013 at 3:20 pm
    Apr 28, 2013 at 8:08 pm
  • Hello R-users, The below is a snippet of my data: fid crop year value 5_1_1 SWHE 1995 171 5_1_1 SWHE 1997 696 5_1_1 BARL 1996 114 5_1_1 BARL 1997 344 5_2_2 SWHE 1995 120 5_2_2 SWHE 1996 511 5_2_2 ...
    Shyam basnetShyam basnet
    Apr 20, 2013 at 6:23 pm
    Apr 21, 2013 at 6:04 am
  • Dear R-users, I have a dataset as like below, and I want to subtotal the values of rice,wheat and maize by year for each fid. fid year rice wheat maize ...
    Shyam basnetShyam basnet
    Apr 19, 2013 at 3:59 pm
    Apr 20, 2013 at 4:20 pm
  • Hey, Is it possible that R can calculate each options under each column and return a summary table? Suppose I have a table like this: Gender Age Rate Female 0-10 Good Male 0-10 Good Female 11-20 Bad ...
    Ye LinYe Lin
    Apr 18, 2013 at 10:46 pm
    Apr 19, 2013 at 10:44 pm
  • Hi, How can I plot two curves with distinct x and y vectors? I would like to join one of them by regular lines and plot the other just by points (no lines). Can it be done in regular R graphic tools, ...
    Jpm miaoJpm miao
    Apr 10, 2013 at 1:24 am
    Apr 11, 2013 at 5:35 am
  • Dear R-user, May I seek your suggestion. I have a data file 'stop' to be scanned in R. But I want to ignore one specific number '21' there. Putting differently, I want to get all numbers in the file ...
    Naser JamilNaser Jamil
    Apr 3, 2013 at 9:33 am
    Apr 7, 2013 at 4:17 pm
  • Dear all, I would like to fully document an analysis in R including script, output and workspace data. To do this I currently run under Linux $ R CMD BATCH myscript.R This command combines and saves ...
    Will EagleWill Eagle
    Apr 4, 2013 at 2:18 pm
    Apr 5, 2013 at 2:05 pm
  • Here is the code, assuming 8 cores in the cpu. library('modeest') library('snow') cl = makeCluster(rep('localhost', 8), 'SOCK') x = vector(length=50) x = sapply(x, function(i) i=sample(c(1,0), 1)) ...
    Kaiyin Zhong (Victor Chung)Kaiyin Zhong (Victor Chung)
    Apr 18, 2013 at 9:11 am
    Apr 29, 2013 at 7:08 pm
  • Hi all: For stratified count data,how to perform regression analysis? My data: age case oc count 1 1 1 21 1 1 2 26 1 2 1 17 1 2 2 59 2 1 1 18 2 1 2 88 2 2 1 7 2 2 2 95 age: 1:<40y 2: 40y case ...
    MengMeng
    Apr 24, 2013 at 4:15 am
    Apr 29, 2013 at 11:39 am
  • Dear All, I hope this is not too off topic. I am given a set of scatteplots (nothing too fancy; think about a normal x-y 2D plot). I do not deal with two time series (indeed I have no info about ...
    Lorenzo IsellaLorenzo Isella
    Apr 22, 2013 at 2:48 pm
    Apr 22, 2013 at 10:00 pm
  • Dear list, I am trying to plot histogram of a 10 by 5 matrix by columns. What is a good way to paste the column names? dput(a) structure(c(0.891856482875103, 0.249593821948295, 0.0385066520473322, ...
    C WC W
    Apr 18, 2013 at 10:30 pm
    Apr 19, 2013 at 4:17 am
  • Dear R forum, (Pl note this is not a finance problem) I have two data.frames as currency_df = data.frame(current_date = c("3/4/2013", "3/4/2013", "3/4/2013", "3/4/2013"), issue_date = c("27/11/2012", ...
    Katherine GobinKatherine Gobin
    Apr 3, 2013 at 10:21 am
    Apr 7, 2013 at 3:28 am
  • A stupid question but does anyone know how to express the actual colours used by the main Canadian political parties? I want to do a couple of ggplot2 plots and have lines or rectangles that ...
    John KaneJohn Kane
    Apr 3, 2013 at 1:08 pm
    Apr 5, 2013 at 1:12 pm
  • hi everybody I wonder if there is a simple way, but not simple would be ok too, to customize info/welcome page at session start time? what I'd like to do is to put together simple short howto / dos & ...
    LejeczekLejeczek
    Apr 4, 2013 at 11:20 am
    Apr 5, 2013 at 7:35 am
  • I am trying to replicate the SAS proc univariate in R. I got most of the stats I needed for a by grouping in a data frame using: all1 <- ddply(all,"ACT_NAME", summarise, mean=mean(COUNTS), ...
    RamossRamoss
    Apr 3, 2013 at 9:25 pm
    Apr 4, 2013 at 6:44 pm
  • Hi R-helpers, My real data is a panel (unbalanced and with gaps in years) of thousands of firms, by year and industry, and with financial information (variables X, Y, Z, for example), the number of ...
    Cecilia CarmoCecilia Carmo
    Apr 3, 2013 at 8:38 am
    Apr 4, 2013 at 3:43 pm
  • Is there a way to use read.csv() on such a file without deleting one of the header rows? Thanks.
    Analyst41Analyst41
    Apr 26, 2013 at 1:35 am
    Apr 27, 2013 at 2:57 pm
  • Greetings! For some reason I am not managing to work out how to do this (in principle) simple task! As a result of applying strsplit() to a vector of character strings, I have a long list L (N ...
    Ted HardingTed Harding
    Apr 25, 2013 at 10:16 am
    Apr 26, 2013 at 5:09 pm
  • Hello! I have Windows 7 Enterprise and two versions of R installed: 2.15.3 and 3.0.0. Before I had R 3.0 I made it a setting that all .RData files - when I double-click on them - were opened by R ...
    Dimitri LiakhovitskiDimitri Liakhovitski
    Apr 25, 2013 at 12:33 pm
    Apr 25, 2013 at 5:43 pm
  • I have 11 possible predictor variables and use them to model quite a few target variables. In search for a consistent manner and possibly non-manual manner to identify the significant predictor vars ...
    Jan HolsteinJan Holstein
    Apr 17, 2013 at 2:50 pm
    Apr 25, 2013 at 9:45 am
  • Dear users of R I have a subroutine in Fortran95, compiled to a DLL with gfortran in Cygwin 4.5.3. The subroutine is: subroutine MyPBP( S, p, N ) ! Expose subroutine rtest to users of this DLL !DEC$ ...
    Jens OlofssonJens Olofsson
    Apr 24, 2013 at 5:36 pm
    Apr 24, 2013 at 7:57 pm
  • Dear expeRts! when I try summarize data using "tabular" of tables package.. here is an example.. a b c 1 10 14 44 2 10 17 40 3 10 13 40 4 10 18 40 5 10 11 49 6 10 16 46 7 10 15 43 8 10 19 49 9 10 19 ...
    SantoshSantosh
    Apr 19, 2013 at 8:29 pm
    Apr 23, 2013 at 9:04 am
  • I have no idea where I must R CMD build... I am using Windows 7 wiht pearl installed http://stat.ethz.ch/R-manual/R-patched/library/utils/html/PkgUtils.html its completely unclear for me ... sorry ...
    Knut KruegerKnut Krueger
    Apr 20, 2013 at 11:06 am
    Apr 22, 2013 at 9:15 am
  • I am cleaning up the rms package to not export functions not to be called directly by users. rms uses generic functions defined in other packages. For example there is a latex method in the Hmisc ...
    Frank HarrellFrank Harrell
    Apr 19, 2013 at 2:26 pm
    Apr 22, 2013 at 2:05 am
  • Dear all, How can I get the source code of text function? Regards Eva
    Eva Prieto CastroEva Prieto Castro
    Apr 20, 2013 at 10:23 pm
    Apr 20, 2013 at 11:29 pm
  • Hello all, I have a problem with the way attributes are dealt with in the function xmlToList(), and I haven't been able to figure it out for days now. Say I have a document (produced by nmap) like ...
    Santiago gilSantiago gil
    Apr 12, 2013 at 7:20 pm
    Apr 17, 2013 at 2:05 am
  • Dear R forum, I have a data.frame as defied below - df = data.frame(names = c("C", "A", "A", "B", "C", "B", "A", "B", "C"), dates = c("4/15/2013", "4/13/2013", "4/15/2013", "4/13/2013", "4/13/2013", ...
    Katherine GobinKatherine Gobin
    Apr 15, 2013 at 6:01 am
    Apr 16, 2013 at 5:19 am
  • Dear all, I have a doubt: if I run windows(width=8.27, height=11.69), the size of an A4 paper, does it work correctly in all screens? Or does it depend on the inches of my screen?. I ask you about ...
    Eva Prieto CastroEva Prieto Castro
    Apr 6, 2013 at 6:53 am
    Apr 11, 2013 at 9:16 pm
  • Hi. I have 2 tables, with same dimensions (8000 x 5). Something like: tab1: V1 V2 V3 V4 V5 14.23 1.71 2.43 15.6 127 13.20 1.78 2.14 11.2 100 13.16 2.36 2.67 18.6 101 14.37 1.95 2.50 16.8 113 13.24 ...
    Silvano Cesar da CostaSilvano Cesar da Costa
    Apr 10, 2013 at 4:07 pm
    Apr 11, 2013 at 3:45 am
  • Hi, I bumped into a serious issue while trying to analyse some texts in Bulgarian language (with the tm package). I import a tab-separated csv file, which holds a total of 22 variables, most of which ...
    Ventseslav Kozarev, MPPVentseslav Kozarev, MPP
    Apr 9, 2013 at 7:10 am
    Apr 10, 2013 at 8:31 pm
  • Dear list members, I frequently program small scripts and wrap them into functions to be able to check them with checkUsage. In case these functions (loaded via source or copy pasted to the R ...
    JannisJannis
    Apr 8, 2013 at 6:12 pm
    Apr 10, 2013 at 4:23 pm
  • Can someone explain why this happens when one of the list elements is named 'all'? test bar foo 1 1 101 201 2 2 102 202 3 3 103 203 4 4 104 204 5 5 105 205 6 6 106 206 7 7 107 207 8 8 108 208 9 9 109 ...
    Harry MamayskyHarry Mamaysky
    Apr 8, 2013 at 7:54 pm
    Apr 9, 2013 at 2:04 pm
  • Dear all, I would like to have the same color for the all boxplots from the same panel, but my code below shows the two colors alternating. Thanks! set.seed(42) D1 <- rnorm(200) D2 <- ...
    Concha BielzaConcha Bielza
    Apr 7, 2013 at 8:45 pm
    Apr 8, 2013 at 4:07 pm
  • Hello, Some context: let's say I have a data series (let's call it PRICE, for simplicity), sample size N. I have a desire to regress that on TIME, and then to use the TIME and intercept coefficients ...
    Triskell4-umbrellaTriskell4-umbrella
    Apr 2, 2013 at 4:44 pm
    Apr 6, 2013 at 1:11 am
  • Hi- I just upgraded R to 3.0.0 from 2.15.1 (which worked fine). When I started trying to install updated versions of the libraries, I saw the following error: Installing package into ...
    Melissa KeyMelissa Key
    Apr 27, 2013 at 7:08 pm
    Apr 28, 2013 at 6:02 pm
  • Dear all, I'm trying to merge 2 dataframes, but I'm not being entirely successful and I can't understand why. Dataframe x1 State_prov Shape_name bob2009 bob 2010 bob2011 Nova Scotia Annapolis 0 0 1 ...
    Catarina FerreiraCatarina Ferreira
    Apr 26, 2013 at 5:10 pm
    Apr 26, 2013 at 9:19 pm
Group Navigation
period‹ prev | Apr 2013 | next ›
Group Overview
groupr-help @
categoriesr
discussions611
posts2,034
users527
websiter-project.org
irc#r

527 users for April 2013

Arun: 184 posts David Winsemius: 77 posts Rui Barradas: 56 posts Duncan Murdoch: 47 posts John Kane: 37 posts R. Michael Weylandt: 37 posts Peter dalgaard: 33 posts Bert Gunter: 32 posts Jeff Newmiller: 31 posts William Dunlap: 29 posts Liviu Andronic: 25 posts Shane Carey: 21 posts Jim Lemon: 20 posts S Ellison: 20 posts Prof Brian Ripley: 19 posts Berend Hasselman: 18 posts Katherine Gobin: 18 posts Adams, Jean: 16 posts Sarah Goslee: 16 posts Ye Lin: 16 posts
show more
Archives