Hi there,
I'm trying to find out the command to stop clipping to plot region in
ggplot.
I have a bar chart (axis flipped) with labels on the bars, but the
labels are clipped at the plot region box.
I know it's possible to turn this off for base and lattice, but how
about ggplot?
1], FUN = function(x) x)
> - attr(*, "class")= chr "by"
>
> c() does not do the same thing as unlist() in general, and it is
> untrue that 'c does not strip class'. What happens in your example
> is that there is a c() method for your class (an
summary:
The function 'by' inconsistently strips class from the data to which
it is applied.
quick reason:
tapply strips class when simplify is set to TRUE (the default) due to
the class stripping behaviour of unlist.
quick answer:
This can be fixed by invoking tapply with simplify=FALSE,
Hi,
How might I use xyplot to plot segments where the segments are in the
input data? (ie a directed acyclic forest).
Here's an example in base graphics:
n = data.frame(id = c(1,2,3,4), parent = c(0,1,2,2), value =
c(5,5.5,7,3), date = c(1,2,3,3.5))
plot(n$date, n$value)
do
not know how to convert 'at' to class "POSIXlt"
(fails)
-Alex
On 5 Feb 2008, at 20:59, Deepayan Sarkar wrote:
> On 2/5/08, Alex Brown <[EMAIL PROTECTED]> wrote:
>> I have encountered the following behaviour in lattice in 2.6.1 (and
>> 2.4.0) which di
you could use the unix function 'script' before invoking the R
interpreter.
example session:
$ script
Script started, file is typescript
[x86_64|[EMAIL PROTECTED]:~]
$ R --quiet --vanilla
> 1:10
[1] 1 2 3 4 5 6 7 8 9 10
> q()
[x86_64|[EMAIL PROTECTED]:~]
$ exit
exit
Script done, file
ls=letters[1:4])),xlim=baseval+c(3,10))
# POSIXct
baseval = as.POSIXct("2007-01-01");
xyplot(1:10 ~ (baseval + 1:10) , scales=list(x=list
(at=baseval+1:4, labels=letters[1:4])),xlim=baseval+c(3,10))
in particular, compare the Date and POSIXct versions
-Alex Brown
from the original at that resolution.
-Alex Brown
On 21 Nov 2007, at 10:24, Thibaut Jombart <[EMAIL PROTECTED]
> wrote:
> Alexy Khrabrov wrote:
>
>> I get tables with millions of rows. For plotting to a screen-size
>> jpg, obviously just about 1000 points are eno
8 matches
Mail list logo