Nothing
## File Name: slca_calc_class_probabilities.R
## File Version: 0.04
slca_calc_class_probabilities <- function( delta, delta.designmatrix )
{
G <- ncol(delta)
pi.k <- matrix(0, nrow=nrow(delta.designmatrix), ncol=G)
for (gg in 1:G){
pi.k[,gg] <- cdm_sumnorm( exp( delta.designmatrix %*% delta[,gg] ) )
}
return(pi.k)
}
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.