Nothing
##
## INPUT:
## x: output from profile.game
##
## RETURN:
## vector of parameters giving the highest profiled log-likelihood
##
svalsFromProfile <- function(x)
{
x <- do.call(rbind, x)
bestrow <- which.max(x[, 1]) ## highest log-likelihood
xn <- names(x)[-1]
ans <- as.numeric(x[bestrow, ][-1])
names(ans) <- xn
return(ans)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.