R/Lpatternmat.R

Defines functions Lpatternmat

# matrix of all likert patterns
Lpatternmat<-function(datrng,nobj)
{
      Lpatt<-all_patterns(datrng[1],datrng[2],nobj) # for ordinal models only
      diffs<- diffsred(Lpatt,nobj)
      diffs<-unique(diffs)
      diffs
}

Try the prefmod package in your browser

Any scripts or data that you put into this service are public.

prefmod documentation built on Sept. 30, 2023, 5:06 p.m.