We quite often read and type things like
mxObject(…, dimnames = list(NULL, c("a", "b","c")))
# and
mxExpectationNormal(dimnames = list(c("a", "b","c"), c("a", "b","c")))
Add rownames and colnames parameters to allow:
mxObject(..., colnames = c("a", "b", 'c'))
in place of the harder to read
mxObject(…, dimnames = list(NULL, c("a", "b")))
Would be handy also to interpret a single vector input to dimnames as a list with both entries the same, i.e.:
mxObject(..., dimnames = c('a','b', 'c') )
# would function like:
mxObject(..., dimnames = list(c("a", "b", 'c'), c("a", "b", 'c')))
Best, t
#1
Log in or register to post comments