constructor_screencoef {spareg} | R Documentation |
Constructor function for building 'screencoef'
objects
Description
The created function will return a object of class 'screencoef'
which
constitutes of a list. The attributes of the generating object will include by
default type
, which can take one of two values "prob"
(indicating
probabilistic screening should be employed),
"fixed"
(indicating that the top nscreen
variables should be employed).
Usage
constructor_screencoef(name, generate_fun)
Arguments
name |
character |
generate_fun |
function for generating the screening coefficient. This
function should have arguments and |
Details
Creates an object class 'screencoef'
using arguments passed by user.
Value
a function which in turn creates an object of class 'screencoef'
[Package spareg version 1.0.0 Index]