Learn R Programming

adoptr (version 0.1.1)

expected: Compute the expectation of a conditional score

Description

By the method expected any ConditionalScore can be integrated over the full -range and returns an IntegralScore. I.e., for a conditional score

the integral is computed.

Usage

expected(s, ...)

# S4 method for ConditionalScore expected(s, ...)

Arguments

s

ConditionalScore

...

further optional arguments

Value

an object of class IntegralScore

Examples

Run this code
# NOT RUN {
# creates power under point mass prior
expected(ConditionalPower(Normal(), PointMassPrior(.3, 1)))

# }

Run the code above in your browser using DataLab