R's formula notation allows models with no intercept and no predictors. These require special handling internally. is.empty.model() checks whether an object describes an empty model.
R的公式符号允许没有拦截并没有预测模型。这些都需要特殊处理的内部。 is.empty.model()检查对象是否描述了一个空模型。
用法----------Usage----------
is.empty.model(x)
参数----------Arguments----------
参数:x
A terms object or an object with a terms method.
一个terms对象或terms方法的对象的。