Search Discussions
-
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 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 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 ...
Jiliguala
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 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 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 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 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 ...
Aparna
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 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 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 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 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, ...
Lisa
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, 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 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.
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 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 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 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 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 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 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 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 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 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 ...
Lisa
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 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 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 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 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_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, ...
Maxbre
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-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 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 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 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 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 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å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.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 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 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), ...
Ivan
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 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 ...
Dslowik
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 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 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. 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 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 Thyson
Jun 29, 2011 at 6:24 pm
Dec 9, 2011 at 3:14 am
Group Overview
group | r-help |
categories | r |
discussions | 882 |
posts | 2,766 |
users | 859 |
website | r-project.org |
irc | #r |
859 users for June 2011
Archives
- June 2016 (491)
- May 2016 (794)
- April 2016 (832)
- March 2016 (803)
- February 2016 (850)
- January 2016 (688)
- December 2015 (770)
- November 2015 (693)
- October 2015 (894)
- September 2015 (997)
- August 2015 (724)
- July 2015 (1,035)
- June 2015 (832)
- May 2015 (887)
- April 2015 (937)
- March 2015 (918)
- February 2015 (1,015)
- January 2015 (478)
- December 2014 (706)
- November 2014 (704)
- October 2014 (897)
- September 2014 (875)
- August 2014 (853)
- July 2014 (1,023)
- June 2014 (875)
- May 2014 (1,222)
- April 2014 (1,222)
- March 2014 (1,222)
- February 2014 (1,028)
- January 2014 (1,087)
- December 2013 (1,069)
- November 2013 (1,365)
- October 2013 (1,295)
- September 2013 (1,450)
- August 2013 (1,557)
- July 2013 (1,527)
- June 2013 (1,641)
- May 2013 (1,716)
- April 2013 (2,034)
- March 2013 (2,131)
- February 2013 (1,781)
- January 2013 (2,113)
- December 2012 (1,821)
- November 2012 (2,880)
- October 2012 (2,804)
- September 2012 (1,960)
- August 2012 (2,744)
- July 2012 (3,128)
- June 2012 (2,549)
- May 2012 (3,067)
- April 2012 (2,949)
- March 2012 (3,368)
- February 2012 (2,978)
- January 2012 (2,704)
- December 2011 (2,219)
- November 2011 (2,905)
- October 2011 (2,994)
- September 2011 (2,623)
- August 2011 (3,231)
- July 2011 (2,915)
- June 2011 (2,766)
- May 2011 (2,976)
- April 2011 (3,071)
- March 2011 (3,357)
- February 2011 (3,089)
- January 2011 (2,869)
- December 2010 (2,607)
- November 2010 (3,540)
- October 2010 (3,541)
- September 2010 (3,495)
- August 2010 (3,509)
- July 2010 (3,393)
- June 2010 (3,363)
- May 2010 (3,489)
- April 2010 (3,419)
- March 2010 (3,833)
- February 2010 (3,688)
- January 2010 (3,153)
- December 2009 (2,880)
- November 2009 (3,489)
- October 2009 (3,298)
- September 2009 (3,457)
- August 2009 (3,359)
- July 2009 (3,672)
- June 2009 (2,986)
- May 2009 (3,013)
- April 2009 (3,334)
- March 2009 (3,590)
- February 2009 (3,294)
- January 2009 (2,992)
- December 2008 (2,409)
- November 2008 (2,733)
- October 2008 (3,034)
- September 2008 (2,998)
- August 2008 (2,815)
- July 2008 (3,285)
- June 2008 (2,781)
- May 2008 (2,512)
- April 2008 (2,497)
- March 2008 (2,751)
- February 2008 (2,583)
- January 2008 (2,483)
- December 2007 (2,030)
- November 2007 (2,591)
- October 2007 (2,713)
- September 2007 (2,022)
- August 2007 (2,244)
- July 2007 (2,147)
- June 2007 (2,306)
- May 2007 (2,211)
- April 2007 (2,146)
- March 2007 (2,189)
- February 2007 (1,908)
- January 2007 (1,728)
- December 2006 (1,444)
- November 2006 (2,118)
- October 2006 (2,327)
- September 2006 (1,899)
- August 2006 (1,892)
- July 2006 (1,784)
- June 2006 (1,810)
- May 2006 (2,030)
- April 2006 (1,814)
- March 2006 (2,256)
- February 2006 (1,920)
- January 2006 (2,076)
- December 2005 (1,507)
- November 2005 (1,904)
- October 2005 (1,814)
- September 2005 (1,706)
- August 2005 (1,778)
- July 2005 (1,868)
- June 2005 (2,048)
- May 2005 (1,903)
- April 2005 (2,054)
- March 2005 (1,700)
- February 2005 (1,723)
- January 2005 (1,753)
- December 2004 (1,477)
- November 2004 (1,900)
- October 2004 (1,714)
- September 2004 (1,531)
- August 2004 (1,494)
- July 2004 (1,616)
- June 2004 (1,715)
- May 2004 (1,565)
- April 2004 (1,649)
- March 2004 (1,954)
- February 2004 (1,581)
- January 2004 (1,116)
- December 2003 (1,158)
- November 2003 (1,604)
- October 2003 (1,568)
- September 2003 (1,446)
- August 2003 (1,209)
- July 2003 (1,347)
- June 2003 (1,317)
- May 2003 (1,271)
- April 2003 (1,477)
- March 2003 (1,212)
- February 2003 (1,137)
- January 2003 (1,017)
- December 2002 (744)
- November 2002 (1,038)
- October 2002 (1,058)
- September 2002 (705)
- August 2002 (820)
- July 2002 (921)
- June 2002 (926)
- May 2002 (1,056)
- April 2002 (966)
- March 2002 (880)
- February 2002 (696)
- January 2002 (886)
- December 2001 (530)
- November 2001 (824)
- October 2001 (657)
- September 2001 (678)
- August 2001 (563)
- July 2001 (616)
- June 2001 (549)
- May 2001 (548)
- April 2001 (473)
- March 2001 (650)
- February 2001 (585)
- January 2001 (561)
- December 2000 (420)
- November 2000 (434)
- October 2000 (420)
- September 2000 (429)
- August 2000 (360)
- July 2000 (294)
- June 2000 (414)
- May 2000 (509)
- April 2000 (377)
- March 2000 (374)
- February 2000 (356)
- January 2000 (205)
- December 1999 (218)
- November 1999 (313)
- October 1999 (229)
- September 1999 (204)
- August 1999 (149)
- July 1999 (180)
- June 1999 (186)
- May 1999 (161)
- April 1999 (186)
- March 1999 (198)
- February 1999 (145)
- January 1999 (226)
- December 1998 (105)
- November 1998 (184)
- October 1998 (95)
- September 1998 (95)
- August 1998 (64)
- July 1998 (110)
- June 1998 (105)
- May 1998 (90)
- April 1998 (101)
- March 1998 (114)
- February 1998 (78)
- January 1998 (135)
- December 1997 (58)
- November 1997 (61)
- October 1997 (74)
- September 1997 (42)
- August 1997 (37)
- July 1997 (41)
- June 1997 (47)
- May 1997 (34)
- April 1997 (94)