R/vecFuncMaker.R

vecFuncMaker=function
(
funcs,	
arg1,   
arg2	
)
{
	function(arg1,arg2){
		matrix(byrow=TRUE,
			nrow=length(funcs),
			mapply(
				function(fun){fun(arg1,arg2)},
				funcs
			)
		)
	}
}

Try the SoilR package in your browser

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

SoilR documentation built on Oct. 13, 2023, 5:06 p.m.