On Mar 30, 2010, at 1:41 PM, Dgnn wrote:
Sorry for not supplying some example code for the above example.
Here's an
example list 'a' with histogram elements A, B, and C which are also
lists.
That is not code. That is output. It is not clear how "a" was created
a
$A
$breaks
If you
Sorry for not supplying some example code for the above example. Here's an
example list 'a' with histogram elements A, B, and C which are also lists.
>a
$A
$breaks
[1] -80 -70 -60 -50 -40 -30 -20 -10 0 10 20 30 40 50 60
$counts
[1] 1 0 0 2 29 120 301 433 421 265 93 43 9
Hi David,
Thanks for taking the time to respond to my post. Sorry for not putting an
example in the original, which I've replied to with some code and a more
explicit question.
Jason
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/li
On Mar 30, 2010, at 11:47 AM, Dgnn wrote:
I have what may be a simple/foolish question, but I've done the due
diligence
and looked through pages of posts here as well as several of the
PDFs on the
CRAN site, but haven't been able find what I'm after.
I am working with a list of say 3 his
Hi Jason,
try using comma's instead of colons. eg a[[c(1,6)]], a[[c(3,6)]] etc...
If you use a[[1:3]] this is equivalent to a[[c(1,2,3)]]. As the list only
contains 2 levels, this will give an error or NULL , depending on your R
version.
More info you find by ?"[["
Cheers
Joris
On Tue, Mar 30
I have what may be a simple/foolish question, but I've done the due diligence
and looked through pages of posts here as well as several of the PDFs on the
CRAN site, but haven't been able find what I'm after.
I am working with a list of say 3 histogram objects A, B & C, and each
histogram is a li
6 matches
Mail list logo