dear r-helpers,
it seems the colors in an automatically generated lattice legend
recycle after the 8th color, even when the user has set e.g.
superpose.symbol$col to be longer than 8. the following example will
illustrate what i mean:
z <- data.frame(x=rep(letters[1:15], each=4), y=rnorm(60),
that works beautifully. thank you, jim!
alejandro
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
dear expeRts,
i would like to merge the data frame entries in a list. for example:
> #input
> myl <- list(q1=data.frame(id=c("Alice", "Bob"), grade=c(90, 49)),
q2=data.frame(id=c("Alice", "Chuck"), grade=c(70, 93)),
q3=data.frame(id=c("Bob", "Chuck"), grade=c(84, 40)))
David,
At the following URI you will find an R package called lmsqreg that
implements LMS quantile regression:
http://www.biostat.harvard.edu/~carey/vcwww_4.html
HTH,
alejandro
On 7/21/05, Crabb, David <[EMAIL PROTECTED]> wrote:
> I am interested in calculating Age-Specific normal reverence in
Adrian,
To prevent coercion to numeric, try:
mydata <- read.table("myfile", colClasses="character")
HTH.
alejandro
On 7/10/05, Adrian Dusa <[EMAIL PROTECTED]> wrote:
> Dear R list,
>
> I have a dataset with a column which should be read as character, like this:
>
> name surname answer
> 1 x
Dear Menghui,
You may consider looking in Luc Devroye's "Non-uniform Random Number
Generation". Despite its title, section XI.3.2 describes how to
generate bivariate uniforms. The book is out of print but Devroye
himself urges you to print it from his scanned PDFs(!):
http://cgm.cs.mcgill.ca/~luc
Dear UseRs,
Could someone explain to me why the default behaviour of rank() is to assign the
largest rank to missing data
> rank(c(3, 1, NA))
[1] 2 1 3
as opposed to what I would hazard would be the expected 2, 1, NA?
Despite consistency being the hobgoblin of little minds, of two
closely rela
Dear R-help readers,
In R 1.8.1 it was easy to print the documentation for recommended packages: go
to the full reference manual (refman.pdf) and print the relevant pages, which
were contiguous. With R 1.9.0 some of those packages (e.g. "ts") have become
part of the "stats" package, and hence thei
Quoting Paul Murrell <[EMAIL PROTECTED]>:
> I haven't figured out exactly what your code is supposed to produce, but
> I suspect that you are calculating colv incorrectly. In your example,
> you get a colv with 5 elements. There are a total of 10 bars plotted
> (some are zero height because th
dear list,
i am having trouble coloring the bars in a barplot. my data have two
groups, which i would like to plot side by side. within each group i
want to sort the observations in decreasing order, like a pareto
chart. the bar colors would relfect the value of a third variable.
below i have gen
Dear R-Helpers,
I would like to read an Excel .xls file via RODBC. I have successfully run
the example in p. 18 of "R Data Import/Export". The problem I am facing is
that Excel's ODBC driver seems to have a limit on the number of
fields/columns (output below). I haven't found any documentation on
"RexBryan" <[EMAIL PROTECTED]> writes:
> I would like to plot and unplot a line to a graph using R's line
> command.This would allow for sequentially trying different plotted
> functions for a visual fit. Is there a way to do this?
you can try re-plotting the line you want to erase in the col
12 matches
Mail list logo