R/Objt.SOE.R

"Objt.SOE"<-
function(vecx, cm,n,P,C=1){
								N <- n
								NC <- nrow(cm)
								X <- matrix(vecx,nrow=N,ncol=P)
								tmpD <- make.distmat(X)
								.C("SOEobjt",
									arg1 = as.double(tmpD),
									arg2 = as.integer(cm),
									arg3 = as.double( C ),
									arg4 = as.integer(N),
									arg5 = as.integer(NC),
									arg6 = as.double(0)
								)$arg6
							}

Try the loe package in your browser

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

loe documentation built on May 2, 2019, 3:28 a.m.