weights
A vector of probability weights to assign to each face of the coin; if unspecified, it defaults to a fair coin with equally likely faces. If specified, its lenght must obviously be a vector of length two whose values sum up to 1.
getExact
A vector containing values to be matched exactly, namely the function returns only those combinations containing all the above mentioned variables. Since this is a coin flip, values must be specified in the form c("H", "H", "T")
as head and tails (make sure to provide the labels in quotation marks).