Skip to content
Prev 367314 / 398506 Next

How to stop as.integer removing dimenions

... or:

net1 <- array(0L, dim=c(5,5))

Note the difference between 0 and 0L.


  Gerrit

---------------------------------------------------------------------
Dr. Gerrit Eichner                   Mathematical Institute, Room 212
gerrit.eichner at math.uni-giessen.de   Justus-Liebig-University Giessen
Tel: +49-(0)641-99-32104          Arndtstr. 2, 35392 Giessen, Germany
Fax: +49-(0)641-99-32109            http://www.uni-giessen.de/eichner
---------------------------------------------------------------------

Am 23.02.2017 um 12:49 schrieb Thomas Chesney: