R/transAJ.R

Defines functions transAJ

Documented in transAJ

transAJ <- function(object, s, t, state.names=c("1", "2", "3"), conf=FALSE, n.boot=1000, conf.level=0.95, method.boot="percentile") {
	if ( missing(object) ) {stop("Argument 'object' is missing, with no default");}
	if ( missing(s) ) {s <- 0;}
	if ( missing(t) ) {t <- max(object[[1]]$Stime);}
	Message <- TPStateBootCheck(object, s, t, state.names, conf, n.boot, conf.level, method.boot);
	if ( !is.null(Message) ) {stop(Message);}
	TransAJ(object);
	return( TransMethod(object, s, t, state.names, conf, n.boot, conf.level, method.boot) );
} # transAJ

Try the TPmsm package in your browser

Any scripts or data that you put into this service are public.

TPmsm documentation built on Jan. 14, 2023, 1:17 a.m.