Skip to content
Prev 307795 / 398503 Next

Loss of dimensions in subsetting arrays

On 12-10-2012, at 11:52, "Markku Karhunen" <markku.karhunen at helsinki.fi> wrote:

            
Use 

B <- A[1,,,drop=FALSE]

Also read the help for [:

?"["

Berend