powered by
spam
triplet(x, tri=FALSE)
tri=FALSE
tri=TRUE
x
spam.list
foreign
x <- diag.spam(1:4) x[2,3] <- 5 triplet(x) all.equal( spam(triplet(x, tri=TRUE)), x)
Run the code above in your browser using DataLab