powered by
Get Helmert Coding of column j of group with length of unique values (count-1)
getHelmert(x, j, count = NULL)
A numeric vector
a numeric vector
column no
length unique values of group minus 1
x=c(1:4,4:2,2,3,5) getHelmert(x,1) getHelmert(mtcars$cyl,1)
Run the code above in your browser using DataLab