Learn R Programming

tfer (version 1.1)

tprob: Transfer Probabilities

Description

tprob is a generic function which returns the probability distribution of recovered glass fragments.

Usage

tprob(object, x)

Arguments

object

A transfer object.

x

A numeric object.

Value

Returns a numeric vector of glass transfer probabilities given the initial conditions set by the user.

See Also

transfer

Examples

Run this code
# NOT RUN {
library(tfer)

y = transfer()

#Full probability table
tprob(y)

#Probability of recovering 8 glass fragments
tprob(y, 8)
# }

Run the code above in your browser using DataLab