profile.Rd
Given a support function, return a profile likelihood curve
profsupp(H, i, p, relative=TRUE, ...)
profile_support_single(H, i, p, evaluate=FALSE, ...)
hyper2 object
Name of player for which profile support is to be calculated
Strength of element i
Boolean, with default FALSE
meaning to return
the maximal support for p_i=p
and TRUE
meaning to
return the evaluate
Boolean; if TRUE
(default), return the support
relative to the maximum support attained; if false, return the
support as returned by profile_support_single()
.
Arguments passed to maxp()
Returns the support at a particular value of \(p_i\), or the evaluate conditional on \(p_i\).
if (FALSE) # takes too long
p <- seq(from=0.5,to=0.4,len=10)
u <- profsupp(icons,"NB",p)
#> Error: object 'p' not found
plot(p,u-max(u))
#> Error: object 'p' not found
abline(h=c(0,-2))
#> Error in int_abline(a = a, b = b, h = h, v = v, untf = untf, ...): plot.new has not been called yet
# \dontrun{}