Grokbase Groups R r-help June 2011
FAQ

Search Discussions

882 discussions - 2,766 posts

  • Error in lda.default(x, grouping, ...) : variables 1 3 5 8 10 15 17 20 27 29 34 appear to be constant within groups what this sentence means??
    Ungku AkashahUngku Akashah
    Jun 2, 2011 at 8:31 am
    Jun 27, 2011 at 8:17 am
  • [1] TRUE Any idea what's going on with this? Running strptime against all dates from around 1946, only 5/3/1992 was converted as "NA". Even stranger, it still seems to have a value associated with it ...
    Alexander ShenkinAlexander Shenkin
    Jun 22, 2011 at 3:40 pm
    Jun 24, 2011 at 7:38 pm
  • Hello R users, I am new to R and am having difficulty with the output name of my "for" loops. here is the problem: for (i in c(1:100)) { the name of the groups <- which(k1$cluster==i) } how can it ...
    JiligualaJiliguala
    Jun 12, 2011 at 4:17 pm
    Jun 19, 2011 at 1:58 pm
  • Hi, I would like to know how to capture the console output from running an algorithm for further analysis. I can capture this using capture.output() but that yields a character vector. I would like ...
    Ravi VaradhanRavi Varadhan
    Jun 24, 2011 at 2:39 pm
    Jun 27, 2011 at 8:26 am
  • Hello, I have the following dataset (this is a piece of a much larger set): RID SCRNO VISCODE RECNO CONTTIME 23 18 HBA0190012 bl 1 5 24 18 HBA0190012 bl 3 5 28 18 HBA0190012 bl 5 5 29 18 HBA0190012 ...
    Edgar AlminarEdgar Alminar
    Jun 29, 2011 at 9:38 pm
    Mar 23, 2012 at 1:58 am
  • Hi, how can I print "<=" (I mean the symbol of just one character) in the main title of a plot? for example: plot(1:10, main=paste("x <=", x)) where variable x is some number generated on the fly ...
    Array chipArray chip
    Jun 28, 2011 at 5:25 pm
    Jun 28, 2011 at 7:32 pm
  • Hi, I am wondering if anyone can explain to me if cumulative incidence (CI) is just "1 minus kaplan-Meier survival"? Under what circumstance, you should use cumulative incidence vs KM survival? If ...
    Array chipArray chip
    Jun 27, 2011 at 8:31 pm
    Jul 4, 2011 at 1:42 pm
  • Hi All I am new to R and I am not sure of how this should be done. I have a matrix of 985x100 values and the class is data.frame. A sample of my dataset looks like this (Since its a huge dataset and ...
    AparnaAparna
    Jun 13, 2011 at 10:06 am
    Jun 13, 2011 at 9:51 pm
  • Hello Dear R user, I want to conduct a Principal components analysis and I need to run two tests to check whether I can do it or not. I found how to run the KMO test, however i cannot find an R ...
    Thibault gravaThibault grava
    Jun 17, 2011 at 7:43 pm
    Oct 9, 2011 at 10:13 pm
  • Hi All, What is the fastest way of finding if any members of vector x fall in the range of the rows of matrix y? I do not want to use two for loops as this will take forever. Any help will be ...
    Salih TunaSalih Tuna
    Jun 24, 2011 at 8:57 am
    Jun 27, 2011 at 11:15 pm
  • Dear expeRts, In the minimal example below, I have a data.frame containing three "blocks" of years (the years are subsets of 2000 to 2002). For each year and block a certain "value" is given. I would ...
    Marius HofertMarius Hofert
    Jun 21, 2011 at 10:13 pm
    Jun 22, 2011 at 2:33 pm
  • I'm trying to convert data from character to numeric. I've imported data as a csv file, I'm assuming that the import is a database - are all the columns in a database considered "vectors" and that ...
    Alina SheymanAlina Sheyman
    Jun 21, 2011 at 8:38 pm
    Jun 22, 2011 at 8:46 am
  • Dear all, I have two sets of numbers that look like a <- c(1, 2, 3, 3, 4, 4, 5, 6, 1, 2, 2, 3, 1, 2, 1, 2, 3, 3, 4, 5, 1, 2, 3, 4) b <- c(1, 5, 8, 9, 14, 20, 3, 10, 12, 6, 16, 7, 11, 13, 17, 18, 2, ...
    LisaLisa
    Jun 1, 2011 at 5:19 pm
    Jun 3, 2011 at 12:53 pm
  • I wondered if there were standard practices in CRAN for delivery of R source implementing functions in R packages. I has encountered a couple of packages where the gzipped version of source contains ...
    Galkowski, JanGalkowski, Jan
    Jun 27, 2011 at 12:24 pm
    Jun 27, 2011 at 6:04 pm
  • Dear R People: I have a data frame, xm1, which has 12 rows and 4 columns. If I put is xm1[,-4], I get all rows, and columns 1 - 3, which is as it should be. Now, is there a way to use the names of ...
    Erin HodgessErin Hodgess
    Jun 21, 2011 at 3:45 am
    Jun 21, 2011 at 9:54 pm
  • Hi there I am trying to install Rmpi (version 0.5-4) on our 8-core SUSE Linux Enterprise Server 11 SP1. I read all I could find about Rmpi installation but still cannot get it working. Here the last ...
    Unger, Kristian, Dr.Unger, Kristian, Dr.
    Jun 15, 2011 at 12:25 pm
    Jun 16, 2011 at 6:50 pm
  • Is there a way to prepare a questionnaire in R like html forms whose data can be directly populated into R?????
    Amrita gsAmrita gs
    Jun 8, 2011 at 7:07 am
    Jun 14, 2011 at 10:17 am
  • I've just found the lavaan package, and I really appreciate it, as it seems to succeed with models that were failing in sem::sem. I need some clarification, however, in the output, and I was hoping ...
    R HelpR Help
    Jun 8, 2011 at 8:14 pm
    Jun 9, 2011 at 6:26 pm
  • Dear Sirs, I am a new user of the R package. When I try to use the curve function it confuses me. Makes a complaint I don't understand. Why is x^2 valid and x is not? I check the documentation of ...
    Abhilash BalakrishnanAbhilash Balakrishnan
    Jun 5, 2011 at 5:07 pm
    Jun 7, 2011 at 2:49 pm
  • Hello, this question is a bit out of the blue. I am a big R fan and user and in my new job I do some decision modeling (mostly health economics). For that decision trees are often used (I guess the ...
    Stefan DukeStefan Duke
    Jun 8, 2011 at 11:02 am
    Nov 29, 2011 at 4:01 pm
  • HI, Dear R community, I have a large data set names dd.txt, the columns are: there are 2402 variables. a1, b1, ..z1, a11, b11, ...z11, a111, b111, ..z111.. IF I dont know the relative position of the ...
    Changbin DuChangbin Du
    Jun 22, 2011 at 9:45 pm
    Jun 22, 2011 at 11:13 pm
  • Hi all, I am trying to re-compile some "unmaintained" (it seems) packages, namely rSoNIA and dynamicnetwork from: http://csde.washington.edu/~skyebend/rsonia/rsoniaDemo/ These packages predates R ...
    Ben RhelpBen Rhelp
    Jun 16, 2011 at 12:46 pm
    Jun 20, 2011 at 1:17 pm
  • Hi R users, I am new to R and am trying to merge data frames in the following way. Suppose I have n data frames each with two fields. Field 1 is common among data frames but may have different ...
    Mary KindallMary Kindall
    Jun 13, 2011 at 9:17 pm
    Jun 14, 2011 at 12:57 am
  • Dear All, This is hard to describe so I made a simple example. set.seed(1001) total <- 0 data <- vector("list", 30) for(i in 1:30) { data[[i]] <- runif(50) } Let's call a data set runif(50). While ...
    Soyeon KimSoyeon Kim
    Jun 9, 2011 at 3:14 pm
    Jun 9, 2011 at 5:37 pm
  • Dear R helpers, I have molten data which is : - Year variable value 1 2005 ICICI.Bank 274883700000 2 2006 ICICI.Bank 431668500000 3 2007 ICICI.Bank 595153000000 4 2008 ICICI.Bank 630857600000 5 2009 ...
    Ashim KapoorAshim Kapoor
    Jun 30, 2011 at 12:31 pm
    Jun 30, 2011 at 10:37 pm
  • Dear all, I just want to get the derivative of a function that looks like: y = exp(x1*b) / (exp(x1*b) + exp(x2*b)) where y is a scalar, x1, x2, and b are vectors. I am going to take the derivative of ...
    LisaLisa
    Jun 29, 2011 at 2:03 am
    Jun 30, 2011 at 1:42 am
  • 1. I have a R program in a file say "functions.R". I load the "functions.R" file the R using source("function.R") and then call functionsf1(), f2() etc. which are declared and defined within ...
    Siddharth arunSiddharth arun
    Jun 28, 2011 at 9:54 am
    Jun 29, 2011 at 7:51 am
  • I am new in R. Can anyone tell : 1. how we can write our own functions in R ? 2. how we can save those functions and recall to use them? 3. what extensions are used for saving a file? -- Siddharth ...
    Siddharth arunSiddharth arun
    Jun 21, 2011 at 8:04 am
    Jun 21, 2011 at 1:03 pm
  • Hi -- I had a pretty quick R question since unfortunately I have not been able to find an answer on Google. It shouldn't take much more than a minute to answer. I'm trying to add up the major gleason ...
    Ben GanzfriedBen Ganzfried
    Jun 20, 2011 at 3:31 pm
    Jun 20, 2011 at 6:09 pm
  • Dear R users, Since a long time now, I have the following error when I want to load the tcltk library in R 64 bit. Loading Tcl/Tk interface ...Error : .onLoad failed in loadNamespace() for 'tcltk', ...
    Arnaud MosnierArnaud Mosnier
    Jun 14, 2011 at 3:46 pm
    Jun 15, 2011 at 2:24 pm
  • Hello , I am trying to create a histogram in order to compare between two groups and would like it to be similar to the figure attached. How can I generate this using R ? Thank you, Nandini ...
    Nandini_bnNandini_bn
    Jun 8, 2011 at 1:14 pm
    Jun 9, 2011 at 3:05 pm
  • Hello R experts, what follows is my reproducible example: mydata<-structure(list(ped.avg = c(335.9, 110.8, 645.7, 638.9, 1468.1, 126.4, 4811.1, 88.5, 868.5, 656.6, 723.6, 654, 2.8, 15, 14.2, 17.5, ...
    MaxbreMaxbre
    Jun 1, 2011 at 5:00 pm
    Jun 3, 2011 at 8:46 am
  • I'm trying to fit the Bass Diffusion Model using the nls function in R but I'm running into a strange problem. The model has either two or three parameters, depending on how it's parameterized, p ...
    Christopher Hulme-LoweChristopher Hulme-Lowe
    Jun 15, 2011 at 3:06 pm
    Nov 28, 2012 at 7:36 pm
  • This question pertains to setting up a model in the package "dlm" (dynamic linear models, http://cran.r-project.org/web/packages/dlm/index.html I have read both the vignette and?"An R Package for ...
    Michael AshMichael Ash
    Jun 7, 2011 at 4:24 pm
    Aug 26, 2011 at 5:31 pm
  • Hello, I installed R 2.13.0 on a Windows 2003 server.? I downloaded the Rtools213.exe from http://www.murdoch-sutherland.com/Rtools/ and placed it in the path (C:\Program Files\R\R-2.13.0\bin). I ...
    Cody HamiltonCody Hamilton
    Jun 30, 2011 at 11:17 pm
    Jul 1, 2011 at 6:04 pm
  • I'm attempting to view the progress of a script that I call on my screen as follows: source("myscript.R", echo=TRUE) When it is running, I have to click my mouse in the GUI window for anything to ...
    Steven WolfSteven Wolf
    Jun 30, 2011 at 8:16 pm
    Jul 1, 2011 at 5:04 pm
  • Hopefully this is a pretty easy fix -- I need to have R query the path separator for some code I'm trying to write (it involves using a system() call) -- the call requires a path and a wildcard, ...
    Jonathan GreenbergJonathan Greenberg
    Jun 29, 2011 at 1:59 am
    Jun 30, 2011 at 7:40 pm
  • I have a list called "tabs" that I would like to have the same structure as my list "eqSystem." The two look like they have the same format but they are different because when I look at their ...
    Rita CarreiraRita Carreira
    Jun 24, 2011 at 9:58 pm
    Jun 28, 2011 at 3:27 pm
  • Hi, this seems like a strange question, but in R is there a function that can handle vectors containing factors inside lists/tuples? Or is there some other approach/functions I can use? Like for ...
    Håvard Wahl KongsgårdHåvard Wahl Kongsgård
    Jun 25, 2011 at 4:49 pm
    Jun 25, 2011 at 9:40 pm
  • Hello all R listers, I'm struggling to select an appropriate statistical method for my data set. I have collected soil moisture measurements every hour for 2 years. There are 75 sensors taking these ...
    J.MorgenrothJ.Morgenroth
    Jun 22, 2011 at 2:24 am
    Jun 25, 2011 at 11:18 am
  • I have a dataframe df with two columns x and y. I want to count the number of times a unique x, y combination occurs. For example x<- c(1,2,3,4,5,1,2,3,4) y<- c(1,2,3,4,5,1,2,4,1) ...
    Idris RajaIdris Raja
    Jun 21, 2011 at 6:30 pm
    Jun 23, 2011 at 3:44 pm
  • Hello R Masters and the Rest of Us: The first of these works fine, the 2nd is accepted but too literal (the "%- %" is shown in the plot label and in the wrong position). The 3rd throws and error due ...
    Bryan HansonBryan Hanson
    Jun 23, 2011 at 12:10 am
    Jun 23, 2011 at 3:11 pm
  • Hi, I have two datasets, x and y. Simplified x and y denote: X Y A B C A B C . . . . . . . . . . . . . . . . . . I want to implement all possible models such as lm(X$A~Y$A), lm(X$B~Y$B), ...
    IvanIvan
    Jun 20, 2011 at 7:23 pm
    Jun 21, 2011 at 9:04 am
  • Hi friends, I have a matrix with following format. group var1 var2 .......varN c1 group1 1.2399 1.4990....-1.4829 c2 group4 0.8989 0.7849.....1.8933 ... ... c100 group10 ..... I want to draw a ...
    Vickie SVickie S
    Jun 17, 2011 at 7:43 pm
    Jun 20, 2011 at 10:07 pm
  • Are there implementations of, e.g. Neville's algorithm, for interpolating polynomials through some data points? Nevilles' is an improvement on Lagrange interpolation. And how about interpolating ...
    DslowikDslowik
    Jun 14, 2011 at 12:34 am
    Jun 20, 2011 at 1:02 pm
  • I am a new user, and i am trying to sort out a data frame. I have for example bins of data. Within each bin i have multiple counts of animals and the depths at which these count were taken. How would ...
    Cox, Samantha LucyCox, Samantha Lucy
    Jun 7, 2011 at 3:42 pm
    Jun 12, 2011 at 11:35 pm
  • Hi All, I am unable to get the plot geomap in googleVis package. data is as follows country ytd 1 Argentina -10.18 2 Australia -3.42 3 Austria -2.70 4 Belgium 1.94 5 Brazil -7.16 6 Canada 0.56 But it ...
    SNV KrishnaSNV Krishna
    Jun 7, 2011 at 4:53 am
    Jun 10, 2011 at 10:33 am
  • I have a data frame: Time Temp Conc Repl Log10 1 0 -20 H 1 6.406547 2 2 -20 H 1 5.738683 3 7 -20 H 1 5.796394 4 14 -20 H 1 4.413691 5 0 4 H 1 6.406547 7 7 4 H 1 5.705433 'data.frame': 177 obs. of 5 ...
    Robert A. LaBuddeRobert A. LaBudde
    Jun 5, 2011 at 4:31 am
    Jun 5, 2011 at 9:29 pm
  • Dear all, I have a vector of expressions and would like to "paste" some string to it before using it in a plot: vars <- vector("expression", 2) vars[1] <- expression(alpha) vars[2] <- ...
    Marius HofertMarius Hofert
    Jun 2, 2011 at 6:43 pm
    Jun 2, 2011 at 10:22 pm
  • Dear list, this is not directly an R question, but it is somewhat related to R aspects, so I hope it's okay to post it here: I'd like to update my windows PATH based on a script routine in order to ...
    Janko ThysonJanko Thyson
    Jun 29, 2011 at 6:24 pm
    Dec 9, 2011 at 3:14 am
Group Navigation
period‹ prev | Jun 2011 | next ›
Group Overview
groupr-help @
categoriesr
discussions882
posts2,766
users859
websiter-project.org
irc#r

859 users for June 2011

David Winsemius: 136 posts Uwe Ligges: 70 posts Sarah Goslee: 58 posts Dennis Murphy: 57 posts Duncan Murdoch: 48 posts Joshua Wiley: 40 posts Gabor Grothendieck: 39 posts Prof Brian Ripley: 39 posts Jim Holtman: 33 posts Daniel Malter: 32 posts Mike Marchywka: 30 posts Ben Bolker: 28 posts Greg Snow: 26 posts Petr PIKAL: 26 posts Peter Ehlers: 24 posts Rolf Turner: 24 posts Peter dalgaard: 23 posts Bert Gunter: 22 posts Frank Harrell: 21 posts Bill Venables: 19 posts
show more
Archives