Description Usage Arguments Value Examples
These functions allow you to extract slots from objects of the
class linearFilter
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | alpha(x)
na_removed(x)
## S3 method for class 'linearFilter'
mean(x, ...)
## S4 method for signature 'linearFilter'
mean(x, ...)
## S4 method for signature 'linearFilter'
colMeans(x)
## S4 method for signature 'linearFilter'
rowMeans(x)
## S4 method for signature 'linearFilter'
alpha(x)
## S4 method for signature 'linearFilter'
na_removed(x)
|
x |
a |
... |
arguments passed to or from other methods. |
for mean
: the mean of the original matrix
for colMeans
: a numeric vector with the column means
for rowMeans
: a numeric vector with the row means
for alpha
: a numeric vector of length 4 with the alpha
values.
for na_removed
: a logical value indicating whether
missing values were removed prior to the fitting of the filter.
1 2 3 4 5 6 | data(drugtarget)
lf <- linear_filter(drugTargetInteraction, alpha = 0.25)
alpha(lf)
mean(lf)
colMeans(lf)
na_removed(lf)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.