FunctionSumstatFun
Write a little wrapper that takes a function and wraps it in a SumstatFun object. This will easily allow to use general sumstats. See here for a similar setup.
Write a little wrapper that takes a function and wraps it in a SumstatFun object. This will easily allow to use general sumstats. See here for a similar setup.