profile | R Documentation |
Given a support function, return a profile likelihood curve
profsupp(H, i, p, relative=TRUE, ...)
profile_support_single(H, i, p, evaluate=FALSE, ...)
H |
hyper2 object |
i |
Name of player for which profile support is to be calculated |
p |
Strength of element |
evaluate |
Boolean, with default |
relative |
Boolean; if |
... |
Arguments passed to |
Returns the support at a particular value of p_i
, or the
evaluate conditional on p_i
.
Robin K. S. Hankin
loglik
## Not run: # takes too long
p <- seq(from=0.5,to=0.4,len=10)
u <- profsupp(icons,"NB",p)
plot(p,u-max(u))
abline(h=c(0,-2))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.