Thanks Charles, for clarifying.
My statement holds for matrices, which are 2 dimensional. And, as you
mentioned, a single index implies vector indexing where the drop
argument doesn't make sense. I am somewhat relieved, given this new
understanding.
But I am still puzzled as to why R
. Shouldn't ddply() produce the same ?
Thanks in advance for your help,
- Stuart Andrews
set.seed(1234)
aa = as.data.frame(matrix(rnorm(100)0.3,nrow=20))
names(aa) = c('a','b','c','d','e')
head(aa)
a b c d e
1 FALSE FALSE FALSE TRUE TRUE
2 TRUE TRUE FALSE TRUE FALSE
3 TRUE
-hicky is called.
I'm not sure, but what are you trying to get at by row-wise splitting
`aa` by c('a', 'b', 'c', 'd', 'e') [ie. namaes(aa)]?
Thanks in advance for your help,
- Stuart Andrews
set.seed(1234)
aa = as.data.frame(matrix(rnorm(100)0.3,nrow=20))
names(aa) = c('a','b','c','d','e')
head
keywords: debug, do.call, debugging in, suppress, arguments, list,
screen, console, output
Hi,
I would like to control the output to the console while debugging
functions that are called by do.call( FCN, ARGUMENTS ) when the
arguments are quite large. Is there a simple way to suppress
4 matches
Mail list logo