extfromFit: Auxiliary Function: Extract Elements From Fit Object

Description Usage Arguments Details Value

Description

Auxiliary function: extfromFit will extract elements from a fit object, then return a vector.

Usage

1
extfromFit(fit, element)

Arguments

fit

A fitted object of class inheriting from LRfit or glm.

element

Name character of element to be extracted, can be one of c("term","estimate","std.error","statistic","p.value").

Details

parameter fit can be generated by function LRfit or glm. if element 'term' is extracted, the extracting result already contains '(Intercept)' at the first one, please remember to remove it if you just need variable names.

Value

A vector


xxzcool/scoremodel documentation built on May 4, 2019, 10:56 a.m.