R/print.clogitL1.R

print.clogitL1 = function (x, digits = 6, ...){
	# prints a summary of the regularisation path of a clogitL1 object
	#	output:
	#		- 3 column matrix containing: non-zero beta, %deviance explained, lambda

	out = data.frame(Df=x$nz_beta, DevPerc=round(x$dev_perc, digits), Lambda=round(x$lambda, digits))
	print(out, ...)
}

Try the clogitL1 package in your browser

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

clogitL1 documentation built on May 2, 2019, 3 p.m.