Displaying 18 results from an estimated 18 matches similar to: "How to set plot resolution"
2009 Aug 18
1
trouble building 2.10?
Should I expect to be able to build 2.10 at the moment?
Ubuntu intrepid
Linux bolker-lap2 2.6.27-14-generic #1 SMP Wed Jul 29 09:01:45 UTC 2009
i686 GNU/Linux
Gnu Make 3.81
gcc 4.3.2
===========
svn update
Restored 'src/library/Makefile.in'
At revision 49309.
============
./configure
[...]
R is now configured for i686-pc-linux-gnu
Source directory: .
Installation
2009 Jun 19
1
cut with floating point, a bug?
With floating point numbers I'm seeing 'cut' putting values in the wrong
bands. An example below places 0.3 in (0.3,0.6] i.e. 0.3 > 0.3.
> x = 1:5*.1
> x
[1] 0.1 0.2 0.3 0.4 0.5
> cut(x, br=c(0,.3,.6))
[1] (0,0.3] (0,0.3] (0.3,0.6] (0.3,0.6] (0.3,0.6]
Levels: (0,0.3] (0.3,0.6]
I'm sure this is probably the same issue documented in the FAQ (7.31 Why
doesn't R
2009 Nov 10
1
polygon kills X-server (PR#14055)
Full_Name: Ludo Pagie
Version: 2.10.0
OS: linux, ubuntu, 8.04
Submission from: (NULL) (83.163.218.221)
when I make a polygon with 100,000 vertices my X-server is being
killed. This occurs in R-2.9.0 and a freshly installed R-2.10.0
I'm running Ubuntu with a locally compiled R:
uname -a
Linux onyx 2.6.24-24-generic #1 SMP Tue Aug 18 16:22:17 UTC 2009
x86_64 GNU/Linux
xlower = -2e6:2e6
2017 Dec 25
3
plot representation of calculated value known to be 7.4
Dear friends - merry Christmas and thanks a lot for much help during the
year!
In the example below I fail to understand how the calculated value pH is
represented in a simple plot - also included. The calculations are
useful in practice and likely to be right in principle but I cannot see
how this occurs: why a calculated value of 7.4 known as numeric is not
simply plotted as such. It
2017 Dec 25
0
plot representation of calculated value known to be 7.4
Dear friends - copy paste missed
SID <- c() before the first loop - sorry
BW Troels
Den 25-12-2017 kl. 19:12 skrev Troels Ring:
>
> Dear friends - merry Christmas and thanks a lot for much help during
> the year!
>
> In the example below I fail to understand how the calculated value pH
> is represented in a simple plot - also included. The calculations are
> useful
2008 Jan 11
1
ggplot2, coord_equal and aspect ratio
Hi everyone, Hi Hadley,
I am a heavy user of coord_equal() in ggplot2 since most of my data is
spatial, on x,y coordinates. Everything works. However by enforcing an
aspect ratio of 1 for the plotting region, coord_equal() usually
wastes a lot of space if the region of interest is not a perfect square.
For example:
x=runif(10)
a=data.frame(x=x*3,y=x)
ggplot(data=a, aes(x=x,y=y)) +
2010 Jun 24
1
help, bifurcation diagram efficiency
Hello all -
This code will run, but it bogs down my computer when I run it for finer and
finer time increments and more generations. I was wondering if there is a
better way to write my loops so that this wouldn't happen. Thanks!
-Tyler
#################
# Bifurcation diagram
# Using Braaksma system of equations
# We have however used a Fourier analysis
# to get a forcing function
2003 Feb 28
2
optim
Dear all,
I have a function MYFUN which depends on 3 positive parameters TETA[1],
TETA[2], and TETA[3]; x belongs to [0,1].
I integrate the function over [0,0.1], [0.1,0.2] and
[0.2,0.3] and want to choose the three parameters so that
these three integrals are as close to, resp., 2300, 4600 and 5800 as
possible. As I have three equations with three unknowns, I expect the
exact fit, i.e., the SS
2017 Dec 26
2
plot representation of calculated value known to be 7.4
Thanks a lot - formatting the ordinate as ylim=c(4,10) before plotting
pH also removed the problem, and options(digits=10) confirmed that pH
was not all exactly 7.4 - as I knew. Still I wonder just why R chooses
to plot(ATOT,pH) as shown with repeated "7.4" instead of some more
detailed representation. Thanks a gain and happy New Year!
Troels
Den 26-12-2017 kl. 01:03 skrev Bert
2010 Jan 06
1
wiki down?
Does anyone have an address for a maintainer, or know what's going on?
cheers
Ben Bolker
ben at bolker-lap2:~$ ping wiki.r-project.org
PING econum.umh.ac.be (193.190.194.5) 56(84) bytes of data.
^C
--- econum.umh.ac.be ping statistics ---
8 packets transmitted, 0 received, 100% packet loss, time 6999ms
ben at bolker-lap2:~$ traceroute wiki.r-project.org
traceroute to
2011 Oct 02
0
Difference between ~lp() or simply ~ in R's locfit?
As I think it is not spam but helpful, let me repeat my stats.stackexchange.com question here, from http://stats.stackexchange.com/questions/16346/difference-between-lp-or-simply-in-rs-locfit
I am not sure I see the difference between different examples for local logistic regression in the documentation of the gold standard locfit package for R:
2017 Sep 13
0
ggmap + geom_raster
Dear all,
I want to :
1. Estimate a weighted 2D kernel.
2. Paint a heatmap on a ggmap.
Here is some reproducible data / code (I got it from the internet) :
s_rit <- structure(list(score = c(45, 60, 38, 98, 98, 53, 90, 42, 96,
45, 89, 18, 66, 2, 45, 98, 6, 83, 63, 86, 63, 81, 70, 8, 78,
15, 7, 86, 15, 63, 55, 13, 83, 76, 78, 70, 64, 88, 61, 78, 4,
7, 1, 70, 88, 58, 70, 58, 11, 45, 28, 42,
2011 Apr 06
2
glm predict on new data
I am aware this has been asked before but I could not find a resolution.
I am doing a logit
lg <- glm(y[1:200] ~ x[1:200,1],family=binomial)
Then I want to predict a new set
pred <- predict(lg,x[201:250,1],type="response")
But I get varying error messages or warnings about the different number of
rows. I have tried data/newdata and also to wrap in data.frame() but cannot
get
2009 Apr 16
1
Plotting C++ output in R
Hi,
Using R 2.8.0 on Windows,
I have a mathematical model written in C++, the model writes to file (.txt) a set of numbers I want to plot in R.
The model iterates over about 10,000 runs, each time overwriting the old with the new set of results to the output file.
I want to be able to continuously plot the output from the model in R each time a new run generates data.
At the moment I tried
2004 Aug 06
0
̨Íåºê´ó¹ú¼ÊÉÌó³ÏÑ°¹óµØºÏ×÷»ï°é£¬ÏúÊÛµçÄÔÅä¼þ¡¢ÊÖ»ú¡¢±Ê¼Ç±¾µçÄÔ ÁªÏµÈË:³ÂÊÀ½Ü µç»°:013850704389
̨Íåºê´ó¹ú¼ÊÉÌó¹«Ë¾³ÏÑ°¹óµØºÏ×÷»ï°é£¬ÏúÊÛµçÄÔ¡¢Åä¼þ¡¢ÊÖ»ú¡¢±Ê¼Ç±¾µçÄÔ¡££¨²Î¿¼¼Û¸ñ±íÈçÏ£©
ÎÒ˾±£Ö¤²úƷΪȫÐÂÔ×°,»õµ½¸¶¿î¡£Óв»Ïê¿ÉÀ´ÈËÀ´µç×Éѯ£º
ÁªÏµÈË:³ÂÊÀ½Ü µç»°:013850704389
Ò»¡¢Ä¦ÍÐÂÞÀ µ¥Î»/Ôª
T189--400 T190--350 T191--500 C289--550
T2988--350 A388--1600 A6288--1300 V70--2000
V8088--800 V998++ --700 V60+ --1200 V66+GPRS--950
ŵ»ùÑÇ
3310--400 3330--450
2011 Jan 26
0
Fwd: MAtrix addressing
Begin forwarded message:
> From: David Winsemius <dwinsemius at comcast.net>
> Date: January 26, 2011 8:32:30 AM EST
> To: Alaios <alaios at yahoo.com>
> Subject: Re: [R] MAtrix addressing
>
>
> On Jan 26, 2011, at 7:58 AM, Alaios wrote:
>
>> Unfortunately right now is convoluted... by I was trying to find
>> some solution.
>> Bring again
2008 Feb 27
2
png and pdf : point size, font size, etc.
Hi,
I am new to this mailing list. Didn`t find the answer in the archives. But I
guess, there are people out there, who know the solution:
In an automatic script, I want to produce simple plots. First I prefer pdf,
because of scalability and standardization. But when I have too many
datapoints (say 300.000) the viewing and printing is very, very slow. So I
decided to take some bitmapped format
2008 Jun 30
2
Plotting question: Problem with strwidth in 2.7.1
R users,
I have a problem with function strwidth in 2.7.1. I'm trying to set
the plot margins in a way that horizontal
column labels will fit to the graph. tmp.t is a list of data.frame
objects. This code works well in 2.6.0.
...snip..
library(gplots)
for (i in names(tmp.t)) {
bmp(filename=paste(i, "_", Sys.Date(), ".bmp", sep=""),
width=1038,