This is a method for
subset() for the case when the input object is a
probability space of class
1 2 3 4
a probability space.
logical expression indicating elements or rows of
further arguments to be passed to or from other methods.
This function simply extends the existing
subset() function to
ps object, a subset of a probability space.
G. Jay Kerns [email protected].
1 2 3 4 5
Loading required package: combinat Attaching package: 'combinat' The following object is masked from 'package:utils': combn Loading required package: fAsianOptions Loading required package: timeDate Loading required package: timeSeries Loading required package: fBasics Loading required package: fOptions Rmetrics Package fOptions Pricing and Evaluating Basic Options Copyright (C) 2005-2014 Rmetrics Association Zurich Educational Software for Financial Engineering and Computational Science Rmetrics is free software and comes with ABSOLUTELY NO WARRANTY. https://www.rmetrics.org --- Mail to: email@example.com Loading required package: hypergeo Loading required package: VGAM Loading required package: stats4 Loading required package: splines Attaching package: 'VGAM' The following object is masked from 'package:hypergeo': is.zero The following object is masked from 'package:fAsianOptions': erf Attaching package: 'prob' The following objects are masked from 'package:base': intersect, setdiff, union $outcomes list() $probs numeric(0) attr(,"class")  "ps" "list" $outcomes $outcomes[] toss1 toss2 1 H H 2 T H 3 H T $outcomes[] toss1 toss2 1 H H 2 T H 4 T T $outcomes[] toss1 toss2 1 H H 3 H T 4 T T $outcomes[] toss1 toss2 2 T H 3 H T 4 T T $probs  0.25 0.25 0.25 0.25 attr(,"class")  "ps" "list"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.