Displaying 2 results from an estimated 2 matches for "10_24".
Did you mean:
1024
2008 May 14
1
lattice: left-aligned text in strips?
[adapted repost of question
http://tolstoy.newcastle.edu.au/R/e4/help/08/03/6260.html]
Dear R community,
by default, text in the strips of a trellis plot is centered in the
strip.
Is there a way to have the text left-aligned?
For example:
library(lattice)
test <- data.frame(x=rnorm(100), y=rnorm(100), a=rep(c("A: centered
text","B: centered text"),50))
xyplot(y ~ x | a,
2007 Jun 24
2
matlab/gauss code in R
...s, cs, count, keep = cs > count)
>
> > semi2
> echo muga quant s cs count keep
> 1 10 20 0 10_20 1 0 TRUE
> 2 10 20 0 10_20 2 0 TRUE
> 3 10 21 0 10_21 1 1 FALSE
> 4 10 21 0 10_21 2 1 TRUE
> 5 10 24 0 10_24 1 0 TRUE
> 6 10 25 0 10_25 1 2 FALSE
> 7 10 25 0 10_25 2 2 FALSE
> 8 10 25 0 10_25 3 2 TRUE
>
>
> My code is not very readable...
> Yet, the 'trick' of using an helper function like 'cumcount' might be
> instructi...