Closed joethorley closed 4 years ago
library(term) dims(as_term(c("x[2]", "b[1,3,5]", "x"))) #> [1] 3 dims(as_term_rcrd(c("x[2]", "b[1,3,5]", "x"))) #> [1] 3 2
Created on 2020-07-13 by the reprex package (v0.3.0)
A related question is should a term_rcrd object be treated as a vector or a data frame?
Created on 2020-07-13 by the reprex package (v0.3.0)