Grokbase Groups R r-help January 2015
FAQ

Search Discussions

151 discussions - 478 posts

  • Could someone kindly enlighten me whether there are currently advantages to use R Studio vs. the normal R GUI? On the Mac I can't seem to find anything compelling, on Windows (which I don't use ...
    Boris SteipeBoris Steipe
    Jan 11, 2015 at 2:22 am
    Jan 13, 2015 at 6:32 pm
  • So just add 0.0001 or even .0000001 to all of them and coerce to integer. David Winsemius Alameda, CA, USA
    David WinsemiusDavid Winsemius
    Jan 1, 2015 at 1:44 am
    Jan 2, 2015 at 4:38 pm
  • Hello again. Here is another question that I am puzzled about: I had the (incorrect) impression that if I had Rtools on a Windows machine that I could use any tar.gz package. However, that is not ...
    Erin HodgessErin Hodgess
    Jan 9, 2015 at 10:32 pm
    Jan 13, 2015 at 11:20 pm
  • Hi all, This question is sort of related to R (I'm not sure if I used an R function correctly), but also related to stats in general. I'm sorry if this is considered as off-topic. I'm currently ...
    MonnandMonnand
    Jan 12, 2015 at 3:12 am
    Jan 16, 2015 at 1:07 am
  • I have the following problem. DV is binomial p IV is quantitative variable that goes from negative to positive values. The data look like this (need nonproportional font to view): o o o o o o o o o ...
    Stanislav AggerwalStanislav Aggerwal
    Jan 11, 2015 at 11:43 am
    Jan 12, 2015 at 6:07 pm
  • It's an IEEE standard format: http://en.wikipedia.org/wiki/Half-precision_floating-point_format#IEEE_754_half-precision_binary_floating-point_format:_binary16 This is what I see: Error in ...
    Mike MillerMike Miller
    Jan 4, 2015 at 5:31 am
    Jan 4, 2015 at 7:20 pm
  • ?I have installed R version 3.1.2.??I tried to install RTools32.exe which is the latest version?(using this link -?http://cran.r-project.org/bin/windows/Rtools/) !?However on using the function ...
    PRAMEET LAHIRIPRAMEET LAHIRI
    Jan 15, 2015 at 5:27 pm
    Jan 17, 2015 at 11:20 am
  • Hello everybody! I feel very stupid right now but suspect it has something to do with tiredness. I am trying to drop the last couple of Elements from a list and this doesn't work as expected. My code ...
    Raphael PäbstRaphael Päbst
    Jan 14, 2015 at 2:23 pm
    Jan 14, 2015 at 11:10 pm
  • Hi All: I have a regular expression problem. If a character string ends with "rhofixed" or "norhofixed", I want that part of the string to be removed. If it doesn't end with either of those two ...
    Mark LeedsMark Leeds
    Jan 12, 2015 at 7:37 pm
    Jan 14, 2015 at 5:06 pm
  • Dear All, Greetings. I am a new user of R programming. I have a large ASCII data file with 14 columns and 45000 rows. I tried to load the file using read.table(), scan(), etc. functions, but failed ...
    Madhavan BLMadhavan BL
    Jan 9, 2015 at 2:44 pm
    Jan 12, 2015 at 6:35 pm
  • Hello! I have the following: zzz <- expression(y[3]*r1 + r2) deriv(zzz,c("r1","r2")) Error in deriv.default(zzz,c("r1","r2")) : Function '`[`' is not in the derivatives table What am I missing, ...
    Erin HodgessErin Hodgess
    Jan 9, 2015 at 5:31 pm
    Jan 9, 2015 at 8:04 pm
  • Hi all, I thought this was a very naive problem but I have not found any solution which is idiomatic to R. The problem is like this: Assuming we have vector of strings: x = c("1", "1", "2", "1", "5", ...
    MonnandMonnand
    Jan 4, 2015 at 9:02 am
    Jan 6, 2015 at 9:54 pm
  • Hello, I have a somewhat complicated question and hope, someone can help me or that there is a solution at all for my problem. I am using R to plot the results of a Voronoi-Tesselation. I am however ...
    Raphael PäbstRaphael Päbst
    Jan 6, 2015 at 5:23 pm
    Jan 6, 2015 at 9:30 pm
  • Hi there, In the following code snippet, # a <- strptime("121114 0510", "%m%d%y %H%M") b <- data.frame(date = a, res = 1:5) class(a) class(b[1,1]) # I am wondering why the class of a and b[1,1] are ...
    Jinsong ZhaoJinsong Zhao
    Jan 6, 2015 at 1:15 am
    Jan 6, 2015 at 6:00 am
  • I have a string variable (V1) in a data frame structured as follows: V1 V2 A 5 a1 1 a2 1 a3 1 a4 1 a5 1 B 4 b1 1 b2 1 b3 1 b4 1 I want the following: V1 V2 V3 a1 1 A a2 1 A a3 1 A a4 1 A a5 1 A b1 1 ...
    NpretnarNpretnar
    Jan 4, 2015 at 2:41 am
    Jan 5, 2015 at 2:21 am
  • Hello all, I want to fit a tweedie distribution to the data I have. The R packages I have been able to find assume that I want to use it as part as of a generalized linear model. This is not the ...
    Paul HudsonPaul Hudson
    Jan 2, 2015 at 6:33 pm
    Jan 2, 2015 at 10:16 pm
  • Can you save to the file "c:\data" from within Notepad? (You may need the quotes to stop it from adding .txt on the end.) Duncan Murdoch
    Duncan MurdochDuncan Murdoch
    Jan 1, 2015 at 12:19 am
    Jan 2, 2015 at 8:00 am
  • It looks like gbm, glm all has this issue I wonder if any R package is immune of this? In reality, it is very normal that test data has data unseen in training data. It looks like I have to give up ...
    HelponRHelponR
    Jan 13, 2015 at 2:00 am
    Jan 13, 2015 at 6:18 pm
  • Hello R users, I would like to set defaults text and background colours of my R console using R profile (to load automatically each time I start a new session) So far my R profile is set up like ...
    Ingrid CharvetIngrid Charvet
    Jan 12, 2015 at 6:58 pm
    Jan 13, 2015 at 12:05 pm
  • R version: 3.1.2 (2014-10-31) RStudio version: 0.98.1091 MacOS X Yosemite v. 10.10.1 When I run the following in the console, all is well: data(IlluminaHumanMethylation450kanno.ilmn12.hg19) Yet, when ...
    Molly ElliottMolly Elliott
    Jan 12, 2015 at 6:06 am
    Jan 12, 2015 at 10:29 pm
  • Folks, I was wondering if anyone has put together a list of R job interview questions? I?m thinking of about 5-20 possibly open ended questions for interviewing a candidate to do R programming. Just ...
    Keith S WeintraubKeith S Weintraub
    Jan 11, 2015 at 4:46 pm
    Jan 11, 2015 at 9:20 pm
  • Mantel test is interesting but it can't displays wish columns are similar. Here an example: M gene1 gene2 gene3 gene4 gene5 Sample1 2 4 1 7 2 Sample2 0 NA 2.3 1 9 Sample3 ...... M1, M2, M3 are three ...
    Karim MezhoudKarim Mezhoud
    Jan 8, 2015 at 10:26 am
    Jan 9, 2015 at 5:49 pm
  • When will "R" implement the "se.fit" option to the predict.nls() function? Is there some schedule?
    Roger CoppockRoger Coppock
    Jan 5, 2015 at 1:03 pm
    Jan 6, 2015 at 2:32 pm
  • I have a vector of sorted positive integer values (e.g., postive integers after applying sort() and unique()). For example, this: c(1,2,5,6,7,8,25,30,31,32,33) I want to make a matrix from that ...
    Mike MillerMike Miller
    Jan 5, 2015 at 12:03 am
    Jan 5, 2015 at 3:53 am
  • Hello, I have problems to label countries in my map. I use the following code to draw the map: epimap=joinCountryData2Map(epidata,joinCode="NAME",nameCountryColumn="Country",nameJoinColumn="Country") ...
    PaladiniPaladini
    Jan 16, 2015 at 4:33 pm
    Jan 18, 2015 at 8:53 pm
  • Hi R Users, I would like to specify strip names in xyplot. I have 5 sources (S) and 3 locations (Loc). How I can force R to specifiy the strip names for each source and location. Below is my code ...
    Ahmed AttiaAhmed Attia
    Jan 16, 2015 at 8:51 pm
    Jan 18, 2015 at 4:06 am
  • ?Hi, I am writing regarding to my problem about using "plot" function. I am using "R x64 3.1.1" (installed on Windows 7 SP1 (laptop Sony VGN-SR) ), and when I use type this code: or any other form of ...
    Nafise MehdipourNafise Mehdipour
    Jan 16, 2015 at 9:18 pm
    Jan 17, 2015 at 12:10 am
  • Hi Consider the following variable: --8<---------------cut here---------------start------------- 8--- x1 <- list( A = 11, B = 21, C = 31 ) x2 <- list( A = 12, B = 22, C = 32 ) x3 <- list( A = 13, B = ...
    Rainer M KrugRainer M Krug
    Jan 16, 2015 at 10:40 am
    Jan 16, 2015 at 10:08 pm
  • I have many pairs of data frames each with about 15 million records each and about 10 million records in common. They are sorted by two of their fields and will be merged by those same fields. The ...
    Mike MillerMike Miller
    Jan 14, 2015 at 12:55 am
    Jan 15, 2015 at 3:41 am
  • Hello! I am a beginner to R. I have read several guides, but still am stuck on this: I have data in an excel csv file, on which I want to run PCA. I'm not sure how the prcomp formula works. The help ...
    R Help!R Help!
    Jan 13, 2015 at 11:17 pm
    Jan 14, 2015 at 8:41 am
  • I want to rename columns 1 to 6 in the sample data set as bp_1 to bp_6. How could I do that in R? Thanks structure(list(one = c(1.00027378507871, 0.982313483915127, 1.1531279945243, 1.07400410677618, ...
    Kuma RajKuma Raj
    Jan 12, 2015 at 2:17 pm
    Jan 12, 2015 at 2:57 pm
  • Hello I've got a problem I don't know how to solve. I have got a dataset that contains age intervals (age groups) of people and the number of persons in each age group each year (y1994-y1996). The ...
    Erik B SvenssonErik B Svensson
    Jan 12, 2015 at 10:32 am
    Jan 12, 2015 at 11:21 am
  • R version 3.1.1 (2014-07-10) -- "Sock it to Me" Copyright (C) 2014 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 (64-bit) Dear friends - I have a small problem with diff ...
    Troels RingTroels Ring
    Jan 11, 2015 at 8:29 am
    Jan 11, 2015 at 11:41 am
  • Dear Sir or Madam, i want to use the var.test() (f.test()) for n samples. But in R the var.test() can only used for variances of two samples. In the intruductions stands: Performs an F test to ...
    Sait kSait k
    Jan 8, 2015 at 11:12 am
    Jan 8, 2015 at 4:33 pm
  • I am trying to automatically produce a series of histograms from every column of data frame with many columns. The columns names of a shortened from of the data frame follow: colnames<-names(smdata) ...
    John SorkinJohn Sorkin
    Jan 8, 2015 at 3:13 am
    Jan 8, 2015 at 10:05 am
  • Hi, I would like to plot the following data such that each plot represents the data from a single id and the plots are grouped according to the group variable ...
    Tom WrightTom Wright
    Jan 6, 2015 at 9:13 pm
    Jan 7, 2015 at 4:25 pm
  • Hi, I'm a relatively new user to R and I am having trouble properly downloading the agricolae package in order to use the LSD.test function. Below is the code: package ?sp? successfully unpacked and ...
    DbattDbatt
    Jan 6, 2015 at 7:47 pm
    Jan 7, 2015 at 2:57 pm
  • Hello, Is there an option of cross validation for CHAID decision tree? An example of CHAID is below: library("CHAID") example("chaid", package = "CHAID") How can I use a 10 fold cross-validation for ...
    Rodica CoderieRodica Coderie
    Jan 5, 2015 at 12:11 pm
    Jan 7, 2015 at 2:29 pm
  • Hi Dear Users, I abonden ggplot2 adventure for the moment because of urgent results (i will of course will do this with ggplot2 because I would like to use ggplot2 much more than standart plots). But ...
    Levent TERLEMEZLevent TERLEMEZ
    Jan 5, 2015 at 8:23 am
    Jan 5, 2015 at 5:28 pm
  • dimnik wrote How about using mapply, the multivariate version of sapply? Based on your example ... mapply(function(x,y) rpois(x,y), c(1,2),c(0.1,0.8)) HTH Pete -- View this message in context ...
    Pete BrecknockPete Brecknock
    Jan 4, 2015 at 12:45 am
    Jan 5, 2015 at 10:29 am
  • Hello, Can the decisions tree rules be exported? Along with the probabilities associated with each node?For example, I've created a CHAID decision with a target variable RESPONSE (YES/NO). I have 17 ...
    Rodica CoderieRodica Coderie
    Jan 3, 2015 at 9:21 am
    Jan 3, 2015 at 11:07 pm
  • Hi all. How we evaluate a formula in R? Ex.: params <- list(a = 2, b = 3) x <- seq(1,10, length.out = 100) func1 <- as.formula("y ~ a*x^2 + b*x") ##How to evaluate func1 using x and the params list ...
    Philippe massicottePhilippe massicotte
    Jan 16, 2015 at 8:16 am
    Jan 16, 2015 at 4:48 pm
  • Hi Following scenario: I have a function fun --8<---------------cut here---------------start------------- 8--- fun <- function(A, B, C, ...){paste(A, B, C, ...)} --8<---------------cut ...
    Rainer M KrugRainer M Krug
    Jan 15, 2015 at 2:25 pm
    Jan 16, 2015 at 10:11 am
  • Hello everyone. I'm checking a package in Windows 8.1, and when the program starts to create the PDF manual, exits with status 1, printing the following message: # End(Not run) Sorry, but I'm not ...
    Leandro RoserLeandro Roser
    Jan 16, 2015 at 3:31 am
    Jan 16, 2015 at 5:56 am
  • Hello R Psych package users, Why am I receiving "NA" for many of the factor scores for individual observations? I'm assuming it is because there is quite a bit of missing data (denoted by NA). Are ...
    Elizabeth Barrett-CheethamElizabeth Barrett-Cheetham
    Jan 14, 2015 at 1:46 am
    Jan 15, 2015 at 11:22 pm
  • I'm puzzled as to why I get this behaviour with str_split_fixed in the stringr package. [,1] [,2] [1,] "" "ab" [,1] [,2] [,3] [1,] "" "a" "b" In the first example, I was expecting to get [,1] [,2] ...
    David BarronDavid Barron
    Jan 14, 2015 at 6:47 pm
    Jan 15, 2015 at 6:51 pm
  • Hi, I tried your problem with optimx package. I found a better solution than that found by mle2. ?library(optimx) # the objective function needs to be re-written LL2 <- function(par,y) { lambda <- ...
    Ravi VaradhanRavi Varadhan
    Jan 15, 2015 at 2:26 pm
    Jan 15, 2015 at 2:36 pm
  • Hello, I am a beginner and I wanted to know if there is a way to approximate a function that has 2 input variables and one output. -- View this message in context ...
    RalaRala
    Jan 14, 2015 at 5:32 pm
    Jan 15, 2015 at 9:19 am
  • This method of finding yhat as x %*% b works when I use raw polynomials: x<-1:8 y<- 1+ 1*x + .5*x^2 fit<-lm(y~poly(x,2,raw=T)) b<-coef(fit) xfit<-seq(min(x),max(x),length ) yfit<-b[1] + ...
    Stanislav AggerwalStanislav Aggerwal
    Jan 14, 2015 at 2:20 pm
    Jan 15, 2015 at 8:51 am
  • Hi, creating a matrix from two vectors a, b by multiplying each combination can be done e.g. via a %*% t(b) or via outer(a, b) # default for third argument is '*' But this yields a normal matrix. Is ...
    Philipp A.Philipp A.
    Jan 14, 2015 at 2:02 pm
    Jan 15, 2015 at 8:09 am
Group Navigation
period‹ prev | Jan 2015 | next ›
Group Overview
groupr-help @
categoriesr
discussions151
posts478
users205
websiter-project.org
irc#r

205 users for January 2015

Jeff Newmiller: 25 posts David Winsemius: 19 posts Duncan Murdoch: 18 posts Mike Miller: 17 posts Ben Bolker: 10 posts Bert Gunter: 10 posts Richard M. Heiberger: 9 posts Kate Ignatius: 8 posts John Sorkin: 7 posts PIKAL Petr: 7 posts Rodica Coderie: 7 posts Uwe Ligges: 7 posts Erin Hodgess: 6 posts Karim Mezhoud: 6 posts Monnand: 6 posts Peter dalgaard: 6 posts William Dunlap: 6 posts John Fox: 5 posts Ted Harding: 5 posts Chel Hee Lee: 4 posts
show more
Archives