residuals: Extract model residuals

Description Usage Arguments Value See Also Examples

Description

residuals is a generic function which extracts model residuals from objects returned by modeling functions.

NOTE: This man page is for the residuals S4 generic function defined in the BiocGenerics package. See ?stats::residuals for the default method (defined in the stats package). Bioconductor packages can define specific methods for objects not supported by the default method.

Usage

1
residuals(object, ...)

Arguments

object, ...

See ?stats::residuals.

Value

Residuals extracted from the object object.

See Also

Examples

1
2
3
residuals
showMethods("residuals")
selectMethod("residuals", "ANY")  # the default method

Example output

Loading required package: parallel

Attaching package: 'BiocGenerics'

The following objects are masked from 'package:parallel':

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB

The following objects are masked from 'package:stats':

    IQR, mad, sd, var, xtabs

The following objects are masked from 'package:base':

    Filter, Find, Map, Position, Reduce, anyDuplicated, append,
    as.data.frame, cbind, colMeans, colSums, colnames, do.call,
    duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
    lapply, lengths, mapply, match, mget, order, paste, pmax, pmax.int,
    pmin, pmin.int, rank, rbind, rowMeans, rowSums, rownames, sapply,
    setdiff, sort, table, tapply, union, unique, unsplit, which,
    which.max, which.min

standardGeneric for "residuals" defined from package "stats"

function (object, ...) 
standardGeneric("residuals")
<environment: 0x3c9f000>
Methods may be defined for arguments: object
Use  showMethods("residuals")  for currently available ones.
Function: residuals (package stats)
object="ANY"

Method Definition (Class "derivedDefaultMethod"):

function (object, ...) 
UseMethod("residuals")
<bytecode: 0x3cf1178>
<environment: namespace:stats>

Signatures:
        object
target  "ANY" 
defined "ANY" 

BiocGenerics documentation built on April 17, 2021, 6:01 p.m.