similar to: I wish xlim=c(0, NA) would work. How about I send you a patch?

Displaying 20 results from an estimated 20000 matches similar to: "I wish xlim=c(0, NA) would work. How about I send you a patch?"

2012 Jul 31
3
time series line plot: Error in plot.window(...) : invalid 'xlim' value
Hello, This should be pretty simple but I cannot get it right. Please point to the right code. Thanks. > last <- read.csv(file.path(dataDir,"plot1.csv"), as.is=T,stringsAsFactors = FALSE) > last date r_wvht 1 8/6/2008 0.9766667 2 8/8/2008 0.7733333 3 8/11/2008 1.4833333 4 8/13/2008 1.5766667 5 8/14/2008 1.3900000 6 8/18/2008 0.7800000 7 8/20/2008
2003 Nov 12
2
wishlist item: changing origin of plot (PR#5045)
[This is an edited version of an email that I sent to Paul Murrell. He was in favour of the idea (although he noted the obstacles that: it could make par() longer; somebody has to implement it) and suggested I submit this as a wishlist item.] Do you think it would be worth adding options to plot commands to reverse axes? Here is a simple example: > x <- 1:12 > plot(x) Whereas if I
2012 Aug 15
1
shade overlapping portions of circles (or other shapes)
I'm making some illustrations and it would be convenient to automatically shade the overlapping portions of circles. These illustrations are for Social Choice theory, a field in political science and economics. I've wrestled together some examples so you can see what I mean, but have not mastered the "color overlapping sections" problem (as you will see):
2010 Aug 31
1
"pairs" with same xlim and ylim scale
Hi list, I have a function which basically is a wrapper of pairs with some useful panel functions. However, I'm having trouble to pass the "xlim" and "ylim" into the function so the x and y axes are in the same scale and 45 degree lines are exactly diagonal. I've looked at some old posts, they didn't help much. I think this is b/c I have multiple panel
2012 Jun 06
2
non ascill characters in plots. no alternative but plotmath?
A student entered some data with text characters like epsilon and alpha. On her Windows system, the Greek letters did not display properly in a plot. There were some ordinary ASCII instead. I asked her to send me the code so I could test. For me, the plot looks ok on the screen. Format1 <- c(320,500,700,1000,500,320,700,500,320) Format2 <- c(800,1000,1150,1400,1500,1650,1800,2300,2500)
2006 Jun 16
1
R in ConTeXt
In case there are users of the TeX macro package ConTeXt on this list, they may be interested to know that it is now possible to include R code in a ConTeXt document and have the code evaluated while compiling. The inverse of Sweave, as it were. The advantage is that there is then only one file to keep track of (.tex vs .rnw and .tex), while a drawback is speed, since each code snippet is
2011 Jan 12
3
Problems creating a PNG file for a dendrogram: "Error in plot.window(...) : need finite 'xlim' values"
Has anyone successfully created a PNG file for a dendrogram? I am able to successfully launch and view a dendrogram in Quartz. However, the dendrogram is quite large (too large to read on a computer screen), so I am trying to save it to a file (1000x4000 pixels) for viewing in other apps. However, whenever I try to initiate a PNG device, I get a "need finitite 'xlim' values"
2016 Feb 09
2
problem plotting "ts" in a data.frame
Hello: I'm having trouble plotting an object of class "ts" that is in a data.frame. I can do it with(data.frame, plot(...)) but not with plot(..., data.frame); see the example below. This work around gets me past this problem. However, I thought the R Core team might want to know about this if they don't already. Thanks for all your work in making
2003 Mar 10
1
Problem with example(medpolish) in R-devel
Today's R-devel has a problem in `example(medpolish)'. It appears that the `plot.medpolish' method is not available. Here is the output and traceback() after starting `R --vanilla': > library(eda) > example(medpolish) mdplsh> deaths <- rbind(c(14, 15, 14), c(7, 4, 7), c(8, 2, 10), c(15, 9, 10), c(0, 2, 0)) mdplsh> dimnames(deaths) <-
2013 Oct 15
4
Two R editiosn in Unix cluster systems
Dear R Devel Some of our R users are still insisting we run R-2.15.3 because of difficulties with a package called OpenMX. It can't cooperate with new R, oh well. Other users need to run R-3.0.1. I'm looking for the most direct route to install both, and allow users to choose at runtime. In the cluster, things run faster if I install RPMs to each node, rather than putting R itself on
2014 Aug 06
3
portableParalleSeeds Package violation, CRAN exception?
I'm writing to ask for a policy exception, or advice on how to make this package CRAN allowable. http://rweb.quant.ku.edu/kran/src/contrib/portableParallelSeeds_0.9.tar.gz Yesterday I tried to submit a package on CRAN and Dr Ripley pointed out that I had not understood the instructions about packages. Here's the part where the R check gives a Note * checking R code for possible
2010 Jan 09
2
Plotting numeric values against non numeric items
Hi i want do a line graph. My y axis contains numeric values. My x axis contains non numeric statements. This is what i want the graph to look like. When i try to plot this graph on R it comes up with the following error message: "Error in plot.window(...) : need finite 'xlim' values In addition: Warning messages: 1: In xy.coords(x, y, xlabel, ylabel, log) : NAs introduced by
2016 Feb 12
2
configure statement for R-devel with updated zlib in user account
I'm aware R-devel no longer includes zlib. This works find on up-to-date Linux systems. On the older Centos 6 cluster at KU, they have zlib tool old for R-devel. The R-devel configure fails thus: checking if zlib version >= 1.2.5... no checking whether zlib support suffices... configure: error: zlib library and headers are required In other software, I've seen this kind of thing, so
2016 Feb 08
3
something wrong in package submission procedure/website
Yesterday I uploaded new rockchalk_1.8.97. Then I received email saying that I needed to confirm the submission. Here's the message. Dear Paul E. Johnson Someone has submitted the package rockchalk to CRAN. You are receiving this email to confirm the submission as the maintainer of this package. To confirm the submission to CRAN, follow or copy & paste the following link into your
2015 Aug 27
2
Proposed change in file.exists() to tolerate Windows
I'm writing to ask if R Core would make file.exists more Windows tolerant when the argument has a trailing slash. This has been discussed by users a few times here, I know it is not a new topic. But it is not a solved problem, yet. I acknowledge that CRAN packages exist which fix this by replacing file.exists(), but it seems more elegant to me to fix the problem in R itself. R Core goes to
2000 Mar 13
3
problem with plot(...., xlim=c(5,0)) (PR#480)
plot(1:4,1:4,xlim=c(5,0),ylim=c(5,0)) shows axis labels as: | | | | | | 0 rather than | | | | | | 5 4 3 2 1 0 as I believe it used to do in some earlier version. Thank you for R. Rashid Nassar --please do not edit the information below-- Version: platform = i586-unknown-linux arch = i586
2012 Aug 11
1
device "mismatch", coordinates trouble with X11 and pdf devices
Greetings. I'm trying to understand a problem on a Dell Laptop. Details below, also uploaded the R working example that I pasted below. http://pj.freefaculty.org/scraps/testSymbols.R > sessionInfo() R version 2.15.1 (2012-06-22) 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]
2005 Mar 05
1
Reverse plot axes with xlim=rev(range(x)) fails with asp=1
Dear R users, I would like to reverse the axes on some xy plots (for example to set the origin at the top left rather than the bottom left). I had planned to use something of the following form: plot(y=y<-c(20,4,5,6),x=x<-c(10,20,30,40),ylim=rev(range(y))) ie reversing ylim to reverse the y axis. This works fine however I also want to use the parameter asp=1 to ensure that equal
2013 Apr 01
2
example to demonstrate benefits of poly in regression?
Here's my little discussion example for a quadratic regression: http://pj.freefaculty.org/R/WorkingExamples/regression-quadratic-1.R Students press me to know the benefits of poly() over the more obvious regression formulas. I think I understand the theory on why poly() should be more numerically stable, but I'm having trouble writing down an example that proves the benefit of this. I
2012 Dec 12
3
R-2.15.2 changes in computation speed. Numerical precision?
Speaking of optimization and speeding up R calculations... I mentioned last week I want to speed up calculation of generalized inverses. On Debian Wheezy with R-2.15.2, I see a huge speedup using a souped up generalized inverse algorithm published by V. N. Katsikis, D. Pappas, Fast computing of theMoore-Penrose inverse matrix, Electronic Journal of Linear Algebra, 17(2008), 637-650. I was so