# NOT RUN {
# see all available methods for different classes
methods('xyzmatrix')
# ... and for the assignment method
methods('xyzmatrix<-')
n=Cell07PNs[[1]]
xyzmatrix(n)<-xyzmatrix(n)
stopifnot(isTRUE(
all.equal(xyzmatrix(n),xyzmatrix(Cell07PNs[[1]]))
))
# }
Run the code above in your browser using DataCamp Workspace