R/toParamIndexes.R

Defines functions `toParamIndexes`

`toParamIndexes` <-
function(m, string) {
	if (is.character(m)) {
		ans= matchIndexes(m, string)
		if (any(is.na(ans))) {
			stop("error: at least one parameter name cannot be found")
		} 
		return (ans)	
	}
	return (m)
}

Try the mlegp package in your browser

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

mlegp documentation built on March 18, 2022, 5:29 p.m.