components: Generic Components Extraction Function
Description
Function to extract components from an object. If the object is of class ictest or ladle the user can choose if all components
are extracted or only those which were interesting under the null hypothesis.
Usage
components(x, ...)
# S3 method for ictest
components(x, which = "all", ...)
# S3 method for ladle
components(x, which = "all", ...)
Arguments
x
an object which has a components method, like for example an ictest object.
which
for an object of class ictest. If "all", then all components S in the ictest object are extracted. If "k", then only the first k components are extracted,
where the value of k is taken from the ictest object. This is only meaningful if k was at least 1.