Closed aoles closed 7 years ago
The object returned by abind should be of the same class as inputs. The following should evaluate to TRUE.
abind
TRUE
ImageSubclass <- setClass ("ImageSubclass", contains = "Image", slots = c(foo = "character")) x <- ImageSubclass(Image(), foo="bar") identical( class(combine(x, x)), class(abind(x, x)) ) ## FALSE
The object returned by
abind
should be of the same class as inputs. The following should evaluate toTRUE
.