Nothing
rRandomLabelingM <- function(
X,
CheckArguments = TRUE) {
if (CheckArguments) {
CheckdbmssArguments()
}
if (inherits(X, "Dtable")) {
# Dtable case
# Randomize marks
marks(X)$PointType <- sample(marks(X)$PointType)
return(X)
} else {
# wmppp case
# Randomize marks
RandomizedX <- rlabel(X)
# Restore weights
marks(RandomizedX)$PointWeight <- marks(X)$PointWeight
class(RandomizedX) <- c("wmppp", "ppp")
return(RandomizedX)
}
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.