pymer4 icon indicating copy to clipboard operation
pymer4 copied to clipboard

Suppressing printing of .fit()

Open mharms opened this issue 1 year ago • 1 comments

It would be nice if there was a option in the Lmer.fit() method to suppress output of all printing. There is a verbose option related to #20, but all it seems to affect is one reported line related to the fitting with Wald confidence intervals.

mharms avatar Dec 01 '23 17:12 mharms

I just stumbled across the .fit(summarize=False) option via the example on this page: http://eshinjolly.com/pymer4/auto_examples/example_03_posthoc.html

While I now see that the summarize option is listed among the more detailed Parameters section in the API reference for the fit method (http://eshinjolly.com/pymer4/api.html), it happens to be the one available option which is not listed in the top level summary of the fit method:

fit(conf_int='Wald', n_boot=500, factors=None, permute=False, ordered=False, verbose=False, REML=True, rank=False, rank_group='', rank_exclude_cols=[], no_warnings=False, control='', old_optimizer=False, **kwargs)

Adding the summarize option into the list of available fit options would be helpful.

mharms avatar Dec 02 '23 00:12 mharms