Defines functions predict.rmda

Documented in predict.rmda

predict.rmda <-
# Predict classes for new data
	prms = object$prms
	R = object$R
	P = estep(prms$modelName, X, prms$parameters)$z
	Pfin = P %*% t(R)
	cls = max.col(Pfin)
	res = list(cls=cls,P=Pfin)

Try the robustDA package in your browser

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

robustDA documentation built on May 2, 2019, 6:30 a.m.