Grokbase Groups R r-help
FAQ

Search Discussions

110,714 discussions - 360,386 posts

  • The default row.names on a data.frame made by the core-R data.frame function are of the the form c(NA, -NROW(dataFrame)). The dplyr package has a 'data_frame' function that uses c(NA, ...
    William DunlapWilliam Dunlap
    Jun 17, 2016 at 11:39 pm
    Jun 17, 2016 at 11:39 pm
  • By mistake, I sent it earlier to the wrong address. ---------- Forwarded message ---------- From: Priyank Dwivedi <dpriyank23 at gmail.com 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
  • Dear R users, Can anyone help me with mann-kendall trend test? I tried to use the newest packages 'trend', and the function mk.test, but had problems in applying the input data. For example, res <- ...
    Lily liLily li
    Jun 17, 2016 at 7:47 pm
    Jun 17, 2016 at 10:16 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
  • 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 ...
    T.RiedleT.Riedle
    Jun 16, 2016 at 11:34 am
    Jun 17, 2016 at 8:19 pm
  • 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
  • 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
  • Hello, I have multiple text files with the format shown below (see the two files that I pasted below). Each file is a log of multiple steps that the system has processed and for each step, it has ...
    Satish VadlamaniSatish Vadlamani
    Jun 17, 2016 at 3:42 am
    Jun 17, 2016 at 3:57 pm
  • Hi all, When checking an R package, I get: (this data set is used in some example code) However, when I add the suggested 'importFrom' statement to NAMESPACE (using roxygen2), I get 'R CMD check' ...
    Pascal A. NiklausPascal A. Niklaus
    Jun 17, 2016 at 3:45 pm
    Jun 17, 2016 at 3:45 pm
  • Hello, Resending this message in "Plain-text". Thank you for the add to the list. I have written a R snippet to solve a non-linear problem using Optim solver. The parameters to be solved are supposed ...
    Narendra ModiNarendra Modi
    Jun 17, 2016 at 1:51 pm
    Jun 17, 2016 at 2:40 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
  • Hello togehter, i have short question, maybe anyone can help me. I have a data.frame like this one: NO ORDER 1 1530 for Mr. Muller (10.0 - 11.2) 2 1799 for Mr Giulani 3 1888 for Mr. Marius (11.2 - ...
    Matthias WeberMatthias Weber
    Jun 17, 2016 at 7:49 am
    Jun 17, 2016 at 9:22 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
  • 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 All: I posted one question in the past and another today and hope to get the same excellent help that I got last time. My question is this: is there any way to subcribe to the forum so that I ...
    Satish VadlamaniSatish Vadlamani
    Jun 17, 2016 at 3:48 am
    Jun 17, 2016 at 6:58 am
  • 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
  • Hello, I have some R code that uses readShapeSpatial in the maptools package to read a shapefile from ArcGIS. This code worked as recently as May 2016, when I was using R version 3.2.3. Then, R was ...
    Bravo, MercedesBravo, Mercedes
    Jun 16, 2016 at 7:34 pm
    Jun 16, 2016 at 8:06 pm
  • Hello, I got 3 solutions to my earlier code. Thanks to the contributors. May I bring your attention to a new question below (with respect to David's solution)? 1) Thanks to Daniel Nordlund for the ...
    Muhuri, Pradip (AHRQ/CFACT)Muhuri, Pradip (AHRQ/CFACT)
    Jun 16, 2016 at 1:12 pm
    Jun 16, 2016 at 6:06 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
  • Dear list, I am using the lrm function from the rms package to estimate a logistic model with weights. The c-statistic (or area under the curve) is part of the lrm output. To understand how the ...
    Marie-Pierre SylvestreMarie-Pierre Sylvestre
    Jun 16, 2016 at 1:44 am
    Jun 16, 2016 at 2:49 pm
  • I am trying to install the package but am I keep getting this error messages installation of package ??minqa?? had non-zero exit status 2: In install.packages("caret", repos = ...
    TJUN KIAT TEOTJUN KIAT TEO
    Jun 16, 2016 at 8:49 am
    Jun 16, 2016 at 1:32 pm
  • Hi everyone why this code is not running ? here is it; library(MplusAutomation) res <- mplusModeler( mplusObject( MODEL = "mpg ON wt hp; wt WITH hp;", rdata = mtcars), "mtcars.dat", run = 1L) ...
    Birhanu WorkuBirhanu Worku
    Jun 16, 2016 at 12:04 pm
    Jun 16, 2016 at 12:04 pm
  • We would like to announce the following statistics course: Course: Introduction to Linear Mixed Effects Models and GLMM with R. Frequentist and Bayesian approaches. Where: UNSW, Sydney, Australia ...
    Highland Statistics LtdHighland Statistics Ltd
    Jun 16, 2016 at 11:01 am
    Jun 16, 2016 at 11:01 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
  • HI,I am analyzing a risk model for type 2 diabetes using a logistic regression. In the final model I have only 6 predictors. The regression gives correct output (fullmod is the fitted model). Now I? ...
    Amit SenguptaAmit Sengupta
    Jun 15, 2016 at 11:52 pm
    Jun 15, 2016 at 11:52 pm
  • 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
  • in the name of God hi dear I use benchmark package to use of dea and when I wanna save my result as csv by this as below write.csv(farzana,'D:sajjaad.csv') I can not and the error is as below Error ...
    Farzana akbariFarzana akbari
    Jun 15, 2016 at 7:47 pm
    Jun 15, 2016 at 10:50 pm
  • HI,I am analyzing a risk model for type 2 diabetes using a logistic regression. In the final model I have only 6 predictors. The regression gives correct output (fullmod is the fitted model). Now I ...
    Amit SenguptaAmit Sengupta
    Jun 15, 2016 at 9:46 pm
    Jun 15, 2016 at 9:46 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
  • Hey R-Help, I've got a three dimensional array which I pulled from a netcdf file. The data in array are the humidity values of locations in the United States over a time period. The three dimensions ...
    Nick TulliNick Tulli
    Jun 15, 2016 at 5:37 pm
    Jun 15, 2016 at 7:22 pm
  • 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
  • Hi, I am trying to use twitter package. I got? below error?while authentication. [1] "Using direct authentication" Error in check_twitter_oauth() : OAuth authentication error: This most likely means ...
    Seema ShelkeSeema Shelke
    Jun 15, 2016 at 4:46 am
    Jun 15, 2016 at 1:35 pm
  • ?Dear Team, A problem occured when I run Rstudio.? Could you please give me some advice?there is a lot of messy code when I read a csv file, which includes several columns in chinese, and R code run ...
    李兰婷李兰婷
    Jun 15, 2016 at 5:22 am
    Jun 15, 2016 at 10:40 am
  • Hi All, I get the warning message Warning message: In styles$font : partial match of 'font' to 'fonts' when executing + sheetname = xls_sheetname, + dataset = xls_ds_to_save) + path = path_output, + ...
    G MaubachG Maubach
    Jun 14, 2016 at 2:12 pm
    Jun 15, 2016 at 10:09 am
  • Hi all, I want to use Supervised Self organizing Maps from Kohonen package for my data. I need to divide my df into training set and test set, but a part of my df contains column with factor levels ...
    Chalabi ElaheChalabi Elahe
    Jun 14, 2016 at 3:00 pm
    Jun 15, 2016 at 9:19 am
  • Hi Sashi, Since I do not want to create a large fake data set and then painstakingly test and debug your code, why not try your code with a subset of the data, maybe only 400 rows. If that runs ...
    Jim LemonJim Lemon
    Jun 14, 2016 at 11:41 pm
    Jun 15, 2016 at 4:12 am
  • 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
  • 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
  • Hi all, I used R package "haplo.stats" to see if the haplotype in my data has any effect on the trait, with the genotype, age, height and weight as the predictor and trait as the response. I used the ...
    黄桦黄桦
    Jun 13, 2016 at 3:22 pm
    Jun 14, 2016 at 3:56 pm
  • 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
  • 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) ...
    T.RiedleT.Riedle
    Jun 11, 2016 at 11:27 am
    Jun 14, 2016 at 2:21 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 ...
    OsloOslo
    Jun 10, 2016 at 8:34 pm
    Jun 14, 2016 at 1:25 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 written a following piece of code.? I'm getting a warning message that says? Warning message:?In readBin(binaryFile, chracter(), endian="little") : incomplete string at end of file has been ...
    Fahman KhanFahman Khan
    Jun 13, 2016 at 3:17 pm
    Jun 14, 2016 at 4:05 am
  • As per the title, I'd like to generate a dashed/dotted CDF plot of my data using ecdf. Unfortunately, it seems like I can't get the plot to look dashed/dotted even after specifying it in the plot ...
    A AA A
    Jun 13, 2016 at 8:57 pm
    Jun 13, 2016 at 10:09 pm
  • Hello everyone, I would like to use truncreg on survey data with weights, but so far as I can tell the weight parameter in truncreg is not working. I find that using weights does not actually change ...
    Ganz, CarlGanz, Carl
    Jun 13, 2016 at 5:45 pm
    Jun 13, 2016 at 7:35 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 ...
    FRANCISCO XAVIER SUMBA TORALFRANCISCO XAVIER SUMBA TORAL
    Jun 9, 2016 at 10:27 pm
    Jun 13, 2016 at 6:07 pm
  • Dear all, In order to create plots comparing two measurements I am using the "xyplot" and "make.groups" functions (see script example below). Now I would like to assign a value to the variable names ...
    Mark FingerleMark Fingerle
    Jun 13, 2016 at 8:47 am
    Jun 13, 2016 at 4:16 pm
Group Navigation
period‹ prev | Latest | first ›
Group Overview
groupr-help @
categoriesr
discussions110,714
posts360,386
users36,193
websiter-project.org
irc#r

Top users

Brian D Ripley: 11688 posts Comcast: 9884 posts Gabor Grothendieck: 7006 posts Peter Dalgaard: 5076 posts Jim holtman: 4290 posts Uwe Ligges: 3232 posts Duncan Murdoch: 3223 posts Arun: 3201 posts Uwe Ligges: 3192 posts Bert Gunter: 3035 posts Petr Pikal: 2984 posts Duncan Murdoch: 2695 posts Thomas Lumley: 2329 posts Michael Weylandt: 2279 posts Liaw, Andy: 2232 posts Jdnewmil: 2082 posts Jim Lemon: 2056 posts Spencer Graves: 2022 posts Maechler: 1984 posts Henrique Dallazuanna: 1878 posts
show more
Archives