The R code tosscoin(times=3) returns an object of the data. frame class. However, a probabilist is familiar

Question:

The R code tosscoin(times=3) returns an object of the data. frame class. However, a probabilist is familiar if the sample space is neatly written out as Ω = {H, T} or Ω = {HH, HT, TH, TT}. Use the paste function to convert the data. frame object into χ elements such as H, HT,HHH, and so on, for any number of coin tosses.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

A Course In Statistics With R

ISBN: 9781119152729

1st Edition

Authors: Prabhanjan N. Tattar, Suresh Ramaiah, B. G. Manjunath

Question Posted: