Displaying 20 results from an estimated 2000 matches similar to: "tick.number in ggplot2?"
2008 Nov 24
0
[R] besselK
[cc'ing to R-devel]
It's moderately obscure to me too, but ...
There are two sets of bessel code in the package, one
in C++ from Chris Bond and the other in FORTRAN from Netlib
(I think). The FORTRAN code is the one that's giving trouble,
you might try just removing the FORTRAN code from the src
directory and trying again.
2009 Jun 08
1
last.warning and Sweave?
Sweave does something clever with warnings, which I have so far been
unable to figure out. There are a couple of threads on the list about
this, but the best in here is a hack to redirect all the output and
stick it back in.
http://www.nabble.com/-R--Sweave-and-warning-messages-td7759353.html#a7759353
2008 Nov 30
1
methods not found inside function?
I am currently attempting to hack the recently
featured profileModels package so that it can
handle models generated by the lme4 (mixed models)
package. I'm getting really confused by different
behavior of summary() before and after loading
the lme4 package, and inside and outside the
profileMethod() function. The basic behavior
is that with lme4 loaded, and "obj" a fitted
object
2008 Dec 07
1
Florida mirror (cran.hostingzero.net) dead?
The CRAN host in Tampa, FL (cran.hostingzero.net)
isn't responding, and hasn't responded in quite a while --
at least problems were reported more than a year ago
(Oct 2007)
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/116706.html
although someone apparently succeeded in July 2008
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/137451.html
Perhaps it's just flaky, and not
2009 Jan 04
0
proposed patch to Uniform.Rd
In the wake of discussions about documentation of R's
random number generation (and whether there should be links
to .Random.seed in other places), here is a proposed patch
to Uniform.Rd from 2.8.1. (Watch out for line breaks.)
[R-core may choose not to accept this, but at least it's
easy if they want it.]
cheers
Ben Bolker
*** Uniform.Rd.orig 2009-01-04 14:10:47.000000000 -0500
2009 Nov 03
2
design matrix construction question
with the following simple data frame
dd = structure(list(z = structure(c(1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L
), .Label = c("a", "b"), class = "factor"), x = c(0.3, 0.2, 0.1,
0, 0, 0, 0.2, 0.3)), .Names = c("z", "x"), row.names = c(NA,
-8L), class = "data.frame")
I would like know if it's possible to use model.matrix()
to construct the
2009 Aug 17
2
unnecessary braces?
the version 2 parser thinks I have unnecessary braces,
but I can't find any. False positive or am I missing
something? If a false positive, is there any way to
work around the warning?
* checking Rd files against version 2 parser ... WARNING
Warning: ./man/dbetabinom.Rd:32-34: Unnecessary braces at ?{p(x) = %
(C(N,x)*Beta(N-x+theta*(1-p),x+theta*p))/%
Beta(theta*(1-p),theta*p)}?
2008 Dec 04
1
rgl.snapshot() on Vista
Dear Daniel (and Duncan):
back in January you reported that you were having trouble saving an rgl
movie on Vista. I don't know if you ever got that resolved, but a
student of mine is now having a similar problem, not specific to dynamic
graphics (which would have to be a problem outside of rgl anyway). He
may report more on the symptoms, but essentially rgl.snapshot produces
black or funky
2010 Jan 03
0
[R-sig-eco] How to create axes in arbitrary positions?
Dear Zongshan Li,
I'm forwarding this back to r-help ... it's generally best to keep the
conversation going in public, so that (a) other people can chime in with
ideas and suggestions, (b) your question doesn't get lost if the
original respondent doesn't have time to deal with it, (c) the answers
are archived for future reference.
Your example (I've attached it, hope it
2009 Aug 10
1
model.matrix evaluation challenges
I am having difficulty with evaluation/environment construction
for a formula to be evaluated by model.matrix(). Basically, I
want to construct a model matrix that first looks in "newdata"
for the values of the model parameters, then in "object at data".
Here's what I've tried:
1. model.matrix(~f,data=c(newdata,object at data)) -- fails because
something (terms()?)
2009 Jun 06
1
Reduce: extra args wishlist?
Is there a reason that Reduce() doesn't take a "..." argument that
would allow arbitrary extra arguments to be passed through to the function?
Here is a little example of how this would be convenient:
z <- list(
data.frame(state=c("California"),
cases=0),
data.frame(state=c("California","Massachusetts"),
2009 Oct 15
2
forwarded: bug (?) in cut.POSIXt with "breaks"=integer
From: Vitalie S. <vitosmail <at> rambler.ru>
Subject: Bug in cut.POSIXt
Newsgroups: gmane.comp.lang.r.general
Date: 2009-10-15 15:47:48 GMT (1 hour and 29 minutes ago)
Hello Everyone,
Before reporting decided to post here first:
tt <- structure(c(1254238817, 1254238859, 1254238969, 1254239080), class =
c("POSIXt",
2009 Apr 23
1
ggplot2/aesthetic plotting advice
Consider the following situation:
we have quantified algal concentrations for
a variety of species using many samples at each
of three years. It seems to make sense to generate
a line plot (matplot-like), with each species plotted
as a separate line, with the points connected to emphasize
the temporal pattern.
The problem: lots of overlapping error bars.
The question: from both a
2009 Dec 22
0
ggplot2 version 0.8.5
ggplot2 ------------------------------------------------------------
ggplot2 is a plotting system for R, based on the grammar of graphics,
which tries to take the good parts of base and lattice graphics and
avoid bad parts. It takes care of many of the fiddly details
that make plotting a hassle (like drawing legends) as well as
providing a powerful model of graphics that makes it easy to produce
2009 Dec 22
0
ggplot2 version 0.8.5
ggplot2 ------------------------------------------------------------
ggplot2 is a plotting system for R, based on the grammar of graphics,
which tries to take the good parts of base and lattice graphics and
avoid bad parts. It takes care of many of the fiddly details
that make plotting a hassle (like drawing legends) as well as
providing a powerful model of graphics that makes it easy to produce
2010 Nov 09
1
ggplot2: facet_grid with different vertical lines on each facet
Hello,
I am plotting many histograms together using facet_grid in ggplot2. However,
I want to then add a vertical line to each histogram, or facet, each of
which vertical lines are at different x-values.
The following example adds all vertical lines to each facet:
ggplot(data,aes(values)) + geom_histogram() + facet_grid(.~variable) +
geom_vline(xintercept=c(5,10,15))
How can I add a vertical
2011 Jun 11
0
problems with geom_vline, histograms, scale=free and facets in ggplot
Dear list,
I?m having a little trouble with adding vertical lines to a histogram.
I need to draw a matrix of histograms (using facets), and in each
histogram add a vertical line indicating the mean value of the data in
each facet. According to the last example in the geom_hline help, to
display different lines in each facet I need to provide a data frame.
I modified this example to make a plot
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
2009 Feb 12
3
proposed simulate.glm method
I have found the "simulate" method (incorporated
in some packages) very handy. As far as I can tell the
only class for which simulate is actually implemented
in base R is lm ... this is actually a little dangerous
for a naive user who might be tempted to try
simulate(X) where X is a glm fit instead, because
it defaults to simulate.lm (since glm inherits from
the lm class), and the
2012 Feb 11
0
How to solve long tick labels (axis.text.x)
Hi, all,
I am a newbie for [r].
I am currently trying to learn this example.
/http://learnr.wordpress.com/2009/03/17/ggplot2-barplots//
/http://learnr.wordpress.com/2009/03/17/ggplot2-barplots/ /
After I made a drawing
/c <- b + facet_grid(Region ~ .) + opts(legend.position = "none") /
If I want to make the axis.text.x (I don't want to mix with axis labels, so
I type