col.p
and col.j
for the following model:
"~col.p+col.j+col.p:col.j"
.interact(donnee,col.p,col.j,firstvar,lastvar=ncol(donnee))
donnee
)col.p
represents the product effect, col.j
represents the panelist effect,
and the variables of interest are the sensory descriptors. The model considered is the following one:
"~Product+Panelist+Product:Panelist"
.
Data must be complete (but not necessarily balanced).aov
data(chocolates)
resinteract=interact(chocolates,col.p=4,col.j=1,firstvar=5)
Run the code above in your browser using DataLab