Grokbase Groups R r-help June 2014
FAQ

Search Discussions

296 discussions - 875 posts

  • So my company has hired a few young McKinsey guys from overseas for a couple of weeks to help us with a production line optimization. They probably charge what I make in a year, but that's OK because ...
    Robert LatestRobert Latest
    Jun 25, 2014 at 8:22 pm
    Jun 27, 2014 at 4:01 pm
  • It might be a primitive question but I have a file of text and there is no separator between character on each line and the strings on each line have the same length. The format is like the following ...
    Carol whiteCarol white
    Jun 26, 2014 at 7:32 am
    Jun 27, 2014 at 12:40 am
  • Hi, Is there a way to extract a subset of non-contiguous elements of a matrix elegantly and with 1 or very few scripts? Suppose I have a matrix of positive and negative numbers (m) and I want to ...
    Carol whiteCarol white
    Jun 19, 2014 at 11:19 am
    Jun 20, 2014 at 7:13 am
  • Dear R users, Hello, I am new to R and confused about my PC's memory space after using R a while. My PC is Windows 8, RAM 8GB. I have run some analyses using commands like "vglm", "aalen(Sruv())", ...
    Hiyoshi, AyakoHiyoshi, Ayako
    Jun 17, 2014 at 7:49 am
    Jun 18, 2014 at 3:27 pm
  • Dear R users, I need to match a string. It can be followed or preceded by whitespace or // or nothing. How do I code it in R? For example: test <- c('AARSD11','AARSD1-','AARSD1//','AARSD1 ...
    C LinC Lin
    Jun 27, 2014 at 12:05 am
    Jun 30, 2014 at 2:00 pm
  • Dear all, I am very happy with the new features introduced by Rstudio about how to create documents embedding R code. I would like to know though if there is some way to embed code from a working ...
    Luca CeroneLuca Cerone
    Jun 20, 2014 at 9:20 am
    Jun 22, 2014 at 7:27 am
  • Dear R-users, I have a 3200 by 3200 matrix that was build from a data frame that had 180 observations, with variables: x, y, blocks (6 blocks) and treatments (values range from 1 to 180) I am working ...
    LazLaz
    Jun 18, 2014 at 4:41 pm
    Jun 19, 2014 at 3:58 pm
  • Hi, I have a problem with the function "error.bars.by" in package "psych". This is the code for example of a graph ...
    Tham TranTham Tran
    Jun 3, 2014 at 6:28 am
    Jun 19, 2014 at 1:48 pm
  • Dear All, I should be knowing this, but not get it right... For a string like this: "Man\Woman" I would like to detect the escape character "\" and replace it with "/". Tried various ways using ...
    Adrian DușaAdrian Dușa
    Jun 3, 2014 at 6:03 pm
    Jun 6, 2014 at 2:38 am
  • I am trying to incrementally add rows to an empty data frame. The data has 7 columns, the last 6 are numeric. For the first columns I would like to include a text identifier, called ?Case? like ...
    Brian WillisBrian Willis
    Jun 29, 2014 at 12:46 pm
    Jul 4, 2014 at 8:42 am
  • Dear R helpers, I want to generate data for say 1000 patients (i.e., 1000 unique IDs) having suffered from various diseases in the past (say diseases A,B,C,D,E,F). The only condition imposed is that ...
    Abhinaba RoyAbhinaba Roy
    Jun 25, 2014 at 5:14 am
    Jul 1, 2014 at 7:18 pm
  • Hi, If I use invisible(Sys.setlocale("LC_COLLATE", "C")) in ~/.Rprofile, then [1] "L.Q" "L.Y" "Lu" whereas using invisible(Sys.setlocale("LC_COLLATE", "en_US.UTF-8")) results in [1] "L.Q" "Lu" "L.Y" ...
    Marius HofertMarius Hofert
    Jun 15, 2014 at 5:15 am
    Jun 15, 2014 at 4:48 pm
  • Dear list, Please consider the following example: library(plotrix) barp(c(2,3,4,5,6,7,8), ylim=c(-10,10)) How to force the bars to start at 0? I could not find the way to do it. Regards, Pascal
    Pascal OettliPascal Oettli
    Jun 13, 2014 at 9:50 am
    Jun 14, 2014 at 6:19 am
  • Hello, Using R, I've loaded a .cvs file comprised of several hundred rows and 3 columns of data. The data within maps the output of a triaxial accelerometer, a sensor which measures an object's ...
    VINCENT DEAN BOYCEVINCENT DEAN BOYCE
    Jun 26, 2014 at 4:17 pm
    Jul 2, 2014 at 3:00 am
  • I wish to query tables that are NOT in the default SQL Server 2012 database. At work I am using SQL Server 2012 and Windows 7. I tested the following on my home set up of Server 2012 and Windows 7. I ...
    Ira SharenowIra Sharenow
    Jun 30, 2014 at 1:44 am
    Jul 1, 2014 at 4:12 am
  • Hi everybody, I`m Mark and I do my PhD in biology. I try using R to calculate a population growth rate of animals grown on different types of food. Our workgroup has a R-skript to do so, but sadly ...
    Mark ChristjaniMark Christjani
    Jun 30, 2014 at 7:39 am
    Jun 30, 2014 at 1:35 pm
  • I have two data frames like so iso requests 1 A1 20 2 A2 199 3 AD 5 4 AE 176 ... 189 ZW 82 iso requests 1 A2 36 2 AE 4 3 AM 2 4 AO 1 ... 100 ZW 3 I want to create another dataframe qpspam which ...
    Dr Eberhard LisseDr Eberhard Lisse
    Jun 29, 2014 at 4:24 pm
    Jun 30, 2014 at 10:07 am
  • Hi, I am interested in generating all possible contingency table (2 by 2) with fixed row margins and column margins. Can anyone help me. Best regards, Tahira
    Tahira JamilTahira Jamil
    Jun 24, 2014 at 2:41 pm
    Jun 24, 2014 at 8:52 pm
  • Hi, I like to use with xyplot (package lattice) the groups argument and superpose.symbol to compare several curves. But, when there are a great many points, the symbols are very close and the graph ...
    Laurent RhelpLaurent Rhelp
    Jun 20, 2014 at 7:45 pm
    Jun 23, 2014 at 4:35 pm
  • Dear all, I am running some analysis using the pamr package (available on CRAN). One of the plots I produce is made using the function "pamr.plotcv". This displays two plots in the same figure (using ...
    Luca CeroneLuca Cerone
    Jun 12, 2014 at 3:06 pm
    Jun 18, 2014 at 4:58 pm
  • Hi, can anyone help me to understand the standard errors printed in the output of survfit.coxph()? time<-sample(1:15,100,replace=T) status<-as.numeric(runif(100,0,1)<0.2) x<-rnorm(100,10,2) ...
    Array chipArray chip
    Jun 27, 2014 at 7:39 pm
    Jul 21, 2014 at 9:36 pm
  • Hello, I need to do a principal component analysis with EQUAMAX-rotation. Unfortunately the function principal() I use normally for PCA does not offer this rotation specification. I could find out ...
    WagnerWagner
    Jun 19, 2014 at 7:07 am
    Jul 7, 2014 at 8:01 am
  • Hi, I am confronted with this error while trying to read csv file into R session. Though it is warning message, I noticed that the whole file was not read properly. After having gone through the ...
    S N V KrishnaS N V Krishna
    Jun 20, 2014 at 10:02 am
    Jun 23, 2014 at 1:59 am
  • Error in Surv(rep(1, 150L), status) : Time and status are different lengths Can anyone suggest what's wrong here? Thanks! John
    Array chipArray chip
    Jun 16, 2014 at 3:22 am
    Jun 18, 2014 at 2:51 pm
  • Hi, every R user, I wanna output names of objects, I googled codes from website, but it was not what I wanted. the codes are as following: f <- function (...) { unevaluatedArgs <- substitute(...()) ...
    Yzh linYzh lin
    Jun 18, 2014 at 8:24 am
    Jun 18, 2014 at 2:26 pm
  • Relatively new user with a question regarding abline. I want to draw a st. line fit to some data but I want the line to span the range of the x-data and NOT the plot limits. In short the line spans ...
    Paul RydelekPaul Rydelek
    Jun 15, 2014 at 3:34 am
    Jun 16, 2014 at 2:39 am
  • Dear R family, I hope you all be doing great. I have a dataset of following format. The data file is of the following format. st year month day discharge 1 A 2004 1 1 6.752828 2 A 2004 1 2 7.602053 3 ...
    Eliza bottoEliza botto
    Jun 13, 2014 at 3:55 pm
    Jun 14, 2014 at 2:19 pm
  • Hi I have a matrix with values of size 1*500 i have to find the avg value of first 1 to 100 ,avg value of 100 - 200 and so on up to 400-500. is there any function to find the average of 1 -100 and ...
    Pat-74100Pat-74100
    Jun 11, 2014 at 12:17 pm
    Jun 13, 2014 at 1:02 am
  • Dear all, I am trying to run the function clmm() on a data table composed as following : <http://r.789695.n4.nabble.com/file/n4691592/datatable.png I have 187 pea lines assessed on 4 years * 2 ...
    AdesgrouxAdesgroux
    Jun 2, 2014 at 12:00 pm
    Jun 12, 2014 at 9:24 am
  • Hi, I have a string something like that: nw.str <- "[D][A|D][T|A:D][C|T]" And I need to split it in this way: "[D]" "[A|D]" "[T|A:D]" "[C|T]" Thanks!! Regards. Alexsandro C?ndido
    Alexsandro Cândido de Oliveira SilvaAlexsandro Cândido de Oliveira Silva
    Jun 8, 2014 at 8:30 pm
    Jun 9, 2014 at 11:05 am
  • All, Got a tricky situation and unfortunately because it's a big file I can't exactly provide an example, so I'll describe this as best I can for everyone. I have a distance matrix that we are using ...
    Adrienne WoottenAdrienne Wootten
    Jun 5, 2014 at 1:26 pm
    Jun 5, 2014 at 3:20 pm
  • Hello, I've migrated an ADMB application with a user dialog from S to R. The script below will produce a dialog in R, and don't need data to address this issue. It works in terms of capturing user ...
    Fowler, MarkFowler, Mark
    Jun 3, 2014 at 12:32 pm
    Jun 4, 2014 at 6:24 pm
  • R 3.1.0 / RStudio 0.98.507 / OpenSUSE Linux 13.1 I'm having difficulties getting -par(mfrow=c(r,c))- to work as it should after running bootstrapped regression models using -boot-. An example ...
    Clive NicholasClive Nicholas
    Jun 1, 2014 at 8:20 pm
    Jun 4, 2014 at 2:22 am
  • Hello everyone, I have a question which is probably rooted in my lack of understanding when it comes to math. I just did the following: v <- c(1:20) w <- c(11:30) setdiff(v, w) and got: 1 2 3 4 5 6 7 ...
    Raphael PäbstRaphael Päbst
    Jun 2, 2014 at 6:57 am
    Jun 3, 2014 at 2:44 pm
  • Hi all, I have managed, with the help of glob2rx() to get two parts of a text manipulation working. I have successfully gotten rid of the first and second bits, but I have hit the wall trying to get ...
    Jim LemonJim Lemon
    Jun 30, 2014 at 1:13 pm
    Jun 30, 2014 at 11:48 pm
  • kindly guide me on how i can plot the following data on the same graph using the kernel density. i will like to use as to compare performance mu1<-c(500.0035, 501.2213, 500.7532, 500.2622, 500.3391, ...
    IZHAK shabsoghIZHAK shabsogh
    Jun 26, 2014 at 6:47 am
    Jun 27, 2014 at 6:31 pm
  • Hi all, I have the following situation and a good efficient way to perform this operation in R has not come to me. Any suggestions/input are welcome. I have a user-defined parameter (let's call it x) ...
    Dan AbnerDan Abner
    Jun 23, 2014 at 9:11 pm
    Jun 24, 2014 at 12:06 pm
  • Hi, I am a beginner in R and already read and (thought that I) understood the R introduction tutorial. However there is this reading .csv which I cant solve. The question is: Why has data in the both ...
    SvendeswanSvendeswan
    Jun 20, 2014 at 10:42 am
    Jun 22, 2014 at 6:23 am
  • Hi all, Here is my situation. I have a dataframe, the structure would be something like this, ...
    Jun ShenJun Shen
    Jun 20, 2014 at 7:42 pm
    Jun 20, 2014 at 8:03 pm
  • Dear all, Why aggregation of 15 minute xts data happens on the 45th (3rd quarter) and not the exact hour close (i.e., 00) time? For example, temp below is an xts sequence with 15-minute frequency ...
    Costas VorlowCostas Vorlow
    Jun 16, 2014 at 8:41 am
    Jun 18, 2014 at 11:34 am
  • Hi, Please check this link: http://stats.stackexchange.com/questions/25956/what-formula-is-used-for-standard-deviation-in-r A.K. It is my understanding that the R function SD finds the standard ...
    ArunArun
    Jun 8, 2014 at 7:17 am
    Jun 12, 2014 at 10:18 am
  • Hello, I'm hoping for advice regarding how to set up a recurrent event survival analysis data file. My data consists of people released from custody, with survival time being measured as days before ...
    Bob GreenBob Green
    Jun 10, 2014 at 6:31 am
    Jun 11, 2014 at 3:46 pm
  • Dear all, I have a fresh install of R on a virtual desktop running Win 7 64 bit and when I try to install packages it is extremely slow. I typed install.packages("ggplot2",dependencies=TRUE) and it ...
    Aidan CorcoranAidan Corcoran
    Jun 10, 2014 at 1:52 pm
    Jun 11, 2014 at 10:05 am
  • I'm teaching myself how to use rake() in the R "survey" package, using Thomas Lumley's "Complex Surveys" book. Working with one of my data sets, I received an error that has me stumped. Here is the ...
    Michael WillmorthMichael Willmorth
    Jun 7, 2014 at 3:22 pm
    Jun 10, 2014 at 2:56 am
  • Hello everyone! I want to create a data vector using the "rnorm" command. Let's say /x <- rnorm(100, 1, 2)/. This gives me 100 values from the specific normal distribution. However, I want to ...
    ZagreusZagreus
    Jun 7, 2014 at 2:23 pm
    Jun 9, 2014 at 9:39 am
  • ? stato filtrato un testo allegato il cui set di caratteri non era indicato... Nome: non disponibile URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20140605/2558d084/attachment.pl
    Giulia FassioGiulia Fassio
    Jun 5, 2014 at 12:58 pm
    Jun 8, 2014 at 6:23 am
  • The following works as it should... workshop gender q1 q2 q3 q4 1 1 f 1 1 5 1 2 2 f 2 1 4 1 3 1 f 2 2 4 3 5 1 m 4 5 2 4 6 2 m 5 4 5 5 8 2 m 4 5 5 5 Next I changed the objects males and females so ...
    Bill BentleyBill Bentley
    Jun 1, 2014 at 5:49 pm
    Jun 2, 2014 at 4:55 pm
  • Dear all, I used "sem" function from the package SEM to fit a model. However, I cannot say if the model is correspondent to the data or not (chisquare test). I used the commands: model1 <- ...
    Bernardo SantosBernardo Santos
    Jun 16, 2014 at 3:15 am
    Jul 22, 2014 at 1:40 am
  • Hello, I am new to R progaming and have just started using this program since last week. What i want to achieve is to use R to determine patterns in sales/ customer complaint etc. information located ...
    Shanae ClarkeShanae Clarke
    Jun 30, 2014 at 8:57 pm
    Jul 2, 2014 at 4:08 pm
  • Hi, I was reading the help page for as.Date() function for some reason, and noticed a Matlab link: http://www.mathworks.com/help/techdoc/matlab_prog/bspgcx2-1.html It looks like this link is dead. So ...
    Christofer BogasoChristofer Bogaso
    Jun 23, 2014 at 7:41 pm
    Jul 1, 2014 at 11:50 am
Group Navigation
period‹ prev | Jun 2014 | next ›
Group Overview
groupr-help @
categoriesr
discussions296
posts875
users335
websiter-project.org
irc#r

335 users for June 2014

Arun: 39 posts David Winsemius: 30 posts Jeff Newmiller: 29 posts Jim Lemon: 24 posts Prof Brian Ripley: 22 posts Greg Snow: 19 posts David L Carlson: 16 posts Rolf Turner: 16 posts Bert Gunter: 12 posts Peter dalgaard: 12 posts Frede Aakmann Tøgersen: 11 posts Jim Holtman: 11 posts Sarah Goslee: 11 posts Duncan Murdoch: 10 posts Luca Cerone: 9 posts William Dunlap: 9 posts Pascal Oettli: 8 posts William Revelle: 8 posts Adams, Jean: 7 posts Carol white: 7 posts
show more
Archives