新版本的broom :: tidy和speedglm无法获得p值

问题描述

以下代码来自List<String> listofItems= Arrays.asList("total_amt","purchase_amt","sales_amt"); long count = listofItems.stream.distinct().count(); for(int i = 0; i<count; i++){ String expAttStr = "descendant-or-self::*[contains(@Name,listofItems.get(i)]"; XPathExpression exprForTotalAmt = xpath1.compile(expAttStr); NodeList totalAmtNodeList = (NodeList) exprForTotalAmt.evaluate(schDoc,XPathConstants.NODESET); //some tasks } 。它没有获得正确的p值。 help("tidy.speedglm")的先前版本可以正常工作,但是broom的当前版本(0.7.0)无法正常工作。我想知道这是错误还是什么?谢谢。

broom

Extract substrings from string using FilterXML(v0.3.0)于2020-08-23创建

解决方法

使用扫帚包装尝试summary(fit)