This is a synonym for compute_suff_stat
included for historical reasons (deprecated).
compute_ss(X, y, standardize = FALSE)
An n by p matrix of covariates.
An n vector.
Logical flag indicating whether to standardize columns of X to unit variance prior to computing summary data.
A list of sufficient statistics (X'X, X'y, y'y and n)
data(N2finemapping)
ss = compute_ss(N2finemapping$X, N2finemapping$Y[,1])