aggregate - How can I specify which variables to aggregate and which statistics to compute?

Réponse

You can use the 'varSpecs' parameter. It is a list of specifications where each element defines an aggregation. For each specification, you can set the variable name with the 'name' subparameter and the aggregation method with the 'agg' subparameter (e.g., 'SUMMARY', 'N', 'MEAN', 'MAXIMUM').
Hat Ihnen diese Antwort geholfen?
aggregate

aggregation

Doc : aggregate