# simple example
discover_keys(ChickWeight)
# example with spurious key
discover_keys(CO2)
# exclude attributes that can't be determinants.
# in this case, the numeric attributes are now
# not determined by anything, because of repeat measurements
# with no variable to mark them as such.
discover_keys(CO2, exclude_class = "numeric")
# exclude keys spuriously using the measurement attribute
discover_keys(CO2, exclude = "uptake")
Run the code above in your browser using DataLab