Dear R users:
I try to model-based recursive partition a dataset (~3,500 records) using the
mob function from the party package (many thanks to Achim Zeileis, Torsten
Hothorn, Kurt Hornik and all other contributors for this wonderful tool). In
this dataset, I have two related categorical varia
Dear R users:
Is there a way to append selectively to components of a list (if possible,
loops are to be avoided)? To illustrate the point, in the example below, I
would like to append 99 to vector b of the list l.
> l <- list(a=c(1), b=c(2,3), c=c(4,5,6))
> l
$a
[1] 1
$b
[1] 2 3
$c
[1] 4 5 6
2 matches
Mail list logo