Search Discussions

452 discussions - 1,365 posts

  • Folks: If this has been previously discussed and settled, please say so and refer me to the discussion. If you believe this to be inappropriate or otherwise frivolous, also please say so, as I do not ...
    Bert GunterBert Gunter
    Nov 24, 2013 at 5:13 pm
    Nov 27, 2013 at 2:09 pm
  • Hi guys I would like to generate random number Double Pareto Log Normal Distribution (DPLN). does anyone know how to do this in R or if there is any built-in function. Thanks ...
    B. alzahraniB. alzahrani
    Nov 12, 2013 at 3:47 pm
    Nov 16, 2013 at 5:04 pm
  • I have a matrix which has colnames and I would like to send this matrix using sendmailR. How can I convert this simple matrix to a format which can be used as the body variable in sendmailR? I see ...
    Ira FuchsIra Fuchs
    Nov 18, 2013 at 4:37 am
    Nov 18, 2013 at 5:13 pm
  • Hi to all, how can I read exel files where the decimal sign is comma instead dot. I get the data as ascii and when converting "3,5" with as.numeric the 3,5 will be converted to NA Kind Regards Knut
    Knut KruegerKnut Krueger
    Nov 25, 2013 at 9:10 am
    Dec 4, 2013 at 7:46 am
  • Hello, I have a fairly large data.frame. (About 150,000 rows of 100 variables.) There are case IDs, and multiple entries for each ID, with a date stamp. (i.e. records of peoples activity.) I need to ...
    Noah SilvermanNoah Silverman
    Nov 20, 2013 at 8:16 pm
    Nov 26, 2013 at 8:23 pm
  • I would like to produce a levelplot with divergent colors such that increasingly negative values of Z get darker in the first color and increasingly positive values get darker in the second color ...
    Don McKenzieDon McKenzie
    Nov 23, 2013 at 4:43 am
    Nov 26, 2013 at 5:48 pm
  • Dear R-friends, Hope you doing well. I've been trying to deal with the following problem for the couple of days but couldn't come up with a solution. It would be great if any of you could give some ...
    Nov 23, 2013 at 7:00 pm
    Dec 1, 2013 at 10:50 pm
  • Hi, I have 300 .txt files in a directory. Out of this 300, I need just 100 of the files. I have the names of the 100 .txt files which are also found in the 300 .txt files. How can I extract only the ...
    Zilefac ElvisZilefac Elvis
    Nov 8, 2013 at 5:33 pm
    Nov 11, 2013 at 8:56 pm
  • Hi, Check whether this works: vec1 <- c( 'eric', 'JOHN', 'eric', 'JOHN', 'steve', 'scott', 'steve', 'scott', 'JOHN', 'eric') vec2 <- c( 'eric', 'JOHN', 'eric', 'eric', 'JOHN', 'JOHN', 'steve', ...
    Nov 1, 2013 at 9:38 pm
    Nov 20, 2013 at 4:26 pm
  • Hi R?lers, I?m running into speeding issues, performing a bunch of ?gsub(patternvector, [token],dataframe$text_column)" on a data frame containing 4millionentries. (The ?patternvectors? contain up to ...
    Simon PickertSimon Pickert
    Nov 4, 2013 at 10:57 pm
    Nov 6, 2013 at 7:29 pm
  • Pretty much what the subject says: I used an env as the basis for a Hashtable in R, based on information that this is in fact the way environments are implemented under the hood. I've been ...
    Magnus Thor TorfasonMagnus Thor Torfason
    Nov 1, 2013 at 1:32 pm
    Nov 8, 2013 at 9:34 am
  • Lorenzo, I may be able to help you get started. You can use the XML package to grab the information off the internet. library(XML) mylines <- readLines(url("http://bit.ly/1coCohq")) ...
    Adams, JeanAdams, Jean
    Nov 1, 2013 at 1:25 pm
    Nov 5, 2013 at 11:31 pm
  • Hi experts, I want to read only the half of my data frame, which I read it from clip board, and save it in a list. I wrote this code but it doesnt work: ck<-read.table("clipboard") datalist<-list() ...
    Nov 5, 2013 at 2:41 pm
    Nov 5, 2013 at 3:56 pm
  • Dear R People: I'm sure that this is a very simple problem, but I have been wresting with it for some time. I have the following file that has the following one line: CRS("+init=epsg:28992") Fair ...
    Erin HodgessErin Hodgess
    Nov 17, 2013 at 10:07 pm
    Nov 18, 2013 at 4:38 pm
  • Yes, I realize that it is more likely a misunderstanding on my part. Suitable humility will be tendered if this is pointed out. The claimed "bug" is that predict.lm throws an error when the scale ...
    Bert GunterBert Gunter
    Nov 15, 2013 at 4:57 pm
    Nov 16, 2013 at 6:27 pm
  • Hello, All: Would anyone recommend R for an introductory statistics class for freshman psychology students in the US? If yes, might there be any notes for such available? I just checked ...
    Spencer GravesSpencer Graves
    Nov 17, 2013 at 2:19 am
    Nov 18, 2013 at 2:15 pm
  • Hi All, I am trying to create an index that returns something like 1,2,1,2,3,4,3,4,5,6,5,6,7,8,7,8 and so on and so forth until a predetermined value (which is obviously even). I am trying very hard ...
    Federico CalboliFederico Calboli
    Nov 11, 2013 at 12:11 pm
    Nov 11, 2013 at 5:04 pm
  • It is my first time programming with S4 and I can't get the setter fuction to actually change the value of the slot created by the constructor. I guess it has to do with local copy, global copy, ...
    Daniel schnaiderDaniel schnaider
    Nov 9, 2013 at 2:31 pm
    Nov 10, 2013 at 2:57 pm
  • Hi experts, I want to read data from an excel data like this: for the fifth column, from first row until 140 but only 1,3,5,7,.....139 (only 70 values), How can I do it in R? thanks
    Nov 4, 2013 at 1:47 pm
    Nov 4, 2013 at 3:58 pm
  • Dear Users of R, I have a data frame with three column, the first column contains years, the second one months and third one, the days (cbind(yyyy mm dd)). I want to combine them so that i have one ...
    Eliza bottoEliza botto
    Nov 28, 2013 at 1:54 pm
    Nov 28, 2013 at 3:24 pm
  • Thanks for the help!! I'm very new to R. Natalie TagID Station datetime gspd_mps 4926 KLB 12/21/2012 1:52 NA 4926 MS01 12/21/2012 2:38 0.851 4926 MS02 12/21/2012 3:48 0.629 4926 MS03 12/21/2012 4:19 ...
    Natalie Houghton McNairNatalie Houghton McNair
    Nov 24, 2013 at 4:49 pm
    Nov 26, 2013 at 10:30 pm
  • Hello R users I have a question with Kaplan-Meier Curve with respect to my research. We have done a retrospective study on fillings in the tooth and their survival in relation to the many influencing ...
    Dr.Vinay PitchikaDr.Vinay Pitchika
    Nov 20, 2013 at 8:01 pm
    Nov 26, 2013 at 11:34 am
  • Hi everyone. I have a list like this: neutral_classes = list(A = 71:100, B = 46:70, C = 21:45, D = 0:20) and I'm trying to return the letter of the named vector for with an integer belong. For ...
    Philippe massicottePhilippe massicotte
    Nov 22, 2013 at 4:58 pm
    Nov 22, 2013 at 7:37 pm
  • Hi, everyone! I have a matrix X(n*p) which is n samples from a p-dimensional normal distribution. Now I want to make the ellipsoid containing (1-?)% of the probability in the distribution based on ...
    Yuanzhi LiYuanzhi Li
    Nov 13, 2013 at 10:31 pm
    Nov 17, 2013 at 5:11 pm
  • Hi all, The plot.cox.zph function automatically plots the x-axis, but I would like to change the intervals and labels of my cox.zph plots to 0, 50,100,150, 200. However, I cannot get the function to ...
    Jared DuquetteJared Duquette
    Nov 12, 2013 at 5:43 pm
    Nov 13, 2013 at 6:46 am
  • Hi R Experts, How do I mark rows in dataframe based on a condition that's based off another row in the same dataframe? I want to mark any combination of FY,ID, TT=='HC' rows that have a ...
    Lopez, DanLopez, Dan
    Nov 11, 2013 at 8:50 pm
    Nov 12, 2013 at 12:41 am
  • Greetings, My question is more algorithmic than prectical. What I am trying to determine is, are the GAM algorithms used in the mgcv package affected by nonnormally-distributed residuals? As I ...
    Collin LynchCollin Lynch
    Nov 6, 2013 at 8:46 pm
    Nov 8, 2013 at 5:34 pm
  • Hi, I am a graduate student applying published R scripts to compare the classification accuracy of 2 predictive models, one built using discriminant function analysis and one using random forests ...
    Henderson, Robin MichelleHenderson, Robin Michelle
    Nov 6, 2013 at 6:07 pm
    Nov 7, 2013 at 12:33 am
  • Dear experts: In MATLAB, functions cannot see variables outside the functions. However, in R, the functions can do that. Is there any settings that can disable this ability of functions? Many thanks ...
    Zhong-Yuan ZhangZhong-Yuan Zhang
    Nov 5, 2013 at 10:42 am
    Nov 6, 2013 at 11:44 pm
  • Hi, I have a data frame with one column and several rows of the form. "Peak Usage : init:2359296, used:15859328, committed:15892480, max:50331648Current Usage : init:2359296, used:15857920, ...
    Mohan RadhakrishnanMohan Radhakrishnan
    Nov 1, 2013 at 8:09 am
    Nov 4, 2013 at 2:43 pm
  • Hi, Try: dat1 <- read.table(text="a b c x 1 4 7 y 2 5 8 z 3 6 9",header=TRUE) dat2 <- dat1 #either library(reshape2) res1 <- ...
    Nov 20, 2013 at 4:14 am
    Dec 10, 2013 at 2:00 pm
  • Hi, You may try something like: set.seed(49) dat1 <- as.data.frame(matrix(sample(1:300,41082*15,replace=TRUE),ncol)) #created only 15 columns as shown in your model ?dat1$indx <- ...
    Nov 27, 2013 at 9:25 pm
    Nov 28, 2013 at 3:01 am
  • Hi everyone, I am attempting to bin a vector of numbers between 0 and 1 into intervals of 0.001 but many values at the endpoints of the intervals are getting binned into the wrong interval. For ...
    Maximilian ButlerMaximilian Butler
    Nov 25, 2013 at 2:01 pm
    Nov 27, 2013 at 5:51 pm
  • Dear all, I am trying to convert the following data frame into a format more useful for me: Loading required package: tools Attaching package: ?HSAUR2? The following object is masked _by_ ...
    Liviu AndronicLiviu Andronic
    Nov 25, 2013 at 9:24 am
    Nov 26, 2013 at 11:41 am
  • I can't get the fine tuning right with my legend. I get an extra legend element "10" which is the point size in my plot. Can someone help me get rid of this extra element? Additionally I would also ...
    Matthew Van ScoyocMatthew Van Scoyoc
    Nov 19, 2013 at 11:44 pm
    Nov 25, 2013 at 5:53 am
  • I'm using caret to assess classifier performance (and it's great!). However, I've found that my results differ between R2.* and R3.* - reported accuracies are reduced dramatically. I suspect that a ...
    Andrew DigbyAndrew Digby
    Nov 15, 2013 at 12:31 am
    Nov 24, 2013 at 10:09 pm
  • When I use run this expression a <- 2; b <- 3; xyplot(1:10 ~ a*(1:10), sub = c(bquote(a == .(a) ~ b==.(b)))) the subtitle contains three copies of the "a = 2 b = 3" phrase. Why does it do that? How ...
    Richard M. HeibergerRichard M. Heiberger
    Nov 22, 2013 at 5:07 am
    Nov 22, 2013 at 7:00 pm
  • I have finally decided that I will learn R and learn it very well. For now I am using a program that a friend of mine developed to do some advanced statistical analyses. I downloaded RStudio to my ...
    Zach FeinsteinZach Feinstein
    Nov 13, 2013 at 1:57 pm
    Nov 20, 2013 at 3:44 pm
  • Dear R users, I am a R beginner and I am having trouble in using "If Else" in R. Here is an example: ## create a data frame a<-c(1,2,3,4) b<-c(2,0,5,0) ab<-data.frame(cbind(a,b)) ##calculate c, which ...
    Gary DongGary Dong
    Nov 20, 2013 at 1:30 am
    Nov 20, 2013 at 3:12 am
  • Hi all, I hope you can help. I have a data frame 'df': group=c(rep(1,8),rep(2,10),rep(3,11)) var=rnorm(29) time=c(seq(1,8),seq(1,10),seq(1,11)) df=data.frame(group,var,time) I would like to extract ...
    Benjamin GillespieBenjamin Gillespie
    Nov 17, 2013 at 2:47 pm
    Nov 18, 2013 at 2:42 pm
  • I wanted to solve the following geometric optimization problem, sometimes called the "enclosing ball problem": Given a set P = {p_1, ..., p_n} of n points in R^d, find a point p_0 such that max ||p_i ...
    Hans W.BorchersHans W.Borchers
    Nov 16, 2013 at 12:11 pm
    Nov 17, 2013 at 11:20 am
  • Dear All, I usually work with time series data. The data may come in AM/PM date format or on 24 hour time basis. R can not recognize the two differences automatically - at least for me. I have to ...
    Alemu TadesseAlemu Tadesse
    Nov 8, 2013 at 7:41 pm
    Nov 11, 2013 at 7:01 pm
  • I'd very much appreciate some help here: I'm in the process of clarifying whether I can use `computeContour3d' to derive estimates of the surface area of a single closed isosurface (and prospectively ...
    J. van den hoffJ. van den hoff
    Nov 9, 2013 at 1:50 pm
    Nov 9, 2013 at 6:40 pm
  • I am running a multi-level model. I use the following commands with validatedRS6 as the outcome, random as the predictor and clustno as the random effects variable ...
    Nov 5, 2013 at 11:36 pm
    Nov 6, 2013 at 7:25 pm
  • Hi Jean, thanks again for your response. As I told you I did the downloads and double checked if I selected the right directory. But I noticed right now what happend: The command in the example is ...
    Nov 1, 2013 at 5:04 pm
    Nov 2, 2013 at 8:27 am
  • I have R version 2.15.3 When i try to load it: library (tawny) i receive this response: package ?parser? could not be loaded The package Parser in not on Cran anymore, it seems a dead project! ...
    Nov 1, 2013 at 11:10 am
    Nov 1, 2013 at 7:46 pm
  • Thank you, Barradas. It works when finding y, but when I tried to find x using interpolation for a known y it gives 'NA' (for whatever y value). I couldn't find out the reason. Any help is really ...
    Manoranjan MuthusamyManoranjan Muthusamy
    Nov 1, 2013 at 1:18 am
    Nov 1, 2013 at 5:41 pm
  • Hi R Experts, I need your help with two question regarding randomForest. 1. When I run a Random Forest model how do I extract the formula I used so that I can store it in a character vector in a ...
    Lopez, DanLopez, Dan
    Nov 26, 2013 at 8:08 pm
    Dec 5, 2013 at 5:01 pm
  • Hi, My problem is as follows: INPUT: "Frequency" from one column and value of "Piglets" from another one OUTPUT: Repeat this "Piglet" value as per the "Frequency" i.e. Piglet 1, Frequency 3, implies ...
    Burhan ul haqBurhan ul haq
    Nov 26, 2013 at 2:59 pm
    Nov 27, 2013 at 5:50 am
  • I would like to try to run the quantstrat package (located here: https://r-forge.r-project.org/R/?group_id16). However, if I try to load quantstrat, I get a warning that it is not available for R ...
    Ira FuchsIra Fuchs
    Nov 26, 2013 at 5:34 pm
    Nov 26, 2013 at 6:30 pm
Group Navigation
period‹ prev | Nov 2013 | next ›
Group Overview
groupr-help @

436 users for November 2013

Arun: 103 posts David Winsemius: 56 posts Bert Gunter: 38 posts Carl Witthoft: 26 posts Duncan Murdoch: 25 posts Jeff Newmiller: 25 posts Jim Lemon: 25 posts William Dunlap: 20 posts Ben Bolker: 16 posts David Carlson: 16 posts Rolf Turner: 16 posts Rui Barradas: 16 posts Jim Holtman: 15 posts Lopez, Dan: 15 posts PIKAL Petr: 15 posts Prof Brian Ripley: 15 posts Adams, Jean: 14 posts Baro: 14 posts Barry Rowlingson: 12 posts Duncan Mackay: 12 posts
show more