Displaying 20 results from an estimated 500 matches similar to: "graphing help: line runs off top of graph"
2011 Jun 26
2
does rsync not preserve directory mtimes?
Hi,
I'm running the following command as a local copy command.
faheem at bulldog:/mnt/data$ sudo rsync -abvz --super /data/ .
Origin directory
faheem at bulldog:/data$ ls -la
total 28
drwxr-xr-x 7 root root 4096 Jun 26 08:34 .
drwxr-xr-x 25 root root 4096 Apr 13 17:09 ..
drwxr-xr-x 2 owzar001 root 4096 Nov 6 2010 CTS
drwxr-xr-x 2 owzar001 owzar001 4096 Aug 27 2010
2020 Oct 23
2
How to shade area between lines in ggplot2
Thank you, but this split the area into two and distorts the shape of
the plot. (compared to
```
p + geom_abline(slope = slope_1, intercept = intercept_1 - 1/w[2],
linetype = "dashed", col = "royalblue") +
geom_abline(slope = slope_1, intercept = intercept_1 + 1/w[2],
linetype = "dashed", col = "royalblue")
```
Why there
2011 Dec 12
3
windrose color ramp issue
Greetings!
I'm having an issue with the windrose produced by the windrose
function from the circular package. For our weather stations in North
Carolina I'm helping with a script which takes hourly wind speed and
direction data to create windroses for our end users. One of the
stations in the mountains frequently reaches wind speed of 40 to 60
mph and in storms can reach wind speed over
2020 Oct 26
0
How to shade area between lines in ggplot2
Hi
Put fill outside aes
p+geom_ribbon(aes(ymin = slope_1*x + intercept_1 - 1/w[2],
ymax = slope_1*x + intercept_1 + 1/w[2]), fill = "blue", alpha=0.1)
The "hole" is because you have two levels of data (red and blue). To get rid
of this you should put new data in ribbon call.
Something like
newdat <- trainset
newdat$z <- factor(0)
p+geom_ribbon(data=newdat, aes(ymin =
2006 Feb 17
3
CPU time stats
hi,
I am trying to find out the avg cpu time spent in each of my user
methods (exclusive of other methods invoked by a method).
Hence the following snippet failed miserably:
-----------------------
pid$target:a.out::entry
{ time[probefunc] = timestamp;}
pid$target:a.out::return
{ @spent[probefunc] = avg(timestamp - time[probefunc]);}
END
{ printa(@spent);}
2020 Oct 23
0
How to shade area between lines in ggplot2
Hi
What about something like
p+geom_ribbon(aes(ymin = slope_1*x + intercept_1 - 1/w[2],
ymax = slope_1*x + intercept_1 + 1/w[2], fill = "grey70", alpha=0.1))
Cheers
Petr
> -----Original Message-----
> From: Luigi Marongiu <marongiu.luigi at gmail.com>
> Sent: Friday, October 23, 2020 11:11 AM
> To: PIKAL Petr <petr.pikal at precheza.cz>
> Cc: r-help
2008 Aug 12
1
No answer in anova.nls
Dear R-helpers,
I am trying to check whether a model of the form y(t) = a/(1 +b*t) fits the
curve of downloads per day of a file in a specific online community better
than a model of the form y(t) = a*exp(-b*t). For that, I used nls to fit
both models and I am now trying to compare the fits with anova. The problem
I find is that anova does not report an F statistic or a p-value when I
compare
2012 Aug 28
2
corrgram
Hello,
are there fixed threshold values for the changes between different
shades of blue in the corrgram?
Or is a chang relative depending on the data?
I didnt get it in manual.
Thank you very much, best regards
Claudia
2002 Jan 14
1
trouble using R Mathlib as standalone
Dear People,
I am trying to use R's Math library as standalone, as documented in
/src/nmath/standalone. I am using C++ in Debian testing, and the versions
are as follows:
ii g++-3.0 3.0.3-1 The GNU C++ compiler.
ii r-mathlib 1.4.0-1 `GNU S' - Standalone R math library
I have a file (rand.cc) as follows. I don't think that lattice.hh or mh.hh
are very
2001 Nov 17
2
choosing g/g++ compiler executable in R CMD SHLIB
Dear People,
After considerable effort, I managed to install gcc-3.0 on my Debian
system. However, Debian keeps gcc-2.95 around as the default compiler, and
gcc, g++ point to the 2.95 version. The 3.0 versions need to be explicitly
invoked as gcc-3.0, g++-3.0 etc. How can I get R CMD SHLIB to invoke
gcc-3.0 instead of gcc and g++-3.0 instead of g++? I would like this to be
done by default but
2020 Oct 23
2
How to shade area between lines in ggplot2
also from this site: https://plotly.com/ggplot2/geom_ribbon/
I get the answer is geom_ribbon but I am still missing something
```
#! plot
p = ggplot(data = trainset, aes(x=x, y=y, color=z)) +
geom_point() + scale_color_manual(values = c("red", "blue"))
# show support vectors
df_sv = trainset[svm_model$index, ]
p = p + geom_point(data = df_sv, aes(x=x, y=y),
2012 Jan 27
2
The following code (using rgamma) hangs
Hi,
I'm seeing something that may be a bug in R's standalone math library,
which is packaged by Debian as r-mathlib. I reported it to the Debian BTS
as http://bugs.debian.org/657573
I'm using Debian squeeze, and the code was tested with r-mathlib 2.11.1-6
(default on stable) and 2.14.1-1 (from testing/unstable).
I summarize this report below. The following code with the R math
2008 Apr 30
3
checking whether a file is empty
Hi,
Is there a way to check whether a file is empty in R. I did the customary
searches, but did not find anything. Please cc me on any reply.
Thanks, Faheem.
2003 Apr 29
4
thick plot lines
Dear People,
In a qqplot I am doing, I get lines/points that are very thick. I've tried
setting the lwd variable to 0.1, but it doesn't seem to have any effect.
Also, I have set the value of lty to dashed, but I still get dots. The
command looks like
qqplot(cdf.inv(seq(0,1,length=size),theta,pos,len),empmargdistvec(len,theta,pos,size),
xlim=c(-theta,theta), ylim=c(-theta,theta),
2001 Oct 18
1
rsync logging and permission problems
Dear rsync people,
I have just started using rsync for backups. I have had a couple of
issues. Note I'm trying to use rsync as user using ssh between two
machines both running Debian GNU/Linux potato (2.2r3). The local machine
is currently running 2.4.6-1 and the remote 2.3.2-1.2.
1) When I run rsync with the vv option, stuff scrolls of my screen faster
than I can read it. I was wondering if
2008 Aug 06
3
subsetting with column name as string
Hi,
Consider the following
> x = c(1,2)
> y = c(3,4)
> d = data.frame(cbind(x,y))
> d$x
[1] 1 2
> d$"x"
[1] 1 2
>
> foo = function(val)
+ {
+ return(d$val)
+ }
>
> bar = function()
+ {
+ return(d$"x")
+ }
>
> foo("x")
NULL
> bar()
[1] 1 2
I'm a little surprised that R accepts both the form d$x and d$"x", but
2001 Mar 13
1
passing arguments to R CMD SHLIB
Dear People,
I want to run gcc with optimisation turned on (-O2), and with -Wall (all
warnings) enabled, when using R CMD SHLIB. When I do make, which is
R CMD SHLIB -Wall -O2 cftp.c mcmc.c latticefn.c -lm
in this case, I get
faheem ~/research/cftp>make
R CMD SHLIB -Wall -O2 cftp.c mcmc.c latticefn.c -lm
make[1]: Entering directory `/home/faheem/research/cftp'
gcc -I/usr/lib/R/include
2001 Feb 24
5
testing for integer
Dear People,
Consider the following fragment of R code
choose <- function(n,r)
{
if( is.integer(n) && is.integer(r) && n > 0 && r >= 0 )
{
.C("choose",as.double(n),as.double(r),comb = double(1))$comb
}
else stop("n must be a positive integer and r a non-negative integer.")
}
This is a practice function (n choose r), which I
2008 Nov 24
2
web error message
Hi,
I'm getting an error from
http://stat.ethz.ch/R-manual/
linked from http://www.r-project.org/
as follows
**************************************************************************
Forbidden
You don't have permission to access /R-manual/ on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an
ErrorDocument to handle the request.
2003 Mar 16
1
R CMD SHLIB uses foo.c instead of foo.cc if both are present (PR#2644)
Full_Name: Faheem Mitha
Version: 1.6.2
OS: Debian GNU/Linux
Submission from: (NULL) (209.42.199.193)
Suppose you are making a shared library using
R CMD SHLIB foo.cc
If there is a file called foo.c in the same directory, then it will be used
instead.
faheem ~/scratch/r-base>R CMD SHLIB foo.cc
gcc-3.0 -I/usr/lib/R/include -D__NO_MATH_INLINES -mieee-fp -fPIC -g -O2
-c foo.c -o foo.o