Returns a data frame with entries the means of the products over the sessions for the whole panel and for each panelist.

1 2 | ```
scalebypanelist(matrice, center = TRUE, scale = FALSE, col.p,
col.j, firstvar, lastvar = ncol(matrice), method = "coeff")
``` |

`matrice` |
a data frame made up of at least two qualitative variables
( |

`center` |
boolean, if T scores given by panelists are centered |

`scale` |
boolean, if T scores given by panelists are scaled to unit varaince |

`col.p` |
the position of one categorical variables of interest (the |

`col.j` |
the position of one categorical variables of interest (the |

`firstvar` |
the position of the first endogenous variable |

`lastvar` |
the position of the last endogenous variable (by default the last column of |

`method` |
the method to replace the missing values: "average" or "coeff"
(coefficients of the |

Returns a data frame of dimension (*p*(1+j),k+2*), where *p* is the number
of products, *j* the number of panelists, and *k* the number of sensory
descriptors (the first two variables correspond to the *panelist* and the *product* variables).
This data frame contains the means of the products over the sessions for
the whole panel and for each panelist (data may be scaled to unit variance or not, this
parameter is set by users).

Fran<e7>ois Husson

1 2 3 | ```
data(chocolates)
res=scalebypanelist(sensochoc, col.p = 4, col.j = 1, firstvar = 5)
res
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.