R/fun.errorMessage.R

Defines functions fun.errorMessage

Documented in fun.errorMessage

fun.errorMessage <-
function(type)
{
	if(type=='DataSet'){
		txt <- "The data sets was not specificated."
	}

	if(type=='DataLength'){
		txt <- "The length of data must be set."
	}


	if(type=='DefaultParameter'){
		txt <- "Parameters are not specificated, using the default one."
	}

	return(txt)

}
junlongsun/YPmodel documentation built on Oct. 25, 2020, 2:26 a.m.