tests/regression.R

### regression tests

library(MASS)

contr.sdif(6)
contr.sdif(6, sparse=TRUE)
stopifnot(all(contr.sdif(6) == contr.sdif(6, sparse=TRUE)))

Try the MASS package in your browser

Any scripts or data that you put into this service are public.

MASS documentation built on May 4, 2023, 9:07 a.m.