pspline_checker
checks to see if all the inputs associated
for P-spines are properly defined.
pspline_checker(family, link, bdeg, pord, nseg, lambda, ridge_adj, wts)
same as inputs, with warnings if required.
the response distribution, e.g. "gaussian", "binomial", "poisson", "Gamma"
distribution. Quotes are needed.
the link function, one of "identity"
, "log"
, "sqrt"
,
"logit"
, "probit"
, "cloglog"
, "loglog"
, "reciprocal"
;
the degree of B-splines.
the order of the penalty.
the number of evenly-spaced B-spline segmements.
the positive tuning parameter for the difference penalty.
the positive tuning parameter for the ridge penalty.
the weight vector, separate from GLM weights.