A generic function for getting the fieldPopInfAnc slot in a S4 object.

fieldPopInfAnc(x)

Arguments

x

a S4 object.

Value

a value from the fieldPopInfAnc slot in the S4 object.

Author

Pascal Belleau, Astrid Deschênes and Alexander Krasnitz

Examples


# Define a dummy class to show usage
setClass("MyClass", slots = list(fieldPopInfAnc="character"))

# Create an instance
obj <- new("MyClass", fieldPopInfAnc="123")

# Call the generic (assuming a method is implemented)
# fieldPopInfAnc(obj)