Grokbase Groups R r-help July 2015
FAQ

Search Discussions

289 discussions - 1,035 posts

  • Hi All, I am upgrading a package for CRAN, and I get this note: checking DESCRIPTION meta-information ... NOTE Malformed Description field: should contain one or more complete sentences. This is ...
    Federico CalboliFederico Calboli
    Jul 3, 2015 at 8:09 am
    Jul 8, 2015 at 9:53 am
  • Hi, Ramanujan supposedly discovered that the number, 163, has this interesting property that exp(sqrt(163)*pi), which is obviously a transcendental number, is real close to an integer (close to ...
    Ravi VaradhanRavi Varadhan
    Jul 2, 2015 at 2:28 pm
    Jul 14, 2015 at 7:34 am
  • Hadley's ggplot2 book is quite old and a new version is in the works, but not yet out. I've been using lattice graphics but the knitr package doesn't support lattice, only basic plots and ggplot2. My ...
    Rich ShepardRich Shepard
    Jul 10, 2015 at 9:09 pm
    Jul 12, 2015 at 12:56 pm
  • I am trying to use the ggplot2 to build a stacked bar chart for daily Revenue by category. The chart would look have date on the x-axis, and revenue on the y axis. The fill would be the categories ...
    Hidden Markov ModelHidden Markov Model
    Jul 27, 2015 at 8:53 pm
    Jul 30, 2015 at 6:49 pm
  • Running R 3.1.1 on windows 7 I want to identify as a case any record in a dataframe that contains any of several keywords in any of several variables. Example: # create a dataframe with 4 variables ...
    Christopher W. RyanChristopher W. Ryan
    Jul 9, 2015 at 2:23 am
    Jul 11, 2015 at 2:36 pm
  • Hi, I have been trying to solve the below problem for 2 days with no success. Hopefully you can help as i can find no assistance online. I am attempting to run the niche.equivalency.test and the ...
    Annemarie FischerAnnemarie Fischer
    Jul 8, 2015 at 8:22 pm
    Jul 9, 2015 at 6:34 pm
  • Lattice's bwplot() displays and prints (using pdf()) the box.rectangle and box.umbrella in a pale blue that is a pale gray on b&w laser printer output. I would like to set default options so the box ...
    Rich ShepardRich Shepard
    Jul 2, 2015 at 2:46 pm
    Jul 4, 2015 at 1:04 pm
  • Near the beginning of a LyX document I have a knitr chunk with options that begin with 'global_options', and includes echo=F. This presents the R code in that chunk from displaying in the compiled ...
    Rich ShepardRich Shepard
    Jul 20, 2015 at 5:58 pm
    Jul 21, 2015 at 3:43 pm
  • Hi, I have a big dataframe as follows 109ABC 109XYZ 18ABC 18XYZ 22XYZ 23ABC 25ABC 25XYZ 30ABC 31XYZ 32ABC 32XYZ 34DCM 34XYZ 36ABC 36SUR 38DCM 38XYZ 39DCM 39SUR 41DCM 41SUR 42DCM 42SUR 46SUR 52DCM ...
    DawnDawn
    Jul 9, 2015 at 5:12 pm
    Jul 15, 2015 at 1:28 am
  • [[1]] [1] "r" "e" "d" " " "g" "r" "e" "e" "n" [[1]] [1] "red" "green" I would have thought that "\\b" should give what "\\W" did. Note that: [1] 1 ## as expected Does strsplit use a different regex ...
    Bert GunterBert Gunter
    Jul 11, 2015 at 2:47 pm
    Jul 12, 2015 at 2:09 am
  • Hi, I have tried to find a way to find opposite or complementary colors in R. I would like to form a color circle with R like this one: http://nobetty.net/dandls/colorwheel/complementary_colors.jpg ...
    Atte TenkanenAtte Tenkanen
    Jul 25, 2015 at 7:49 pm
    Jul 29, 2015 at 9:30 am
  • Dear All, Does anyone know of any R functions that compute partial sums of series? Thanks in advance! Janh [[alternative HTML version deleted]]
    Janh AnniJanh Anni
    Jul 24, 2015 at 3:23 am
    Jul 25, 2015 at 4:14 am
  • by considering the following reproducible example: v0<-c("a","xxx","c",rep("xxx",2)) v1<-c(1,"b",3,"d","e") v2<-c(6,2,8,4,5) v3<-c("xxx",7,"xxx",9,10) df_start<-data.frame(v0,v1,v2,v3) df_start ...
    Massimo BressanMassimo Bressan
    Jul 23, 2015 at 4:14 pm
    Jul 24, 2015 at 6:55 am
  • I have 682 variables in a data frame , and a function that I should feed 682 variables in this function one by one and each time save the file as a special name! for emaple: my data frame file ...
    Lida ZeighamiLida Zeighami
    Jul 1, 2015 at 6:07 pm
    Jul 6, 2015 at 2:56 pm
  • ?Hi Arun, Hope all is well with you. I have a data with a column for date.The date format is mixed. There are date values with Month/Day/Year format and values with Day/Month/Year format.I don't know ...
    Farnoosh sheikhiFarnoosh sheikhi
    Jul 29, 2015 at 6:45 pm
    Jul 30, 2015 at 3:23 pm
  • Hi, This is a repost from here (http://r.789695.n4.nabble.com/Writing-output-of-a-looped-process-with-pdfs-tt4710348.html), due to the post not being complete originally. I am running R studio on OS ...
    Larrosa, CeciliaLarrosa, Cecilia
    Jul 26, 2015 at 7:00 pm
    Jul 28, 2015 at 3:36 pm
  • I tried accessing http://cran.r-project.org/doc/manuals/r-release/R- intro.html, which is linked to from http://cran.r- project.org/manuals.html. I get the message that the URL could not be found by ...
    PaulPaul
    Jul 6, 2015 at 3:10 pm
    Jul 7, 2015 at 11:28 am
  • Dear All, Is there a way to not include the row names when creating the list? Thanks! Regards, Frederic. Frederic Ntirenganya Maseno University, African Maths Initiative, Kenya ...
    Frederic NtirenganyaFrederic Ntirenganya
    Jul 29, 2015 at 11:15 am
    Jul 30, 2015 at 9:23 am
  • Dear List Members, I am searching for correlations between a dependent variable and a factor or a combination of factors in a repeated measure design. So I use lme() function in R. However, I am ...
    Angelo ArcadiAngelo Arcadi
    Jul 20, 2015 at 2:10 pm
    Jul 24, 2015 at 1:37 pm
  • Hello, I am trying to build a map of a country which shows informations to its regions in a popup window as soon as someone clicks on a region. Thank you -- View this message in context ...
    Marie-LouiseMarie-Louise
    Jul 22, 2015 at 11:35 pm
    Jul 24, 2015 at 6:59 am
  • The compositional data have been divided into two data frames: 46 response variables (the compositional components) and 5 explanatory variables. There are 209 observations of each. With no experience ...
    Rich ShepardRich Shepard
    Jul 17, 2015 at 1:16 pm
    Jul 17, 2015 at 9:54 pm
  • Is there an R package that allows one to calculate skewness and curtosis - but weighted with individual level weights (one weight per observation)? Thank you! -- Dimitri Liakhovitski
    Dimitri LiakhovitskiDimitri Liakhovitski
    Jul 16, 2015 at 3:10 pm
    Jul 16, 2015 at 11:05 pm
  • Hello I have count values for abundance which follow a pattern of over-dispersal with many zero values. I have read a number of documents which suggest that I don't use data transforming methods but ...
    CharlotteCharlotte
    Jul 28, 2015 at 6:33 am
    Sep 9, 2015 at 2:37 am
  • I wish to simulate event times where the censoring is informative, and to compare parameter estimator quality from a Cox PH model with estimates obtained from event times generated with ...
    Daniel MeddingsDaniel Meddings
    Jul 22, 2015 at 8:20 am
    Aug 3, 2015 at 8:49 pm
  • Hi, I want to do a plot from a variable (which i select from a listbox) with the color factor of the variable that i have selected from another listbox. To be not very heavy pasting all the code, i ...
    Jpara3Jpara3
    Jul 24, 2015 at 8:43 am
    Jul 27, 2015 at 7:26 am
  • Hello forum members, I am taking this R course which I have to admit that it is beyond my capability. I am asked to analyze the following data(file attached) according to the question provided ...
    Lia LEELia LEE
    Jul 10, 2015 at 9:17 am
    Jul 25, 2015 at 10:06 am
  • Hi, Here i am having a ".xlsx" file and it contains various columns including date-column[mm/dd/yy]-but it is not in the date format. I have to read this excel[.xlsx] file and need to get in ...
    R_AntonyR_Antony
    Jul 22, 2015 at 12:09 pm
    Jul 23, 2015 at 10:08 am
  • Dear Lister When the count outcomes are integers, we could use either Poisson or NB regression to model them. However, there are cases that the count outcomes are non-integers, e.g. average counts. I ...
    Wensui LiuWensui Liu
    Jul 22, 2015 at 3:21 am
    Jul 22, 2015 at 11:36 am
  • Hi,How is it possible to increase the size of a histogram labels (displayed on the top of the bars)? I thought that if I use cex 1, it will increase all text size on a plot (axis labels, axis ...
    Carol whiteCarol white
    Jul 20, 2015 at 8:24 pm
    Jul 21, 2015 at 11:35 am
  • Dear list, Let's say we have a variable (id), whose name is dynamically constructed. This variable represents a vector or data frame with many elements. Now I want to specifically assign a value to ...
    Jun ShenJun Shen
    Jul 7, 2015 at 8:53 pm
    Jul 10, 2015 at 5:50 pm
  • Dear all, I need help with posting to the list. Whenever i post any message, i get this reply : the message content was explicitly allowed. Any help please? Thanks a lot. Maram Sent from my iPhone
    Maram SalemMaram Salem
    Jul 9, 2015 at 6:46 am
    Jul 9, 2015 at 12:13 pm
  • Iam trying to plot 6 graphs in one single plot and I was able to, nonetheless I wanted that all graphs had just 1 common legend, as the legend is the same for all the 6 graphs and there is no sense ...
    Rosa OliveiraRosa Oliveira
    Jul 7, 2015 at 9:45 pm
    Jul 8, 2015 at 10:15 pm
  • Dear all, when I am running the code attached below, it seems that no results are returned, only the predefined NAs. What mistake do I make? Any comments and help is highly appreciated. Thanks and ...
    Martin SpindlerMartin Spindler
    Jul 31, 2015 at 12:39 pm
    Aug 1, 2015 at 9:17 pm
  • Dear All I have a general question about VIF. While there are multiple rules of thumb about the threshold value of VIF, e.g. 4 or 10, implying multicollinearity, I am wondering if anyone can point me ...
    Wensui LiuWensui Liu
    Jul 26, 2015 at 9:00 pm
    Jul 29, 2015 at 1:40 pm
  • How would you return the index where two vectors differs if they may contain missing (NA) values? For example: test1 <- c("1","2",NA); test2 <- c("1","2","3"); which(test1!=test2) does not return 3! ...
    BacctsBaccts
    Jul 28, 2015 at 8:25 pm
    Jul 29, 2015 at 1:19 pm
  • I need help with element-by-element division. Below, matrices a and c are both 5 x 2 and element-by-element division works as (I) expected. What if matrix is 1 by 2: to divide first column of a by ...
    Steven YenSteven Yen
    Jul 27, 2015 at 8:04 pm
    Jul 29, 2015 at 9:30 am
  • I have 5 items in total (1:5), but I show a person only 4 items (1:4) and ask this person to rank items 1:4 in terms of preferences (1 is best, 2 is second best, 4 is worst), and I get a vector of ...
    Dimitri LiakhovitskiDimitri Liakhovitski
    Jul 27, 2015 at 7:38 pm
    Jul 27, 2015 at 10:23 pm
  • Hello! (I dont know if I can raise this query here on this forum, but I had already raised on teh finance forum, but have not received any sugegstion, so now raising on this list. Sorry for the ...
    Amelia MarshAmelia Marsh
    Jul 22, 2015 at 4:41 pm
    Jul 23, 2015 at 5:47 pm
  • Dear R-Experts, I have fitted an ordinal logistic regression with just 1 explanatory variable for the reproducible example here below. Everything is working, now I try to calculate the Nagelkerke ...
    Varin sachaVarin sacha
    Jul 17, 2015 at 11:33 pm
    Jul 19, 2015 at 5:19 am
  • Say I have a list: [[1]] "I like google" [[2]] "Hi Google google" [[3]] "what's up" and they are tweets. And I want to find out how many tweets mention google (the answer should be 2). If I string ...
    TryingtolearnTryingtolearn
    Jul 16, 2015 at 5:40 pm
    Jul 17, 2015 at 11:49 pm
  • Hello, I have a question about the formula and the user defined function: I can do following: ###Case 1: + u = c(5,10,15,20,30,40,60,80,100), + lot1 = c(118,58,42,35,27,25,21,19,18), + lot2 = ...
    Kunshan YinKunshan Yin
    Jul 16, 2015 at 7:35 pm
    Jul 17, 2015 at 3:29 pm
  • Hi R-Help! I'm hoping that some of you may give me some tips that could make my code more efficient. More precisely, I would like to make the answer to my stakoverflow ...
    Ignacio MartinezIgnacio Martinez
    Jul 16, 2015 at 3:15 am
    Jul 16, 2015 at 5:49 pm
  • Dear All,I am trying to fit?one compartment IV bolus model on pharmacokinetic data using phenoModel function in nlme?package, based on a tutorial entitled ?"Development of population PK model using ...
    Patty HaaemPatty Haaem
    Jul 13, 2015 at 7:04 am
    Jul 13, 2015 at 3:59 pm
  • Hello everybody, I have a problem with R. I uploaded a questionnaire saved as csv into R and I tried to test independence between two variables. data <- read.csv("C:/Users/Me/Desktop/data.csv") ...
    Dagmar JurankováDagmar Juranková
    Jul 11, 2015 at 7:21 pm
    Jul 12, 2015 at 9:12 pm
  • Dear All I'm trying to find the maximum likelihood estimator of a certain distribution based on the newton raphson method using maxLik package. I wrote the log-likelihood , gradient, and hessian ...
    Maram SalemMaram Salem
    Jul 6, 2015 at 12:29 am
    Jul 12, 2015 at 2:52 pm
  • Hello everyone! I have been having trouble with Rgui on a Windows machine running Version 8.1. I download the binary from CRAN. It installs fine. But when I try to run it, the console opens for a ...
    Erin HodgessErin Hodgess
    Jul 6, 2015 at 1:14 am
    Jul 6, 2015 at 7:06 pm
  • I would like to include a Greek letter in a column title, viz. pB where B should be the Greek letter beta, but I don't know how to do this. I know about dimnames, but I don't know how to create the ...
    John SorkinJohn Sorkin
    Jul 5, 2015 at 7:29 pm
    Jul 6, 2015 at 3:22 pm
  • I have a string that contains a number and when I convert it to a number I loose precision and I would like to know if there is a way to avoid that. Here is my example: p <- "1087.003489" ...
    Bos, RogerBos, Roger
    Jul 2, 2015 at 1:54 pm
    Jul 2, 2015 at 2:50 pm
  • Dear all, I am trying to parallelize the function npnewpar given below. When I am comparing an application of "apply" with "parApply" the parallelized version seems to be much slower (cf output ...
    Martin SpindlerMartin Spindler
    Jul 30, 2015 at 12:26 pm
    Jul 31, 2015 at 7:43 am
  • Hello, I've recently discovered the helpful dplyr package. I'm using the 'aggregate' function as such: bevs <- data.frame(cbind(name = c("Bill", "Mary"), drink = c("coffee", "tea", "cocoa", "water"), ...
    Jon BRJon BR
    Jul 30, 2015 at 2:37 am
    Jul 30, 2015 at 3:16 am
Group Navigation
period‹ prev | Jul 2015 | next ›
Group Overview
groupr-help @
categoriesr
discussions289
posts1,035
users313
websiter-project.org
irc#r

313 users for July 2015

Bert Gunter: 48 posts Jeff Newmiller: 44 posts David Winsemius: 42 posts Rich Shepard: 34 posts John Kane: 29 posts Sarah Goslee: 26 posts Jim Lemon: 25 posts Duncan Murdoch: 19 posts Peter dalgaard: 19 posts Rolf Turner: 18 posts Thierry Onkelinx: 17 posts Jpara3: 16 posts PIKAL Petr: 15 posts John Fox: 14 posts Jim holtman: 13 posts William Dunlap: 13 posts Angelo Arcadi: 12 posts Dimitri Liakhovitski: 9 posts Duncan Mackay: 9 posts Hadley Wickham: 9 posts
show more
Archives