Search Discussions
-
Folks: I'm trying to port some code from python over to R, and I'm running into a wall finding R code that can solve a generalized eigenvalue problem following this function model ...
Jonathan Greenberg
Apr 19, 2012 at 6:50 pm
Apr 27, 2012 at 6:51 pm -
Hellow everyone, This code bellow will calculate average daily wind speed(measurements are taken every three hours).Any ideas how to take the Min and Max instead of average. library(Matrix) ...
Jonsson
Apr 27, 2012 at 3:46 pm
Apr 30, 2012 at 3:06 pm -
I participate peripherally on a listserve for middle- and high-school science teachers. Sometimes questions about graphing or data analysis come up. I never miss an opportunity to advocate for R ...
Christopher W Ryan
Apr 18, 2012 at 2:46 am
Apr 22, 2012 at 3:20 pm -
18
[R] grouping
Hi all, Assume that I have the following 10 data points. x=c( 46, 125 , 36 ,193, 209, 78, 66, 242 , 297 , 45) sort x and get the following y= (36 , 45 , 46, 66, 78, 125,193, 209, 242, 297) I want to ...Val
Apr 3, 2012 at 12:47 pm
Apr 3, 2012 at 7:11 pm -
Hello, I am trying to understand why the FUNCTION used in several codes, won't create the object after it finishes running the code. For instance, look at the following: Number<- function(x) ...
Michaelyb
Apr 26, 2012 at 2:06 am
Apr 26, 2012 at 7:57 pm -
The text below is a part of, some work I have to do, which is due in 2 days and I am strung up with a lot of other stuff, so I was hoping someone would take 5 mins and help me ?? Here is a part of my ...
Phillip03
Apr 22, 2012 at 6:54 pm
Apr 25, 2012 at 11:09 am -
Hi I have a problem with passing line and symbol parameters to user defined panel functions I had a look at the archives and created a panel function on what was shown and on panel.loess. I could not ...
Duncan Mackay
Apr 19, 2012 at 8:24 am
Apr 22, 2012 at 2:39 am -
The following is an R run showing that it has read a 2000 point time series having two values at each time. What is the simplest way to plot the data? It seems like the whatever plot routine should ...
Hurr
Apr 1, 2012 at 3:06 am
Apr 7, 2012 at 1:52 pm -
Hello again, I'd like to determine if an Excel file is open or writable. Can anyone help me with that? I write some stats to an .xlsx Excel file using the xlsx package. I can't write to the file ...
Ben quant
Apr 27, 2012 at 4:08 pm
Apr 30, 2012 at 12:34 pm -
I just upgraded from 2.14 to 2.15 and have run into an issue upgrading libraries that I've not had in previous version upgrades. For example, trying to install reshape2 for 2.15 throws errors and I ...
Rich Shepard
Apr 24, 2012 at 3:47 pm
Apr 24, 2012 at 11:16 pm -
How do I write something like "pause()" in R code like in other programming languages so I can just press something to let the program continue? -- View this message in context ...
Hurr
Apr 1, 2012 at 11:33 am
Apr 7, 2012 at 3:48 pm -
Hello, I am loading a DBF file into R via JGR and am having trouble creating small multiple histograms on a date variable. Hist() handles the variable correctly. But I've been unable to work with ...
Davideps
Apr 1, 2012 at 2:27 am
Apr 4, 2012 at 11:00 pm -
How do I remove a "$" character from a string sub() and gsub() with "$" or "\$" as pattern do not work. Error: unexpected input in "sub(\" Thanks -- Nevil Amos Molecular Ecology Research Group ...
Nevil Amos
Apr 10, 2012 at 11:34 am
Apr 22, 2012 at 10:41 am -
Can anyone help me maybe with a question I can seem to find an answer on. I have this: x = c(1, 5, 70, 53, 7, 29, 75, 37, 30, 11) And I would like to have the numbers above 20 selected out. But I ...
Yellow
Apr 20, 2012 at 10:26 am
Apr 20, 2012 at 7:25 pm -
Everyone, I'm very new to R, especially when it comes to loops and functions, so please bear with me if this is an elementary question. I cannot seem to figure out how to construct a loop which runs ...
Steve Lavrenz
Apr 10, 2012 at 2:48 pm
Apr 10, 2012 at 5:59 pm -
Hello, everybody! I have a matrix "input" (see example below) - with all unique entries that are actually unique ranks (i.e., start with 1, no ties). I want to assign a value of 100 to the first row ...
Dimitri Liakhovitski
Apr 6, 2012 at 7:49 pm
Apr 8, 2012 at 8:58 pm -
Hi there, I wish to merge a common variable between a list and a data.frame & return rows via the data.frame where there is NO match. Here are some details: The list, where the variable/col.name = ...
RHelpPlease
Apr 26, 2012 at 7:33 pm
Apr 27, 2012 at 4:08 pm -
Hi all, I found that the PCA gave chaotic results when there are big changes in a few data points. Are there "improved" versions of PCA in R that can help with this problem? Please give me some ...
Michael
Apr 20, 2012 at 4:20 am
Apr 23, 2012 at 1:16 pm -
i am trying to replicate the following graph using xyplot : attach(x) plot ( jitter(type), mortality, pch, xlim = c(0.25, 3.75)) lines ( c(1-0.375,1.375) , c ( median(mortality[type==1]), ...
Wcheckle
Apr 7, 2012 at 1:41 am
Apr 9, 2012 at 7:41 am -
Hello Folks, When I run the document below through sweave, rgui.exe/rsession.exe leaves a file handle open to the sweave-001.pdf graphic (as verified by process explorer). Pdflatex.exe then crashes ...
Alexander Shenkin
Apr 4, 2012 at 7:25 pm
Apr 5, 2012 at 6:22 pm -
Hi everyone. I have a question about a work on R I have to do for my job. I have temperature data coming from 70 weather stations. One data file corresponds to one station for one year (so 70 files ...
Jeff6868
Apr 23, 2012 at 10:42 am
May 3, 2012 at 8:13 am -
Hi I have a data.set with 7 lists, with over 7000 observations in each list. to of the lists contain country names. like: aus dnk fra aus usa aut itl usa . . . etc. My dilemma is that I want to add ...
Phillip03
Apr 17, 2012 at 4:40 pm
Apr 19, 2012 at 5:11 am -
After a lot of processing I get a matrix into M. I expected each row and column to be a vector. But it is a list. R-Inferno says... "Arrays (including matrices) can be subscripted with a matrix of ...
Worik R
Apr 17, 2012 at 4:13 am
Apr 19, 2012 at 3:31 am -
Hello R-Members I have to install several R packages on a Unix server which doesn't have internet connection. I downloaded some packages manually and I installed it from source using the command R ...
Mail Bioinfo
Apr 16, 2012 at 1:41 pm
Apr 18, 2012 at 2:08 pm -
Hi everybody, I'm a new R french user. Sorry if my english is not perfect. Hope you'll understand my problem ;) I have to work on temperature data (35000 lines in one file) containing some missing ...
Jeff6868
Apr 3, 2012 at 8:52 am
Apr 4, 2012 at 1:00 pm -
?Hi, I am working with lotteries and I need to generate two sets of uniform random numbers. Requirements: 1) each set has 60 random numbers 2) random numbers in the first set are taken from an ...
Vale Fara
Apr 27, 2012 at 10:10 pm
Apr 30, 2012 at 2:33 am -
Hi, I am trying to do some predictive modeling around attrition and want to split the dataset into test and train (80:20) and keep the ratio of attritees:non attrites same. In my dataset the ...
Dwaipayan Dasgupta
Apr 24, 2012 at 3:38 pm
Apr 26, 2012 at 12:17 pm -
Dear R-Gurus I have a data frame (from CSV file) which has its first column called Date. The Date is in the format mm/dd/yyyy. I was trying to get the weekday for these dates and I tried using wday() ...
Raghuraman Ramachandran
Apr 22, 2012 at 4:53 pm
Apr 22, 2012 at 6:42 pm -
Hi there is it possible that pdfs generated using the pdf() function with default settings leads to loss of information? I was plotting copy number changes from Agilent 180k data in form of ...
Unger, Kristian, Dr.
Apr 17, 2012 at 12:08 pm
Apr 17, 2012 at 2:35 pm -
Hello, I used the glm function in R to fit a dose-response relationship and then have been using dose.p to calculate the LC50, however I would like to calculate the NOEL (no observed effect level), ...
Danielle Duncan
Apr 2, 2012 at 10:45 pm
Apr 4, 2012 at 7:15 pm -
Hello, I've just installed R-2.15.0 (I've had R 2.13.2 before it and I've deleted everything before I started to install new version). When I've tried to run my script by command "source()" I ...
Krtek
Apr 11, 2012 at 9:58 am
May 4, 2012 at 2:10 pm -
Thank you to everyone in this forum that has been helping me with the basic R skills while I learn to apply them. I would like to take the coefficient of two coordinates. One of them comes from two ...
Hans Thompson
Apr 27, 2012 at 7:04 pm
Apr 29, 2012 at 3:06 pm -
I figured out something new that I would like to see if I can do this more easy with R then Excel. I have these huge files with data. For example: DataFile.csv ID Name log2 1 Fantasy 5.651 2 New ...
Yellow
Apr 22, 2012 at 11:03 am
Apr 23, 2012 at 1:16 pm -
Easy question a bit. So here's my code: http://pastebin.com/F4iQPVy5 I am trying to read in a series of timestamps. However with POSIXlt as FUN in read.zoo, the output is merely two numbers and is ...
Knavero
Apr 14, 2012 at 12:30 pm
Apr 16, 2012 at 3:33 am -
Dear R experts, I am trying to save three plots using tiff graphics devices; however the following code only produces two files (Rplot002.tif and Rplot003.tif) showing figures 1 and 3. Here is a ...
John S
Apr 6, 2012 at 6:17 pm
Apr 13, 2012 at 10:44 am -
Hello All, I'm getting my workflow switched over to Sweave, which is very cool. However, I collaborate with folks (as many of you must as well) who use Word to Track Changes amongst a group while ...
Alexander Shenkin
Apr 7, 2012 at 8:54 pm
Apr 10, 2012 at 2:14 am -
R version 2.15.0 (2012-03-30) Platform: x86_64-pc-linux-gnu (64-bit) locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 [5] LC_MONETARY=en_US.UTF-8 ...
Kjetil Halvorsen
Apr 8, 2012 at 6:56 pm
Apr 10, 2012 at 1:09 am -
Hi there, Can someone explain what the difference between spec.pgram and spec.ar is? I understand that they attempt to do the same thing one using an AR estimation of the underlying series to ...
Bazman76
Apr 8, 2012 at 6:39 pm
Apr 9, 2012 at 6:34 pm -
Hi, i am writing a function to plot a pdf functions of a Generalized normal laplace distribution. The code is this { y = x-rho*mu cf.fn = function(s){ cplex = complex(1,0,1) temp1 = ...
Guaramy
Apr 8, 2012 at 5:28 pm
Apr 9, 2012 at 2:28 pm -
Since R has the same namespace for functions and variables, Is there a way to prevent R from overriding globals or at least warning when I do that or at least warning when I replace a functional ...
Sam Steingold
Apr 4, 2012 at 8:52 pm
Apr 5, 2012 at 3:19 pm -
Hi, All: I am new to R and tm package. I'm trying to do the stemming using tm_map() and it doesn't seem to work: *I used:* *Where t_cmts is the corpus object, the results is:* bottle loose box abt ...
Deborah H. Deng
Apr 13, 2012 at 7:27 am
May 18, 2012 at 3:30 pm -
Hi folks. If I have the following in my "data" event pH1 pH2 1 4.0 6.0 2 4.3 5.9 3 4.1 6.1 4 4.0 5.9 and on and on..... for about 400 events Is there a way I can get R to plot event vs. pH1 and event ...
David Doyle
Apr 24, 2012 at 3:26 am
May 1, 2012 at 2:49 am -
I am currently using R 2.15.0 with R Tools 2.15 (in Windows XP). I downloaded the source for RGgobi and extracted it to a folder. Then I tried compiling and installing with the following command and ...
Indrajit Sengupta
Apr 27, 2012 at 7:56 am
Apr 29, 2012 at 6:54 am -
Dear R-helpers, I would like to test if the slope corresponding to a continuous variable in my model (summary below) is different than one. I would appreciate any ideas for how I could do this in R, ...
Mark Na
Apr 23, 2012 at 6:11 pm
Apr 27, 2012 at 2:08 am -
Hello, this forum was very helpful yesterday with a simple question I had on working with tables. What function will I need to use to do the following. Move matrix a: A B C D x 1 2 3 4 y 5 6 7 8 to ...
Hans Thompson
Apr 24, 2012 at 8:36 pm
Apr 26, 2012 at 10:03 am -
Dear people, I have got a question concerning the underlying numerical codes when reading an SPSS file into R. I used the package foreign and when I look at a variable I get the verbal codes. I would ...
Marion Wenty
Apr 12, 2012 at 10:28 am
Apr 24, 2012 at 8:03 am -
I'm new using R im trying to do a tukey test, but when i see the results the p value results in NA im guessing its because i have missing values but im not sure how to fix it AnovaModel.2 <- aov(area ...
Danipaty13
Apr 20, 2012 at 1:21 pm
Apr 21, 2012 at 5:11 am -
Hi, Encountering the following error using Amelia - Error in if (sum(non.vary == 0)) { : argument is not interpretable as logical In addition: Warning message: In FUN(X[[34L]], ...) : NAs introduced ...
Gaurav Sood
Apr 18, 2012 at 5:33 pm
Apr 18, 2012 at 6:45 pm -
I can't figure out why this is returning an NA for the slope in one case, but not in the other. I can tell that R thinks the first case is singular, but why isn't the second? ## Define X and Y ## ...
Gene Leynes
Apr 13, 2012 at 8:20 pm
Apr 16, 2012 at 3:44 pm -
Hello All, ? Am replicating in R an analysis I did earlier using SAS. See this as a test of whether I'm ready to start using R in my day-to-day work. ? Just finished replicating a Kaplan Meier ...
Paul Miller
Apr 13, 2012 at 12:13 pm
Apr 16, 2012 at 2:42 pm
Group Overview
group | r-help |
categories | r |
discussions | 835 |
posts | 2,949 |
users | 785 |
website | r-project.org |
irc | #r |
785 users for April 2012
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)