Nothing
#' Function to apply residual method to rpsftm objects
#'
#' @title residual() method for rpsftm objects
#' @name residuals.rpsftm
#' @export
#' @inheritParams summary.rpsftm
#' @return a residuals object.
#' @seealso \code{\link[stats]{residuals}} \code{\link[survival]{residuals.coxph}} \code{\link[survival]{residuals.survreg}}
#' @author Simon Bond
#' @importFrom stats residuals
residuals.rpsftm <- function(object, ...){
object <- attr( object$ans$f.root, "fit")
residuals(object, ...=...)
}
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.