brackets
fix indexing of value argument checks
handle possible arguments as factors by converting to character (closes #26)
handle possible arguments as factors by converting to character (closes #26)
allow hit.type to be a vector
typo caught on R check