R/bbase.os.R

Defines functions bbase.os

bbase.os <-
function(x, K, bdeg = 3, eps = 1e-5, intercept = TRUE) {
	
	# Using the function bs
	B <- bs(x, degree = bdeg, df = K + bdeg, intercept = intercept)
	#class(B) <- c("bbase.os", "matrix")
	B
}

Try the AROC package in your browser

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

AROC documentation built on March 18, 2022, 5:22 p.m.