FAQ

Search Discussions

219 discussions - 770 posts

  • I have a spreadsheet with five different columns standing for five different variables: Variable 1 Variable 2 Variable 3 Variable 4 Variable 5 0 0 7 1 0 0 0 7 0 0 1 1 8 2 0 5 5 8 0 0 1 4 8 1 0 4 5 8 ...
    Dmitri LeybmanDmitri Leybman
    Dec 14, 2015 at 9:34 pm
    Dec 17, 2015 at 5:01 am
  • Hi All, I'd like to understand the reason why stopifnot(logical(0) == x) doesn't (never?) throw an exception, at least in these cases: stopifnot(logical(0) == 1) stopifnot(logical(0) == TRUE) ...
    Dario BeraldiDario Beraldi
    Dec 11, 2015 at 1:38 pm
    Dec 14, 2015 at 5:40 pm
  • Hello, I have data; one column and 310 rows. When I plot the histogram, it has two peaks; please see the attachment. I would like to find appropriate distribution that fits the data. I tried to ...
    Mesude bayrakciMesude bayrakci
    Dec 28, 2015 at 7:40 pm
    Jan 6, 2016 at 11:22 pm
  • Merry upcoming Christmas - for those of us who celebrate it! # I have data frame x. x <- data.frame(game = c(rep(1, 4), rep(2, 4)), set = rep(c(1,1,2,2), 2), player = rep(1:2, 4), char1 = ...
    Dimitri LiakhovitskiDimitri Liakhovitski
    Dec 23, 2015 at 9:35 pm
    Jan 20, 2016 at 10:59 pm
  • Dear colleagues i need your generous help to solve the following problem I have a soil moisture time series qWC1 (61 values) 75.33336 75.20617 75.20617 74.95275 74.95275 74.70059 74.70059 74.70059 ...
    Makram Belhaj FrajMakram Belhaj Fraj
    Dec 23, 2015 at 7:34 am
    Dec 30, 2015 at 2:30 pm
  • Dear list users, through the "matrixcalc" package I am performing some checks of variance matrices (which must be positive definite). In this example, it happens that the matrix A here reported is ...
    Stefano SofiaStefano Sofia
    Dec 10, 2015 at 10:08 am
    Dec 28, 2015 at 4:11 pm
  • Hi, I recently needed to install a fresh OS (Fedora 23, where R 3.2.2 is the latest), and which meant everything has to be installed from scratch. In so doing, I got the somewhat familiar: Installing ...
    Ranjan MaitraRanjan Maitra
    Dec 12, 2015 at 4:47 pm
    Dec 12, 2015 at 8:06 pm
  • Dear All: I need helps with creating histograms for data that include left censored observations. Here is an example of left censored data *Sulfate.Concentration* ...
    Steven StolineSteven Stoline
    Dec 31, 2015 at 10:20 am
    Jan 3, 2016 at 9:38 pm
  • Hello all I am using the following two commands and get two completely different qq plots while meanlog and sdlog?are almost the same. Any help is highly appreciated.?dev.new() ; qqPlot(serving, dist ...
    Mohsen hsMohsen hs
    Dec 18, 2015 at 9:57 am
    Jan 26, 2016 at 8:33 am
  • Dear group I used to run Rstudio on windows. currently ?I want to run Rstudio on Ubuntu server, start its GUI . kindly, is there a guide on how to do this step by step, I already searched and ...
    Ragia IbrahimRagia Ibrahim
    Dec 22, 2015 at 9:10 pm
    Dec 23, 2015 at 10:18 pm
  • I have to evolve each element of a matrix W W <- matrix(0,2,3) according to some function which uses the indices of the matrix [i,j] as arguments: w.fun = function(i,j) { return A[i]*B[j]/(C[i,j]) } ...
    Matteo RichiardiMatteo Richiardi
    Dec 17, 2015 at 12:18 am
    Dec 17, 2015 at 5:54 pm
  • Dears, I'm having a weird behaviours when setting arguments in functions. fn <- function(x, st="mean", b=NULL, col.range="black", ...){ dots <- list(...) cat("col.range =", col.range, "\n") cat("dots ...
    Mario José Marques-AzevedoMario José Marques-Azevedo
    Dec 11, 2015 at 5:40 pm
    Dec 16, 2015 at 12:07 am
  • Trying to update package pbkrtest failed because of a missing object in another namespace. Not having experienced this issue before now I don't know what to do to fix the problem. Here's the story: * ...
    Rich ShepardRich Shepard
    Dec 11, 2015 at 6:44 pm
    Dec 11, 2015 at 10:53 pm
  • Hi All, I have the code to print XML tree that is working successfully in R Studio but is failing when i try to work it out with TERR: x<- XML::xmlParse(y) y is input (Coming from a row only once) x ...
    Archit SoniArchit Soni
    Dec 15, 2015 at 1:09 pm
    Dec 23, 2015 at 10:48 am
  • I am trying to download the ?Formula? library using install.packages(?Formula?); I have had no problem downloading other libraries recently. I receive the error message Warning: unable to access ...
    John KaronJohn Karon
    Dec 16, 2015 at 6:29 pm
    Dec 17, 2015 at 8:39 am
  • Hello everyone! I am writing up something (quickly) using LaTex and periodically refer to R functions and packages. What is the correct way to put those into LaTex, please? I know that R itself is ...
    Erin HodgessErin Hodgess
    Dec 10, 2015 at 5:10 pm
    Dec 11, 2015 at 10:42 pm
  • I am following the example I find on ?assign: a <- 1:4 assign("a[1]", 2) This appears to create a new variable named "a[1]" rather than changing the value of the vector. Am I missing something here? ...
    Matteo RichiardiMatteo Richiardi
    Dec 23, 2015 at 8:44 am
    Dec 24, 2015 at 7:18 pm
  • Hello! I have a solution for my task that is based on a loop. However, it's too slow for my real-life problem that is much larger in scope. However, I cannot use merge. Any advice on how to do it ...
    Dimitri LiakhovitskiDimitri Liakhovitski
    Dec 22, 2015 at 5:27 pm
    Dec 22, 2015 at 9:10 pm
  • For the regexp aficionados, out there: I need a regular expression to extract either everything within some brackets, or everything outside the brackets, in a string. This would be the test string ...
    Adrian DușaAdrian Dușa
    Dec 11, 2015 at 1:50 pm
    Dec 11, 2015 at 8:55 pm
  • Hello! Could you please explain why the first 5 lines work but the last 2 lines don't? Thank you! by(data = iris[myvars], INDICES = iris["Species"], FUN = summary) by(data = iris[myvars], INDICES = ...
    Dimitri LiakhovitskiDimitri Liakhovitski
    Dec 8, 2015 at 10:30 pm
    Dec 8, 2015 at 11:19 pm
  • Dear All, I know how to fill a polygon, using a basic R graphics device: par(mai=c(0, 0, 0, 0)) plot(1:100, type="n") polygon(c(20, 80, 80, 20), c(20, 20, 80, 80), col="lightblue") But let's say I ...
    Adrian DușaAdrian Dușa
    Dec 2, 2015 at 12:07 pm
    Dec 3, 2015 at 9:56 am
  • Dear Team, I am facing an error while performing a manipulation using a dplyr package. In the code below, I am using mutate to build a new calculated column ...
    SHIVI BHATIASHIVI BHATIA
    Dec 30, 2015 at 10:56 am
    Dec 31, 2015 at 5:30 pm
  • Hi R user, I was trying to make a figure for each of four sites. Each site has 7 classes, among the 7 classes, one is average. I am wondering how I can change the color and size of the line that was ...
    Marna WagleyMarna Wagley
    Dec 24, 2015 at 8:15 am
    Dec 25, 2015 at 10:38 pm
  • Hi all, I cannot for the life of me get my axis titles to adjust vertically in a ggplot. I've seen several posts about this and have tried everything: keeping vjust within 0 and 1, adjusting the ...
    Ryan UtzRyan Utz
    Dec 22, 2015 at 5:59 pm
    Dec 23, 2015 at 5:35 pm
  • I apologise for this very basic question, but I found no answers on the web. I want to create a data.table with n columns, named i1 ... i'n', with only one row with value = 100 for every variable. I ...
    Matteo RichiardiMatteo Richiardi
    Dec 16, 2015 at 11:53 am
    Dec 16, 2015 at 2:03 pm
  • Dear all, I am trying to do some cluster analysis, both with the base R and the apcluster. Both methods give 2 clusters, which is what I am looking for since I am interested in identifying positive ...
    Luigi MarongiuLuigi Marongiu
    Dec 13, 2015 at 4:17 pm
    Dec 15, 2015 at 11:57 am
  • Hi Everyone, I am conducting a meta-analysis using the metafor package. I am interested in obtaining an estimate by subgroup only without showing an overall effect. This is directly from the metafor ...
    John PetersonJohn Peterson
    Dec 7, 2015 at 12:39 am
    Dec 12, 2015 at 2:43 pm
  • Dear all, I have worked on AKDEs using the package ctmm. Because my old computer often crashed, I bought a new one and reinstalled all the software, including r. All seemed to work fine, but when I ...
    Alexander MoßbruckerAlexander Moßbrucker
    Dec 10, 2015 at 6:46 am
    Dec 10, 2015 at 9:26 am
  • Hello All, I have written the following loop which will apply/split the same vector of numbers (pc1.eigv) to each (logical) row of a matrix and run a wilcox.test on those values that line up with ...
    Debra raglandDebra ragland
    Dec 9, 2015 at 12:49 pm
    Dec 9, 2015 at 7:01 pm
  • Hello everyone, I am an R rookie and I'm learning as I program. I am working on a script to process a large amount of data: I read a pattern of filenames in the folder I want and import their data ...
    BARLAS Marios 247554BARLAS Marios 247554
    Dec 4, 2015 at 10:51 am
    Dec 7, 2015 at 3:01 pm
  • Dear friends - I have a very simple question - I generate a number of dataframes with identical names and want to combine them into one large dataframe with the same names - here is an example DF <- ...
    Troels RingTroels Ring
    Dec 4, 2015 at 4:03 pm
    Dec 4, 2015 at 4:17 pm
  • Dear R users, Suppose that I have a matrix A A <- matrix(c(1,2,3,4),2,2) [,1] [,2] [1,] 1 3 [2,] 2 4 With this matrix A, I'd like to create bigger one, for example, [,1] [,2] [,3] [,4] [,5] [,6] [,7] ...
    Kathryn LordKathryn Lord
    Dec 31, 2015 at 8:28 pm
    Dec 31, 2015 at 9:31 pm
  • Hi All. I'm very new in R. I'd like to import data of the form MxMxT, i.e., MxM array in T distinct points. Any ideas how to do that? Regards, Veni? [[alternative HTML version deleted]]
    Veni arakelianVeni arakelian
    Dec 28, 2015 at 7:49 am
    Dec 28, 2015 at 11:38 pm
  • When I run by, I get an error message and no results. Any help in understanding what is wrong would be appreciated. Error message: Warning messages: 1: In mean.default(data[x, , drop = FALSE], ...
    John SorkinJohn Sorkin
    Dec 28, 2015 at 2:55 am
    Dec 28, 2015 at 1:03 pm
  • Hallow everybody I want to know if there is any command for input colour in the ribbon plot (geom ribbon) of ggplot2. Unless that, the mean line and the standard error can not be distinguished ...
    Pushan chakrabortyPushan chakraborty
    Dec 22, 2015 at 8:56 am
    Dec 23, 2015 at 3:20 pm
  • Hi all, I have a question about doing a meta-analysis, in particular a three-level meta-analysis using Metafor. I have estimated the mean overall effect size of males by using two different ways: 1 ...
    Carlijn .Carlijn .
    Dec 12, 2015 at 3:35 pm
    Dec 21, 2015 at 1:58 pm
  • Dear all, I am plotting some data using lattice's barchart. One of the counts I am plotting has a very large value with respect to the other variables and I would like to introduce a break in the ...
    Luigi MarongiuLuigi Marongiu
    Dec 18, 2015 at 8:32 pm
    Dec 21, 2015 at 3:28 am
  • Hi?I am using NeweyWest standard errors to correct lm( ) output. For example: lm(A~A1+A2+A3+A4+A5+B1+B2+B3+B4+B5) vcovNW<-NeweyWest(lm(A~A1+A2+A3+A4+A5+B1+B2+B3+B4+B5)) I am using package(sandwich) ...
    Saba SehrishSaba Sehrish
    Dec 19, 2015 at 1:31 am
    Dec 19, 2015 at 12:25 pm
  • Hi R users, I am struggling to create a table in R. I did in Excel but I have a lots of data and thought it might be easy in R but I am new in R. How to get "output table" for this example data? This ...
    Marna WagleyMarna Wagley
    Dec 18, 2015 at 3:33 am
    Dec 18, 2015 at 10:58 pm
  • HI, I am very new to R (and programming in general) and am taking a class in it now. I am getting creamed. I want the last part of the function statement below to give me the mean of the data set of ...
    Bradley WolfBradley Wolf
    Dec 18, 2015 at 4:06 am
    Dec 18, 2015 at 10:26 pm
  • Hi, Sorry for this direct approach but I am stuck with a stupid data that I would like to reformat. The datafile is location at: fileURL <- ...
    Fahad UsmanFahad Usman
    Dec 17, 2015 at 3:24 pm
    Dec 18, 2015 at 5:55 pm
  • Dear R users, I'm writing to this list because I must get a random sample (without replacement) from a given vector, but the clue is that I need to extract a fixed number of values by each ...
    Frank S.Frank S.
    Dec 14, 2015 at 8:01 pm
    Dec 15, 2015 at 9:27 am
  • Hi I wish to draw a basic choropleth (US, by state) and am wondering if anyone has any recommendations? I've tried the following thus far: 1. choroplethr: this works, but required installation of 30+ ...
    Benjamin TynerBenjamin Tyner
    Dec 6, 2015 at 8:03 pm
    Dec 14, 2015 at 8:05 pm
  • Dear all, I use metafor package to generate a forest plot showing the weight of each study in the plot. I use the code: library(metafor) data(dat.bcg) res <- rma(ai=tpos, bi=tneg, ci=cpos, di=cneg, ...
    Mario PetrettaMario Petretta
    Dec 9, 2015 at 6:48 pm
    Dec 14, 2015 at 9:13 am
  • Hello, I hope someone can help me with my problem: I have a dataframe like this: datframe <- data.frame(dates=c("02.08.2013","03.08.2013","03.08.2013"), times =c("22:10","4:04", "10:18"), tide ...
    DagmarDagmar
    Dec 3, 2015 at 10:51 am
    Dec 11, 2015 at 11:08 am
  • Hello, I estimated three paramters using non informative prior(all paramters following uniform distribution) the output is: Error in optim(pars, li_func, control = list(fnscale = -1), hessian = TRUE, ...
    hms Dreamshms Dreams
    Dec 10, 2015 at 5:26 pm
    Dec 10, 2015 at 9:26 pm
  • Here is a sample of my data frame, obtained with read_csv2 from readr package. myDf <- structure(list(X15 = c("30.09.2015", "05.10.2015", "30.09.2015", "29.09.2015", "10.10.2015"), X16 = ...
    Arnaud gabouryArnaud gaboury
    Dec 10, 2015 at 11:12 am
    Dec 10, 2015 at 12:52 pm
  • Hi all, When plotting the dose response curve using plot function as in the example codes below, the scale of the axis should really be on the log scale of the dose given the shape of the graph. But ...
    Li liLi li
    Dec 9, 2015 at 2:57 am
    Dec 9, 2015 at 6:24 pm
  • Hi, I'm trying to make a ggplot() graph with a custom legend, but without success, it is simple, I have somethink like this in traditional plot: plot(y~x) curve(equation1,lty=1) ...
    Ronaldo Reis JúniorRonaldo Reis Júnior
    Dec 9, 2015 at 1:52 pm
    Dec 9, 2015 at 3:24 pm
  • hello all, I intend transfer a big data.frame, more than 1e4 rows, more than 100 columns... I found solutions (in internet and help pages) for small data.frame like the showed bellow. Big data.frames ...
    Cleber N.BorgesCleber N.Borges
    Dec 9, 2015 at 12:37 am
    Dec 9, 2015 at 7:42 am
Group Navigation
period‹ prev | Dec 2015 | next ›
Group Overview
groupr-help @
categoriesr
discussions219
posts770
users232
websiter-project.org
irc#r

232 users for December 2015

David Winsemius: 49 posts Bert Gunter: 39 posts Giorgio Garziano: 26 posts Peter dalgaard: 25 posts William Dunlap: 25 posts Jim Lemon: 21 posts Jeff Newmiller: 19 posts PIKAL Petr: 19 posts Duncan Murdoch: 16 posts David L Carlson: 14 posts Rolf Turner: 14 posts John Kane: 12 posts Dimitri Liakhovitski: 11 posts John Sorkin: 11 posts Cleber N.Borges: 10 posts Li li: 10 posts Marc Schwartz: 10 posts Phgrosjean: 8 posts Archit Soni: 8 posts Saba Sehrish: 8 posts
show more
Archives