Nothing
#' @importFrom stats coef
#' @method print PlackettLuce
#' @export
print.PlackettLuce <- function(x,
digits = max(3L, getOption("digits") - 3L),
...) {
cat(format_call(x$call), sep = "\n")
cat("\nCoefficients:\n")
print.default(format(coef(x), digits = digits),
print.gap = 2L, quote = FALSE)
invisible(x)
}
format_call <- function(x){
w <- getOption("width") - 6L
string <- deparse(x, width.cutoff = w)
string[1L] <- paste("Call:", string[1L])
# minimum width in deparse is 20
while (w >= 21 & max(nchar(string)) > getOption("width")){
w <- w - 1L
string <- deparse(x, width.cutoff = w)
string[1L] <- paste("Call:", string[1L])
}
string
}
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.