View source: R/loglikelihood.r
loglikStatic | R Documentation |
Convert a factor with numeric levels to a non-factor
loglikStatic( Y, w, omegaRho = 0, omegaVar = 0, omegaTrd = 0, density = "normal", df = NULL, result = "loglik", kernel = "epanechnikov" )
x |
A vector containing a factor with numeric levels |
The input factor made a numeric vector
x <- factor(c(3, 4, 9, 4, 9), levels=c(3,4,9)) fac2num(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.