FAQ

Search Discussions

187 discussions - 693 posts

  • Dear all, I have one observation that I do not quite understand. Maybe someone can clarify this issue for me. I have a data frame which I want to subset based on a grouping variable, say "group" ...
    Karl SchillingKarl Schilling
    Nov 17, 2015 at 7:14 pm
    Nov 18, 2015 at 1:41 am
  • Dear all,I am not exactly sure on what is the proper name of what I am trying to do. I have a vector that looks like ?binDistance ?????????? [,1] ?[1,] 238.95162 ?[2,] 143.08590 ?[3,]? 88.50923 ?[4,] ...
    AlaiosAlaios
    Nov 3, 2015 at 3:47 pm
    Nov 5, 2015 at 9:29 pm
  • Greetings -- This has also been posted on the jags forum, but since I suspect the problem is more 'R-related' than jags, will aos post here. Decided to 'upgrade' from jags 3.x.x to 4.x.x today, on my ...
    Evan CoochEvan Cooch
    Nov 4, 2015 at 7:08 pm
    Nov 19, 2015 at 1:36 pm
  • Hi, Pretty much everything is in the title of the post. An example is below. library(lattice) data <- data.frame(x=rep(1:10,8),y=rnorm(80),trtúctor(rep(1:4,each )),groups=rep(1:8,each)) xyplot <- ...
    SbihorelSbihorel
    Nov 16, 2015 at 2:22 am
    Nov 17, 2015 at 12:23 am
  • Hi all, I have a data set that contains samples collected over time. In each time period the total number of samples are given (X2) The goal is to select 500 random samples. The selection should be ...
    AshtaAshta
    Nov 21, 2015 at 5:52 pm
    Nov 21, 2015 at 10:59 pm
  • I am looking for a gentle introduction to SWEAVE, and would appreciate recommendations. I have an R program that I want to run and have the output and plots in one document. I believe this can be ...
    John SorkinJohn Sorkin
    Nov 17, 2015 at 3:21 pm
    Nov 18, 2015 at 7:22 pm
  • Dear R-users I have a problem in the code below, the problem is because i want to change the variable BZ which is a vector with 200x1 dimension to the var. W which is categorical variable with same ...
    Thanoon younisThanoon younis
    Nov 4, 2015 at 3:02 am
    Nov 4, 2015 at 10:24 am
  • Hi All, I'm writing a long code that takes long time to execute. So I used the Rprof() function and found out that the function that takes about 80% of the time is the incomb () fucntion (below), and ...
    Maram SAlemMaram SAlem
    Nov 1, 2015 at 12:31 pm
    Nov 15, 2015 at 5:18 pm
  • Dear list members, I am getting an error while performing a repeated measures MANOVA using the Anova function of the "car" package. I want to apply it on the results of an experiment involving 19 ...
    Angelo ArcadiAngelo Arcadi
    Nov 25, 2015 at 4:30 pm
    Nov 26, 2015 at 3:25 pm
  • Hi I want to extract data from a Microsoft access database having many tables with more than 1e7 rows. I find that the following code works to export a table to a rds file : ##################### ...
    Vivek SutradharaVivek Sutradhara
    Nov 20, 2015 at 5:38 pm
    Nov 22, 2015 at 6:55 pm
  • What is the rationale for the following warning in R-3.2.2? [1] FALSE Warning message: In is.na(expression(abcd)) : is.na() applied to non-(list or vector) of type 'expression' [[alternative HTML ...
    Richard M. HeibergerRichard M. Heiberger
    Nov 19, 2015 at 1:54 am
    Nov 19, 2015 at 9:52 pm
  • Hi I am plotting various strands of information, and I want to create an "envelope" around each line, so that the locus of the envelope is the boundary points no more than a fixed maximum distance ...
    WRAY NICHOLASWRAY NICHOLAS
    Nov 2, 2015 at 12:33 pm
    Nov 5, 2015 at 6:01 pm
  • A rather silly question but I went to install a new package this morning and as usual a list of CRAN mirrors appeared but the Canadian ones had disappeared. Is this some peculiarity of my system ...
    John KaneJohn Kane
    Nov 2, 2015 at 12:00 pm
    Nov 3, 2015 at 3:16 am
  • Dear List, Im using Rstudio on a macbook pro OS X Yosemite version 10.10.5 and im trying to open the package geomorph but a warning message related to rgl shows up. Loading required package: rgl ...
    Margarette Bayron ArcelayMargarette Bayron Arcelay
    Nov 23, 2015 at 4:56 am
    Nov 26, 2015 at 8:36 pm
  • Hi All, I have couple of clarifications on R run-time performance. I have R-3.2.2 package compiled for MIPS64 and am running it on my linux machine with mips64 processor (core speed 1.5GHz) and ...
    Sasikumar KandhasamySasikumar Kandhasamy
    Nov 16, 2015 at 8:25 pm
    Nov 18, 2015 at 5:31 am
  • Hello, Is there a way to avoid the warning below in dplyr. I?m performing an operation within groups, and the warning says that the factors created from each group do not have the same levels, and so ...
    Axel UrbizAxel Urbiz
    Nov 5, 2015 at 11:59 pm
    Nov 6, 2015 at 2:26 am
  • Hello, I am using the "activity" package developed by Marcus Rowcliffe (released in February, 2015). This package uses time in radians to estimate activity. I have camera trap data in 24 hour times ...
    Typhenn Brichieri-ColombiTyphenn Brichieri-Colombi
    Nov 3, 2015 at 10:00 pm
    Nov 4, 2015 at 3:53 pm
  • Dear All: I am trying to explain to my students how to calculate the definite integral using the Riemann sum. Can someone help me to graph the area under the curve of the function, showing the curve ...
    Steven StolineSteven Stoline
    Nov 27, 2015 at 12:52 pm
    Dec 1, 2015 at 11:56 am
  • Hi R user, I was wondering why I could not load R packages such as reshape2 in mac. I tried different ways but could not success. here I what I got Warning: unable to access index for repository ...
    Kristi GloverKristi Glover
    Nov 25, 2015 at 8:01 am
    Nov 25, 2015 at 1:27 pm
  • Dear R users, I like to split my data by a vector created by using variable "ranges". This vector will have the current range (ranges), preceding range (ranges - 1), and post range (ranges + 1) for a ...
    DIGHE, NILESH [AG/2362]DIGHE, NILESH [AG/2362]
    Nov 23, 2015 at 4:05 pm
    Nov 24, 2015 at 10:13 pm
  • Dear R list, I am trying to find the MLE of the likelihood function. I will plot the log-likelihood to check my answer. Here's my R code: xvec <- c(2,5,3,7,-3,-2,0) fn <- function(theta){ sum(0.5 * ...
    C WC W
    Nov 18, 2015 at 10:31 pm
    Nov 19, 2015 at 6:08 pm
  • Hi, While I agree with the comments about paying attention to parameter scaling, a major issue here is that the default optimization algorithm, Nelder-Mead, is not very good. It is unfortunate that ...
    Ravi VaradhanRavi Varadhan
    Nov 15, 2015 at 5:02 pm
    Nov 15, 2015 at 9:31 pm
  • Hi, Could you please assist, how do I load the rpt data into R without converting it first to csv? Kind regards Peter Please Note: This email and its contents are subject to our email legal notice ...
    Mangalani Peter MakananisaMangalani Peter Makananisa
    Nov 12, 2015 at 11:51 am
    Nov 13, 2015 at 7:36 am
  • Hi all, I have a data frame with huge rows and columns. When I looked at the data, it has several garbage values need to be cleaned. For a sample I am showing you the frequency distribution of one ...
    AshtaAshta
    Nov 11, 2015 at 11:51 pm
    Nov 12, 2015 at 4:33 am
  • Hello everyone! Could someone recommend a good reference for Fortran with R, please? I know that Dirk has an excellent book for C/C++, but I feel more comfortable with Fortran (I'm old school, maybe ...
    Erin HodgessErin Hodgess
    Nov 6, 2015 at 4:23 pm
    Nov 6, 2015 at 8:16 pm
  • Hello,? A colleague of mine prepared a PCA plot of my data and I have no clue how he did it. My original data set contains 15 variables and 64 observations. I have been trying to figure out how he ...
    Debra raglandDebra ragland
    Nov 30, 2015 at 1:56 pm
    Nov 30, 2015 at 3:59 pm
  • Hi, I have a field with alpha numeric codes like, 2154333b-3208-4519-8b76-acaef5b5a479 980958a0-103b-4ba9-afaf-27b2f5c24e69 00966654-0dea-4899-b8cf-26e8300b262d I want a derived field which will ...
    Abhinaba RoyAbhinaba Roy
    Nov 30, 2015 at 10:39 am
    Nov 30, 2015 at 3:34 pm
  • Hi all, I'm posting to see if anyone knows of any existing resources that auto-magically converts r objects in saved in .rds files to a plain text representation, suitable for diffing? I often save ...
    Will HopperWill Hopper
    Nov 23, 2015 at 5:36 pm
    Nov 23, 2015 at 8:40 pm
  • Dear all I have a vector ones and zeroes like that x<-c(rep(0,5), rep(1,5), rep(0,10), rep(1,8)) and I need to get result like that x.i<-c(rep(0,5), rep(1,5), rep(0,10), rep(2,8)) It means I need an ...
    PIKAL PetrPIKAL Petr
    Nov 23, 2015 at 2:59 pm
    Nov 23, 2015 at 4:34 pm
  • Hello, I am having problems with predict() after a multinomial logit regression by multinom(). I generate a design matrix with model.matrix() and use it to estimate the model. Then, if I pass the ...
    Damir CosicDamir Cosic
    Nov 20, 2015 at 3:53 am
    Nov 20, 2015 at 5:37 pm
  • Dear All, I am using optim() for a relatively simple task: a linear model where instead of minimizing the sum of the squared errors, I minimize the sum of the squared relative errors. However, I ...
    Lorenzo IsellaLorenzo Isella
    Nov 14, 2015 at 3:15 pm
    Nov 16, 2015 at 5:47 pm
  • Dear all, if I have a sample set of the following numbers x1=0.09, x2=0.94, x3=0.48, x4=0.74, x5=0.04 I can calculate the variance easily. But if each x is actually a subset of multiple values, what ...
    Luigi MarongiuLuigi Marongiu
    Nov 11, 2015 at 11:26 am
    Nov 13, 2015 at 3:01 pm
  • I am an intermediate R user with little understanding of the working of R packages. My problem is with the package RWinEdt. I was using using WinEdt 6 with R 3.1.3 and R-Sweave-6 in Windows 7 rather ...
    Cynthia Yeung - NOAA FederalCynthia Yeung - NOAA Federal
    Nov 5, 2015 at 11:17 pm
    Nov 6, 2015 at 10:57 pm
  • Dear all, I am currently writing a protocol for a meta-analysis which will analyze suicidal events. Recently, O. Kuss has (DOI 10.1002/sim.6383) published a paper that suggest using beta-binomial ...
    Markus KöstersMarkus Kösters
    Nov 26, 2015 at 1:39 pm
    Nov 30, 2015 at 8:44 am
  • I have 15 protein sequences of 99 amino acids each. After doing some looking around I have found that there are several ways you can read sequences into R and do pairwise or multiple alignments. I, ...
    Debra raglandDebra ragland
    Nov 24, 2015 at 5:04 pm
    Nov 25, 2015 at 1:45 pm
  • Hello, I am quite new to R and have high expectations for my future with it. R version 3.0.2 (2013-09-25) -- "Frisbee Sailing" Copyright (C) 2013 The R Foundation for Statistical Computing Platform ...
    Timothy D. LeggTimothy D. Legg
    Nov 24, 2015 at 7:47 pm
    Nov 24, 2015 at 9:12 pm
  • Hello,?? ? ? ? ? Is there anyone to help me out how can I resolve memory issue of R, when I want to analyze data of 1Gb file, R returns me?Error: not allocate of vector size of 1.8 GB.I tried on ...
    Tamsila ParveenTamsila Parveen
    Nov 22, 2015 at 3:08 pm
    Nov 24, 2015 at 2:07 am
  • Hi everyone, I am stumbling over the following issue when using the NSE (non-standard evaluation) of the summarise function in dpylr (as described here ...
    Tobias BylandTobias Byland
    Nov 21, 2015 at 11:33 pm
    Nov 23, 2015 at 10:15 pm
  • I?m running R 3.2.2 on a Linux server (Redhat 4.4.7-16), and having the following problem. It works fine with the following: require('MASS?) var(mvrnorm(n = 1000, rep(0, 2), ...
    Gang ChenGang Chen
    Nov 18, 2015 at 7:28 pm
    Nov 18, 2015 at 11:14 pm
  • etc. The survreg routine fits location-scale distributions such that (t(y) - Xb)/s ~ F, where t is an optional transformation, F is some fixed distribution and X is a matrix of covariates. For any ...
    Therneau, Terry M., Ph.D.Therneau, Terry M., Ph.D.
    Nov 4, 2015 at 1:52 pm
    Nov 17, 2015 at 4:18 am
  • Dear group IF I had an objective function and some constrains formed in linear model form. is there a way,..library in R that helps me to solve such amodel and find the unknown variable in it? thanks ...
    Ragia IbrahimRagia Ibrahim
    Nov 16, 2015 at 7:49 am
    Nov 17, 2015 at 12:57 am
  • Hi -- I am new to R, and not much more advanced in stats, but am trying to learn my way through the program to finish my master's thesis. I am trying to run tests using glmer, and am getting the ...
    Tania PollakTania Pollak
    Nov 15, 2015 at 9:58 pm
    Nov 17, 2015 at 12:10 am
  • Hi all, I have the following raw data some records don't have the second variable. test <- read.table(textConnection(" Country STATUS USA USA W USA W GER GER W GER w GER W UNK W UNK UNK W FRA FRA FRA ...
    AshtaAshta
    Nov 14, 2015 at 10:28 pm
    Nov 16, 2015 at 5:17 am
  • Hello everybody, I am new to R and I discovered something that suprise me and I have a question about it. Today I wanted to return a bit array which represents this: if( arbitrary point above the ...
    Ilgaz SIlgaz S
    Nov 13, 2015 at 1:11 pm
    Nov 15, 2015 at 7:24 am
  • Hello! I don't have an example file, but I think my question should be clear without it. I have an SPSS file. I read it in using 'haven': library(haven) spss1 <- read_spss("SPSS_Example.sav") I ...
    Dimitri LiakhovitskiDimitri Liakhovitski
    Nov 12, 2015 at 4:56 pm
    Nov 13, 2015 at 5:42 pm
  • Hello I was trying to set up a function() that allows easely to calculate regressions for severel dependent variables with the same independent variables. My function looked like this but was turned ...
    Matthias WorniMatthias Worni
    Nov 12, 2015 at 4:27 pm
    Nov 13, 2015 at 12:30 am
  • Hi there, I am looking for some help replacing missing values in R with the row mean. This is survey data and I am trying to impute values for missing variables in each set of questions separately ...
    ZahraZahra
    Nov 2, 2015 at 7:49 pm
    Nov 12, 2015 at 4:19 pm
  • Hello, I am trying to use a code which requires quotes around each of about 1000 entries. When I did this in Microsoft programs, R rejected every quote. I converted the font to courier new size 10 ...
    Daniel WiegertDaniel Wiegert
    Nov 12, 2015 at 2:54 am
    Nov 12, 2015 at 2:48 pm
  • I do have an Rmd where I would like to conditionally evaluate the second part. So far I am working with : ```{r} if(length(specLibrary at ionlibrary) ==0){ library(knitr) opts_chunk$set(evalúLSE, ...
    Witold E WolskiWitold E Wolski
    Nov 10, 2015 at 10:40 am
    Nov 10, 2015 at 7:51 pm
  • Hi, It's possible to use ggplot and geom_smooth to adjust a power curve to the data? Initially i have done the adjustement with nls and the formula 'a*x^b', but resulted the singular matrix error for ...
    Catarina SilvaCatarina Silva
    Nov 6, 2015 at 10:41 am
    Nov 10, 2015 at 7:04 pm
Group Navigation
period‹ prev | Nov 2015 | next ›
Group Overview
groupr-help @
categoriesr
discussions187
posts693
users226
websiter-project.org
irc#r

226 users for November 2015

Bert Gunter: 37 posts Jeff Newmiller: 30 posts David Winsemius: 25 posts Duncan Murdoch: 25 posts Jim Lemon: 23 posts Boris Steipe: 20 posts William Dunlap: 19 posts Peter dalgaard: 14 posts Rolf Turner: 14 posts David L Carlson: 13 posts Jim holtman: 12 posts Ashta: 11 posts John Kane: 10 posts PIKAL Petr: 10 posts Angelo Arcadi: 9 posts Alaios: 9 posts Axel Urbiz: 8 posts Dimitri Liakhovitski: 8 posts Ragia Ibrahim: 7 posts Andrew Crane-Droesch: 6 posts
show more
Archives