attr {statnet.common} | R Documentation |
A wrapper for base::attr which defaults to exact matching.
Description
A wrapper for base::attr which defaults to exact matching.
Usage
attr(x, which, exact = TRUE)
Arguments
x , which , exact |
as in |
Value
as in base::attr
Examples
x <- list()
attr(x, "name") <- 10
base::attr(x, "n")
stopifnot(is.null(attr(x, "n")))
base::attr(x, "n", exact = TRUE)
[Package statnet.common version 4.9.0 Index]