add median method to the ordinal variable
change to pass the R CMD check
update the vignette