Make predictions based on a trac fit

predict_trac(fit, new_Z)

Arguments

fit

output of the function trac

new_Z

a new data matrix (see Z from trac)

Value

a vector of nrow(new_Z) predictions.