Get fields from data slot

# S4 method for bayesplay
$(x, name)

Arguments

x

a bayesplay object

name

field name

Value

content of the named field from the data slot