Skip to main content
. Author manuscript; available in PMC: 2016 Dec 1.
Published in final edited form as: Psychol Methods. 2015 Sep 21;20(4):444–469. doi: 10.1037/met0000048
answer <- TVEMMixNormal(id=firstWeekCessationData$id,
 time=firstWeekCessationData$timeDays,
 dep=firstWeekCessationData$urge,
 doPlot=TRUE,
 numInteriorKnots=6,
 numClasses=3,
 scov=firstWeekCessationData$relapse3WeeksPost,
 tcov=cbind(1,
  firstWeekCessationData$centeredNegAff),
 numStarts=100,
 useRoughnessPenalty=TRUE,
 getSEs=TRUE);