Grokbase Groups R r-help March 2014
FAQ

Search Discussions

422 discussions - 1,222 posts

  • What I'm using: R version 3.0.1 (2013-05-16) -- "Good Sport" Copyright (C) 2013 The R Foundation for Statistical Computing Platform: x86_64-unknown-linux-gnu (64-bit) According to some docs, ...
    Mike MillerMike Miller
    Mar 15, 2014 at 12:59 am
    Mar 18, 2014 at 10:55 am
  • Greetings, I'm a software engineer with Intel. Recently I've been investigating R performance on Intel Xeon and Xeon Phi processors and RH Linux. I've also compared the performance of R built with ...
    Anspach, Jonathan PAnspach, Jonathan P
    Mar 4, 2014 at 9:44 pm
    Sep 15, 2014 at 2:45 pm
  • How can I label existing axis tick marks with a simple function of axis value like 1/AxisValue? It seems like this should be an operation where I just use the formula. -- View this message in ...
    HurrHurr
    Mar 31, 2014 at 10:25 pm
    Apr 11, 2014 at 10:05 pm
  • For time series plots using zoo I want the layout to be horizontal rectangles rather than squares. When I specify par(pin="5,2.5") an error is returned: Error in par(pin = "5,2.5") : graphical ...
    Rich ShepardRich Shepard
    Mar 20, 2014 at 7:30 pm
    Mar 24, 2014 at 10:38 pm
  • Hi, here's my code X <- 1:100 I want to select number divisible by 3 out of them how can I select it? ( I tried following X <- 1:100 DIV <- Y - X/3 But I am getting whole number and number with ...
    Prabhakar GhorpadePrabhakar Ghorpade
    Mar 27, 2014 at 7:46 am
    Mar 27, 2014 at 9:21 pm
  • Dear UseRs, I have a question regarding reading the coordinates within a country' map. I drew map of ireland by using the following commands library("maps") library("mapproj") map("world", "ireland") ...
    Eliza bottoEliza botto
    Mar 23, 2014 at 2:01 am
    Mar 25, 2014 at 12:17 am
  • Hello, I realize that a function in <environment: base (for example, function "head1" below) is unable to see (without resorting to "::", anyway) objects in utils (for example, "head" below), since ...
    Benjamin TynerBenjamin Tyner
    Mar 7, 2014 at 3:16 pm
    Mar 19, 2014 at 8:51 pm
  • dear all, I have tried to create a dataframe using the structure() function, but it did not really work. In column 1 i have the row number, in column 2 and 3 factors (8 and 4 levels respectively) and ...
    Luigi MarongiuLuigi Marongiu
    Mar 13, 2014 at 6:58 pm
    May 11, 2014 at 11:58 am
  • I was under the impression that do.call(foo,list(x=x,y=y)) should yield the same result as foo(x,y). However if I do x <- 1:10 y <- (x-5.5)^2 do.call(plot,list(x=x,y=y)) I get the expected plot but ...
    Rolf TurnerRolf Turner
    Mar 27, 2014 at 11:17 pm
    Mar 28, 2014 at 10:00 pm
  • Hi, I have the code below to generate a pentagon in R. I have generated a regular scatterplot and need to draw a scatterplot with a pentagon at each (x,y) position, for the radius use r x 0.3. The ...
    AmccAmcc
    Mar 23, 2014 at 8:00 pm
    Mar 25, 2014 at 4:51 pm
  • Dear R users, Given two vectors x and y a=1 2 3 b=4 5 6 i want to combine them into a single vector z as 1 4 2 5 3 6 Thanks for your help Tham -- View this message in context ...
    Tham TranTham Tran
    Mar 22, 2014 at 10:22 pm
    Mar 24, 2014 at 6:55 pm
  • Dear R-Family, I have just downloaded a massive data file from internet (AphroJP_62STN_V1005.1900.gz). Apparently, the file is compressed with .gz. When I uncompressed it, the file was saved in the ...
    Eliza bottoEliza botto
    Mar 17, 2014 at 7:06 pm
    Mar 18, 2014 at 1:21 pm
  • Dear useRs, I have the data of following format. I have only pasted some part of the data. The data starts from 1961 and ends up in december 1987. dat <- read.table(text="Date A B C D1-Jan-61 0.00 ...
    Eliza bottoEliza botto
    Mar 31, 2014 at 5:31 pm
    Mar 31, 2014 at 8:29 pm
  • Hello All, I am new in R, so please excuse the basic questions. But how do you change the number of digits to be displayed? I have done the following, hoping I will get 4 decimal places in my ...
    Pavneet AroraPavneet Arora
    Mar 25, 2014 at 11:17 am
    Mar 25, 2014 at 8:37 pm
  • Has there been a change in the syntax for order() or am I just making some stupid mistake here? dat1 <-read.table(text=" name val Alex 4 Jim 10 Fred 8 Julie 44 ...
    John KaneJohn Kane
    Mar 25, 2014 at 6:36 pm
    Mar 25, 2014 at 7:28 pm
  • Dear useRs, I have two column vectors of different lengths say x=1,2,3,4,5,6,7,8 and y=1,2,3,4,5. I wanted to plot them by using "points()" command over an already existed image but got an error, ...
    Eliza bottoEliza botto
    Mar 22, 2014 at 11:18 am
    Mar 22, 2014 at 3:29 pm
  • I have always known that "matrices are faster than data frames", for instance this function: dumkoll <- function(n = 1000, df = TRUE){ dfr <- data.frame(x = rnorm(n), y = rnorm(n)) if (df){ for (i in ...
    Göran BroströmGöran Broström
    Mar 16, 2014 at 6:57 pm
    Mar 17, 2014 at 1:25 pm
  • Hi, I have the following numbers: d <- c(8,7,5,5,3,3,2,1,1,1) I want to convert these into the following numbers: r: 1,2,3,3,4,4,5,6,6,6 So if two numbers are different increment it if they are same ...
    T BalT Bal
    Mar 12, 2014 at 9:13 am
    Mar 13, 2014 at 2:11 am
  • Sometimes I don't understand the details of writeups I get, with ?save and the like. Anyway, that's my problem now. Can I do this (in Windows 7) to save everything that comes up with ls(), guessed at ...
    David ParkhurstDavid Parkhurst
    Mar 9, 2014 at 12:45 am
    Mar 9, 2014 at 8:19 pm
  • Hi everyone, I am not new to R, but new to running survival models in R. I am trying to create some basic KM curves, using the following code: library(survival) library(KMsurv) (import data etc - ...
    Lucy LeighLucy Leigh
    Mar 6, 2014 at 5:07 am
    Mar 7, 2014 at 6:12 pm
  • Hi list I have a matrix of size m x n (m and n are different, hence non square!) I want to melt it in such a way that I get a df of 3 columns. m ,n and cell value in the original matrix. Any ...
    Chirag GuptaChirag Gupta
    Mar 1, 2014 at 1:49 am
    Mar 5, 2014 at 6:12 am
  • Hi I have a problem with linear regression. This is my codes: acc1<- lm(data$acc ~ dummy + data$Reqloanamount + data$Code + data$Code.1 + data$EmpNetMonthlyPay + data$Customer_Age + data$RTI) ...
    Si Qi L.Si Qi L.
    Mar 30, 2014 at 1:23 pm
    Mar 31, 2014 at 1:38 pm
  • Dear Robert and R project team, I notice that the Google search function on the R mail list archives page has stopped working for quite a while, http://tolstoy.newcastle.edu.au/R/. Is there any ...
    Luo WeijunLuo Weijun
    Mar 25, 2014 at 4:52 pm
    Mar 27, 2014 at 5:06 pm
  • Dear useRs, A similar question has previously been asked by another user (https://stat.ethz.ch/pipermail/r-sig-geo/2011-September/012791.html) but i'll try to discuss it from another angle. Its about ...
    Eliza bottoEliza botto
    Mar 27, 2014 at 12:45 am
    Mar 27, 2014 at 2:01 pm
  • # Dear all, # I simulate individual paths in a landscape (let's say coordinates in x and y range # from -100 to 100 both) and would like to replace each individual going outside the # landscape by a ...
    Gwennaël BatailleGwennaël Bataille
    Mar 20, 2014 at 8:55 am
    Mar 21, 2014 at 8:44 am
  • MaxUpdated_row<-NULL MaxUpdated_val<- "2013-06-28" rbind(MaxUpdated_row, as.Date(MaxUpdated_val, "%Y-%m-%d")) [,1] [1,] 15884 c(MaxUpdated_row, as.Date(MaxUpdated_val, "%Y-%m-%d"")) Evidently, I'm ...
    Jason RupertJason Rupert
    Mar 19, 2014 at 9:46 pm
    Mar 20, 2014 at 2:31 pm
  • Hello R users, I am trying to make a baricentric diagram like the ternary plot, but with 4 edges. I want to know how to calculate the centroid of the diamond. The 4 edges are A, B, C, D. If value of ...
    al Velal Vel
    Mar 13, 2014 at 7:03 pm
    Mar 14, 2014 at 9:57 am
  • Hi? List, while running a script on a set of matrices I came into a case I would not have guessed to arrive. Below is ?a small toy example to illustrate the case. Of course there is a simple ...
    Olivier ETERRADOSSIOlivier ETERRADOSSI
    Mar 13, 2014 at 2:02 pm
    Mar 13, 2014 at 4:06 pm
  • Let's say that I have the following character vector with a series of url strings. I'm interested in extracting some information from each string. url = c("http://www.mdd.com/food/pizza/index.html", ...
    Abraham MathewAbraham Mathew
    Mar 6, 2014 at 5:23 pm
    Mar 6, 2014 at 11:32 pm
  • Hello togehter, i have a litte problem. I have an output data.frame which look like this one: ID 1 10 2 11 3 12 Now I have another data.frame with more than one line for each ID: ID Group Value 1 10 ...
    MatMat
    Mar 28, 2014 at 8:51 am
    Mar 29, 2014 at 4:44 pm
  • I have 2 time series (class 'ts') and I want to plot the acf for each and the joint ccf using acf(ts.union(ts1, ts2)). According to the ts.union help, "?ts.union? pads with ?NA?s to the total time ...
    Rich ShepardRich Shepard
    Mar 26, 2014 at 10:07 pm
    Mar 27, 2014 at 6:13 pm
  • Hello I need to ask questions about the k-means clustering function. Mainly I would like to know why, with the use of nstart=enough number of times, kmeans always finds the same clustering ...
    Tomassini, LetiziaTomassini, Letizia
    Mar 26, 2014 at 6:35 pm
    Mar 27, 2014 at 4:18 pm
  • I am trying to write an R script to do pollution routing in world rivers, and need some help on selecting matrix cell coordinates and applying these to other matrices of the same dimension. My data ...
    Vermeulen, LucieVermeulen, Lucie
    Mar 24, 2014 at 2:02 pm
    Mar 25, 2014 at 8:41 pm
  • Hello, I am using the function survfit in the 'survival' package. Calling the function produces the median survival time automatically, as below. sleepfit <- survfit(Surv(timeb, death)~1) Call ...
    Lucy LeighLucy Leigh
    Mar 15, 2014 at 4:43 am
    Mar 20, 2014 at 10:51 pm
  • Hi, I would like to ask about the deletion of rows in the data. Assuming I have this kind of data set, which you can refer through the attachment. As in the attachment, I have 31 days for each month ...
    Dila radiDila radi
    Mar 11, 2014 at 5:04 am
    Mar 17, 2014 at 7:37 am
  • Hi All, I've run across an odd phenomenon and I am wondering if someone might be able to provide insight as to what is going on. I'm running some R code that was provided by a collaborator, who is ...
    Russell BainerRussell Bainer
    Mar 15, 2014 at 12:45 am
    Mar 17, 2014 at 3:41 am
  • Hello. I have a dataframe that has a date column. The intervals between dates vary. I want to convert this to a ts object. I was able to convert it to an xts object but the package I want to analyse ...
    BillBill
    Mar 11, 2014 at 5:14 am
    Mar 16, 2014 at 10:13 pm
  • Evidently, I'm overlooking something simple. I'm trying to used order with data.frame. For example: t = data.frame(x = c(11,12,14), y = c(19,20,21), z = c(10,9,7)) t[order(z), ] Error in order(z) ...
    Jason RupertJason Rupert
    Mar 16, 2014 at 4:21 am
    Mar 16, 2014 at 10:02 pm
  • I would like to have a plot with values in a reversed order (as shown in fig 2). I tried to plot the graph in R using the following codes plot(density,depth,pch=as.numeric(species),xlab="fish density ...
    Renalda Munubi-MisinzoRenalda Munubi-Misinzo
    Mar 14, 2014 at 7:55 am
    Mar 14, 2014 at 11:01 pm
  • Hi, Try: Either tab <- read.table(text="pop Freq 1?????? 1?? 30 2?????? 2?? 25 3?????? 3?? 30 4?????? 4?? 30 5?????? 5?? 30 6?????? 6?? 30 7?????? 7?? 30",sep="",header=TRUE) indx <- ...
    ArunArun
    Mar 13, 2014 at 3:01 pm
    Mar 14, 2014 at 9:00 am
  • Suppose I have a dataframe beginning: id yr val a 1950 1 b 1950 10 a 1951 2 I'm trying to produce a table of cumulative sums of val, disaggregated by id and then yr, so the result should begin id yr ...
    Philip A. VitonPhilip A. Viton
    Mar 9, 2014 at 6:57 pm
    Mar 10, 2014 at 12:44 pm
  • Hi experts I want to have a plot, which consist of line and points something like this: plot(data, type="o") but I would like that lines and point have different colors. for example line should be ...
    BaroBaro
    Mar 5, 2014 at 9:59 am
    Mar 5, 2014 at 4:15 pm
  • Hello, I have difficulties to understand this one: foo <- function (y = 2) { bar <- function (y = y) y^2 bar() } foo() #! Error in y^2 : 'y' is missing foo(3) #! Error in y^2 : 'y' is missing Note ...
    Philippe GrosjeanPhilippe Grosjean
    Mar 31, 2014 at 2:40 pm
    Mar 31, 2014 at 6:52 pm
  • R-helpers: Hopefully this is an easy one. Given a lookup table: mylevels <- data.frame(ID=1:10,code=letters[1:10]) And a set of values (note these do not completely cover the mylevels range): values ...
    Jonathan GreenbergJonathan Greenberg
    Mar 28, 2014 at 8:38 pm
    Mar 29, 2014 at 11:38 pm
  • Hi, I have implemented a therapeutic intervention on two groups (one is a control group) and tested them in two moments using some assessment tools (with normative data). Now I want to compare the ...
    Manuel CaronaManuel Carona
    Mar 27, 2014 at 1:53 pm
    Mar 28, 2014 at 5:43 pm
  • Hi. I ran some code and I am trying to access the table with the data in it. I want in particular to delete the 31st row for example Monthly means and totals: <NA <NA <NA <NA <NA <NA <NA <NA <NA <NA ...
    BillBill
    Mar 28, 2014 at 5:42 am
    Mar 28, 2014 at 11:36 am
  • Dear R-users, I would like to change the font of one specific axis label to bold face in each panel. Taking one of Deepayan's plots as an example, how do I change "All Postdoctorates" to bold face? ...
    El_alisioEl_alisio
    Mar 27, 2014 at 8:57 am
    Mar 27, 2014 at 9:51 pm
  • I have a data A which looks like author_id paper_id prob 731 24943 1 731 24943 1 731 688974 1 731 964345 .8 731 1201905 .9 731 1267992 1 736 249 .2 736 6889 1 736 94345 .7 736 1201905 .9 736 126992 ...
    Rohit GuptaRohit Gupta
    Mar 27, 2014 at 11:01 am
    Mar 27, 2014 at 9:04 pm
  • i try to generate 27*5 matrix of observation using the following code but is given error kindly assist and correct the problem x1<-c(-1,0,1,-1,0,1,-1,0,1,-1,0,1,-1,0,1,-1,0,1,-1,0,1,-1,0,1,-1,0,1) ...
    IZHAK shabsoghIZHAK shabsogh
    Mar 27, 2014 at 11:31 am
    Mar 27, 2014 at 8:44 pm
  • Hi, I have data in a dataframe in following structure var1 <- c("a","b","c","a","b","c","a","b","c") var2 <- c("X","X","X","Y","Y","Y","Z","Z","Z") var3 <- c(1,2,2,5,2,6,7,4,4) df <- ...
    Johannes RadingerJohannes Radinger
    Mar 26, 2014 at 4:09 pm
    Mar 27, 2014 at 7:31 pm
Group Navigation
period‹ prev | Mar 2014 | next ›
Group Overview
groupr-help @
categoriesr
discussions422
posts1,222
users388
websiter-project.org
irc#r

388 users for March 2014

Arun: 80 posts Jim Lemon: 37 posts David Winsemius: 34 posts Duncan Murdoch: 31 posts Rui Barradas: 30 posts Rich Shepard: 29 posts Bert Gunter: 28 posts Pascal Oettli: 27 posts Eliza botto: 25 posts Jeff Newmiller: 24 posts PIKAL Petr: 19 posts Greg Snow: 18 posts Prof Brian Ripley: 18 posts David Carlson: 17 posts Rolf Turner: 17 posts MacQueen, Don: 15 posts William Dunlap: 15 posts Peter dalgaard: 13 posts Sarah Goslee: 11 posts Mike Miller: 10 posts
show more
Archives