powered by
Test whether each term is a scalar.
scalar_term(x)
A logical vector indicating whether the term is a scalar.
The object.
scalar_term(term("alpha[1]", "alpha[3]", "beta[1]", "sigma[3]")) scalar_term(term("alpha[1]", NA_term_, "beta[1]", "beta[3]"))
Run the code above in your browser using DataLab