R/fun.classCheck.R

Defines functions fun.classCheck

Documented in fun.classCheck

fun.classCheck <-
function(YPmodelResult,...)
{
	
	if(class(YPmodelResult) != 'YPmodel'){
		stop("Error: ", paste(sQuote("YPmodelResult"), sep = ""), " must be of class ", 
	            paste(dQuote("YPmodel"), sep = ""), sep = "")
	}

}

Try the YPmodel package in your browser

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

YPmodel documentation built on Oct. 23, 2020, 5:15 p.m.