powered by
data.frame
Check object is target class, or object is data.frame fortified from target.
is_derived_from(object, target)
logical
instance to be checked. For data.frame, check whether it is fortified from target class
class name
ggfortify:::is_derived_from(prcomp(iris[-5]), 'prcomp')
Run the code above in your browser using DataLab