| remove_extraneous | R Documentation |
Remove extraneous components from functional dependencies
remove_extraneous(x, reduce_attributes = TRUE)
x |
a |
reduce_attributes |
a logical, TRUE by default. If TRUE,
|
a minimal cover of the original dependencies, i.e. a subset where
those remaining are not implied by the others. If remove_attributes
is TRUE, dependencies in the determinant are removed if the other
dependencies show them to be redundant.
# a -> b and b -> c imply a -> c
x <- functional_dependency(
list(list("a", "b"), list("b", "c"), list("a", "c")),
c("a", "b", "c")
)
remove_extraneous(x)
# a -> b lets us remove b from {a, b} -> c
x <- functional_dependency(
list(list("a", "b"), list(c("a", "b"), "c")),
c("a", "b", "c")
)
remove_extraneous(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.