Obtain slots of a sample without using at-mark
## S4 method for signature 'sample' x$name
x
sample object
name
name of the slot
value at selected slot
value