Grokbase Groups R r-help June 2016

Search Discussions

135 discussions - 491 posts

  • Hi, I'm trying to write an R package that calls a Fortran subroutine on my Mac os x El Capitan with Xcode 7 and gfortran 6.1, R 3.3.0. I can build and load the library but when I try to use it in R I ...
    Kodalore Vijayan, Vineetha WKodalore Vijayan, Vineetha W
    Jun 15, 2016 at 8:20 pm
    Jun 16, 2016 at 9:27 pm
  • Hi All, I merged two datasets: ds_merge1 <- merge(x = ds_bw_customer_4_match, y = ds_zww_customer_4_match, by.x = "customer", by.y = "customer", all.x = TRUE, all.y = FALSE) R created a new dataset ...
    G MaubachG Maubach
    Jun 6, 2016 at 12:29 pm
    Jun 9, 2016 at 7:47 am
  • Hi, I have a huge list. Normally it is sorted, but I want to be able to add elements to it without having to use any special interfaces and then sort it on demand. My idea is to use something like ...
    Neal H. WalfieldNeal H. Walfield
    Jun 5, 2016 at 1:53 pm
    Jun 14, 2016 at 3:55 pm
  • Hi All-- I am relatively new to R. I am reading a csv file via read.table (MyFile). The data types in the file are date, string, integer, and time. I was able to read all the data and manipulated ...
    Ek EsawiEk Esawi
    Jun 5, 2016 at 12:53 pm
    Jun 9, 2016 at 5:30 pm
  • Dear all, I want to make an if condition variable like : a = 10 CONDITION = " a 0 " if ( CONDITION ) print(" a is bigger" ) I tried get , getElement , eval without success ? Thanks
    Jun 2, 2016 at 2:30 am
    Jun 2, 2016 at 3:07 pm
  • Hi I'm starting off with both R and Linux Mint. During a recent R course, I had multiple difficulties with installing updates needed for the course. As such, I'd like to hit the restart button with ...
    Jun 9, 2016 at 8:44 pm
    Jun 10, 2016 at 5:45 pm
  • Dear all; I have two data sets, data=map and data=ref). A small part of each data set are given below. Data map has more than 27 million and data ref has about 560 rows. Basically I need run two ...
    Greg hollyGreg holly
    Jun 12, 2016 at 8:14 pm
    Jun 14, 2016 at 12:04 pm
  • I have a list of data as follows. [[1]] name red 1 sample1 20 [[2]] name green 1 sample1 15 [[3]] name red 1 sample2 10 [[4]] name green 1 sample2 30 I would like to massage this into a data frame ...
    Ed SiefkerEd Siefker
    Jun 3, 2016 at 6:20 pm
    Jun 6, 2016 at 4:34 pm
  • Dear All; I had difficulty to post a mail along with appropriate of data structure. I do sincerely apologize for multiple posting I would like to sum up the B$a column and cut off at 0.7 for the each ...
    Jun 10, 2016 at 8:34 pm
    Jun 14, 2016 at 1:25 pm
  • Hi everybody, I am trying to run an AR1 model using the ar() function as shown below. order ar var.pred x.mean aic n.used order.max partialacf resid method series [1,] 1 0.7433347 1.382908 49.99861 ...
    Jun 16, 2016 at 11:34 am
    Jun 17, 2016 at 8:19 pm
  • Dear R-users, I've a problem that puzzle me suppose I have a two way contigency table a <- sample(al <- letters[1:10],100,T) b <- sample(bl <- LETTERS[1:5],100,T) ab <- cbind(a,b) ddd <- (xtabs(data ...
    Patrizio FredericPatrizio Frederic
    Jun 15, 2016 at 4:10 pm
    Jun 16, 2016 at 5:36 pm
  • Hi Team, I am using RedHat 5 and installed R using YUM, (R version 3.2.3) Now I want to update R version tp 3.3.0, but I am unable to do that, Is there any alternate to do this? Hope to hear from ...
    Sunish Kumar BilandiSunish Kumar Bilandi
    Jun 1, 2016 at 6:33 am
    Jun 2, 2016 at 7:17 am
  • Hi List, I'm working with some bird tracking data, and to filter the data set, I need to exclude points taken at the colony. I would like to exclude coordinates from within a 500 meter radius of a ...
    Alice DomalikAlice Domalik
    Jun 17, 2016 at 5:26 pm
    Jun 17, 2016 at 6:40 pm
  • Does anyone know how to close an FTP session with RCurl?? I am trying to automate the process of downloading snow data from a government website, and their server is throttling the connection after a ...
    J PayneJ Payne
    Jun 14, 2016 at 6:41 pm
    Jun 15, 2016 at 8:58 pm
  • Folks Is there any way to get the row index into apply as a variable? I want a function to do some sums on a small subset of some very long vectors, rolling through the whole vectors ...
    John LogsdonJohn Logsdon
    Jun 8, 2016 at 4:41 pm
    Jun 9, 2016 at 4:36 pm
  • I'm guessing this is trivial but I've spent two hours searching and reading FAQ, tutorial, introductory and 'idiom' documents and haven't found a solution. All I want to do is select a data frame ...
    Douglas JohnsonDouglas Johnson
    Jun 5, 2016 at 7:45 pm
    Jun 6, 2016 at 3:52 pm
  • I?ve posted this question on StackExchange at, but haven?t received any replies. ?I?m hoping that someone ...
    J PayneJ Payne
    Jun 4, 2016 at 6:59 pm
    Jun 5, 2016 at 8:51 pm
  • Dear Sir/Madam Myself Suparna Biswas, a research scholar from the department of Mathematical Sciences, Tezpur University, Assam, India. I am working under the supervision of Dr. Santanu Dutta, ...
    Suparna biswasSuparna biswas
    Jun 3, 2016 at 7:22 am
    Jun 4, 2016 at 1:07 pm
  • dear all; I am sorry for this posting. I have got help from Jim, Bert, Jeff and PIKAL on similar issue before. I tried to modify Jim`s code to the real data but it did not work. Now I am posting ...
    Greg hollyGreg holly
    Jun 15, 2016 at 3:20 pm
    Jun 17, 2016 at 8:05 am
  • Hi all, I have a df and I want to use supervised Self Organizing Map to do classification. I should use Kohonen library and xyf function from it. As you know the xyf function looks like this and I ...
    Chalabi ElaheChalabi Elahe
    Jun 15, 2016 at 12:18 pm
    Jun 17, 2016 at 7:19 am
  • Hello, I'm looking for a package or function, which calculate OR/HR from spline model regression. for example in SAS it exist some MACRO helping to do that easiely. i had make some research on the ...
    Takiy berrandouTakiy berrandou
    Jun 14, 2016 at 2:43 pm
    Jun 15, 2016 at 6:37 pm
  • Dear Group, I am trying to simulate a dataset with 200 individuals with random assignment of Sex (1,0) and Weight from lognormal distribution specific to Sex. I am intrigued by the behavior of rlnorm ...
    Ayyappa ChaturvedulaAyyappa Chaturvedula
    Jun 14, 2016 at 3:02 pm
    Jun 14, 2016 at 4:08 pm
  • Dear R users, I am trying to run a rolling window AR1 model by combining the rollapply() with the arima() function. Hence, my code looks as follows: rollingarma<-rollapply(data,width6,function(data) ...
    Jun 11, 2016 at 11:27 am
    Jun 14, 2016 at 2:21 pm
  • Hi, First of all, sorry for my question it could be so basic for a common user in R, but I am starting with this new environment. I have done a clustering job and I would like to visualize my ...
    Jun 9, 2016 at 10:27 pm
    Jun 13, 2016 at 6:07 pm
  • Hi, I have the following problem: I want to visualize distributions of a few varibles in a specific order with a help of tree figure. Above of all is "Action x" and that happens for two (or n) ...
    Joonas IsoketoJoonas Isoketo
    Jun 8, 2016 at 6:31 pm
    Jun 9, 2016 at 5:39 am
  • I have two set of dates 2000-01-01 01/01/2000 The second one occurs weekly and the first one occurs in daily. I would like to bin the first set of dates into the second set of dates. What is the best ...
    Jun 3, 2016 at 8:00 am
    Jun 8, 2016 at 7:47 am
  • Dear R-Users, I am an intermediate level R user. I am performing the power calculations for the Binomial proportions (2 sided). I want to find the Power using the Exact test for the Equivalence of ...
    Munjal PatelMunjal Patel
    Jun 7, 2016 at 4:26 pm
    Jun 8, 2016 at 6:58 am
  • Dear all, I am new to using Rcmdr. From the menu I chose the following : - data(Anscombe, package="car") densityPlot( ~ income, data=Anscombe, bw="SJ", adjust=1, kernel="gaussian") This gave me the ...
    Ashim KapoorAshim Kapoor
    Jun 4, 2016 at 7:09 am
    Jun 4, 2016 at 1:48 pm
  • Hello all: I've been beating my head on this for over a day and I have done a lot of Google'ing with no luck. I have generated a 'time-series' of boxplots (227), covering more than a 30-day period at ...
    Thomas AdamsThomas Adams
    Jun 2, 2016 at 3:36 pm
    Jun 2, 2016 at 6:07 pm
  • Hi all, I want to use world map in ggplot2 and show my data on world map. my df is: $ COUNTRY : chr "DE" "DE" "FR" "FR" .. $ ContrastColor : int 9 9 9 9 13 9 9 9 9 .. $ quant : Factor w/ 4 levels ...
    Chalabi ElaheChalabi Elahe
    Jun 17, 2016 at 8:06 pm
    Jun 17, 2016 at 9:08 pm
  • Hello everyone, I'm writing a function in R but was stalked. I have a data set that contains mixture of categorical and continuous variables. I want to use the categorical variables to cross-tabulate ...
    Gafar Matanmi OyeyemiGafar Matanmi Oyeyemi
    Jun 17, 2016 at 12:25 pm
    Jun 17, 2016 at 4:15 pm
  • Hi, I was hoping someone could help me. I was wondering are there any libraries available to undertake a kendall correlation on a matrix of data, in the same way as what can be undertaken with the ...
    Shane CareyShane Carey
    Jun 17, 2016 at 9:47 am
    Jun 17, 2016 at 10:13 am
  • Hi All, I need to build a binary vector made of a set of dichotomous variables. What I have so far is: -- cut -- ds_example <- structure( list( year2013 = c(0, 0, 0, 1, 1, 1, 1, 0), year2014 = c(0, ...
    G MaubachG Maubach
    Jun 16, 2016 at 12:57 pm
    Jun 17, 2016 at 8:34 am
  • Hi List, I'm relatively new to R, so apologies if my question is rather elementary. I'm working with some bird tracking data and I would like to calculate the maximum distance traveled from the ...
    Alice DomalikAlice Domalik
    Jun 15, 2016 at 3:43 am
    Jun 16, 2016 at 2:17 am
  • Hello, I am using the dplyr's arrange() function to sort one of the many data frames on a character variable (named "prevalence"). Issue: I am not getting the desired output (line 7 is the problem, ...
    Muhuri, Pradip (AHRQ/CFACT)Muhuri, Pradip (AHRQ/CFACT)
    Jun 15, 2016 at 9:08 pm
    Jun 15, 2016 at 11:16 pm
  • Dear R users, I have been using rnorm, rbinom and have been getting the following warning message when I do not have any NAs in my generated values. Warning messages:1: In rnorm(nref, mean = ...
    JI ChoJI Cho
    Jun 14, 2016 at 6:06 pm
    Jun 14, 2016 at 11:30 pm
  • Hi all, today I wanted to install package "rio". As it depends on package "feather" which is only available as source I have chosen to install "rio" from source. The installations fails with the ...
    G MaubachG Maubach
    Jun 14, 2016 at 7:19 pm
    Jun 14, 2016 at 10:00 pm
  • Hi all, After fitting a random slope and random intercept model using lme function, I want to test whether each of the fixed slopes is equal to zero (The output of model is below). Can this be done ...
    Li liLi li
    Jun 6, 2016 at 2:57 pm
    Jun 13, 2016 at 1:22 pm
  • Dear R users; I am searching for a package to extract bathymetry data from topography map to produce the control file for CE-Qual-w2 model. Is there anyone to know how to do it? many thanks. -- Best ...
    Javad bayatJavad bayat
    Jun 11, 2016 at 5:40 am
    Jun 12, 2016 at 2:57 am
  • Dear R- users I have a problem in the R-code, i want to draw some plots in R,however, when i write the following code the R-program stopped suddenly. The message is "R for WINDOWS GUI front-end has ...
    Thanoon younisThanoon younis
    Jun 11, 2016 at 6:15 pm
    Jun 11, 2016 at 7:45 pm
  • Hi all; I am quite new in R. I have tried write a loop to sum up a column and cut off when summation reach certain point. Here are a small example and my R codes. Your helps are truly appreciated, ...
    Jun 10, 2016 at 7:27 pm
    Jun 10, 2016 at 7:58 pm
  • Thank you for your answer. Very clear. (I don't like the second solution either.) Let me then ask a final question. From an initial data frame with semi-hourly data (df_snow, with two columns, ...
    Stefano SofiaStefano Sofia
    Jun 10, 2016 at 10:45 am
    Jun 10, 2016 at 3:01 pm
  • Hi, I recently released two packages (RndTexExams and GetTDData) in CRAN and I'm trying to track the number of downloads and location of users. I wrote a simple script to download and analyze the log ...
    Marcelo PerlinMarcelo Perlin
    Jun 9, 2016 at 2:24 pm
    Jun 10, 2016 at 1:32 pm
  • I got the dataset after merge two old one .The id of the column isn?t just the number of the column.So when I identify some obs,I got the figure 28000(though my obs is only 6000).So it causes the ...
    周 可卫周 可卫
    Jun 9, 2016 at 8:00 am
    Jun 9, 2016 at 8:50 pm
  • I am having trouble running aplpack on my Mac. It will run on my PC, but the Mac gives an error message. Below is the result that I obtained. It seems to install fine--see below--but I can't load the ...
    David HowellDavid Howell
    Jun 8, 2016 at 11:09 pm
    Jun 9, 2016 at 2:20 pm
  • I have row data in a text file, where each row consists of 22 numerical characters. Each row consists of three different column but there is no separator. Specifically, the first two characters of ...
    Paolo LetiziaPaolo Letizia
    Jun 9, 2016 at 12:40 am
    Jun 9, 2016 at 1:10 pm
  • My R script run with Knitr generates a statistic summary of electrode pairs accompanied with plots. The problem is that knitr does not render plots in correct sections. In section for pair A knitr do ...
    Michu KomMichu Kom
    Jun 6, 2016 at 7:38 am
    Jun 8, 2016 at 4:59 pm
  • I am computing a complex multidimensional integral (4 dimensions) using Gauss-legendre and am looking to optimize one piece of code that is currently very expensive. The integral is evaluated for K ...
    Doran, HaroldDoran, Harold
    Jun 7, 2016 at 1:06 pm
    Jun 8, 2016 at 6:37 am
  • Hi all, I want to use Self Organizing Map in R for my data. I want my training set to be the following subset of my data: subdf=subset(df,Country%in%c("US","FR")) next I should change this subset to ...
    Chalabi ElaheChalabi Elahe
    Jun 1, 2016 at 2:39 pm
    Jun 5, 2016 at 6:29 pm
  • By mistake, I sent it earlier to the wrong address. ---------- Forwarded message ---------- From: Priyank Dwivedi <dpriyank23 at Date: 17 June 2016 at 14:50 Subject: Matrix Constraints in R ...
    Priyank DwivediPriyank Dwivedi
    Jun 17, 2016 at 8:07 pm
    Jun 17, 2016 at 10:57 pm
Group Navigation
period‹ prev | Jun 2016 | next ›
Group Overview
groupr-help @

174 users for June 2016

Jim Lemon: 27 posts Bert Gunter: 23 posts Jeff Newmiller: 23 posts PIKAL Petr: 21 posts David Winsemius: 12 posts William Dunlap: 12 posts Duncan Murdoch: 11 posts G Maubach: 10 posts Chalabi Elahe: 9 posts MacQueen, Don: 9 posts Oslo: 8 posts Ulrik Stervbo: 8 posts Greg holly: 7 posts J Payne: 7 posts Kodalore Vijayan, Vineetha W: 7 posts Marc Schwartz: 7 posts Peter dalgaard: 7 posts T.Riedle: 7 posts Leonardo Fontenelle: 6 posts Tom Wright: 6 posts
show more