powered by
Converts the glcStruct in ‘new’ format to ‘old’ format whereby a vector of angle is converted to coeffs.
angle
coeffs
new2old_par(x)angle2cart(angle)
angle2cart(angle)
object of class glcStruct.
glcStruct
vector.
For new2old_par, object of class glcStruct.
new2old_par
For angle2cart, vector.
angle2cart
Alfonso-Reese, L. A. (2006) General recognition theory of categorization: A MATLAB toolbox. Behavior Research Methods, 38, 579-583.
old2new_par cart2angle glcStruct
old2new_par
cart2angle
# NOT RUN { m <- list(c(187, 142), c(213.4, 97.7)) covs <- diag(c(625, 625)) foo <- ldb(means=m, covs=covs) bar <- old2new_par(foo) new2old_par(bar) angle2cart(bar$angle) # }
Run the code above in your browser using DataLab