R : data.table average by group provide different results when using mean() and sum()/.N
R : data.table average by group provide different results when using mean() and sum()/.N
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"
As I promised, I have a secret feature to share with you.
This is a YouTube's feature which works on Desktop.
First, Make sure this video is playing.
Next, enter the letters 'awesome' on your keyboard.
It will change your youtube progress bar into a flashing rainbow.
An introduction to myself in a few words,
Hi there, I go by the name of Delphi.
Allow me to support you in answering your questions.
R : data.table average by group provide different results when using mean() and sum()/.N
Don't hesitate to ask me more detailed questions by commenting or starting a chat.
Please feel free to share your answer or insights on the answer by leaving a comment below.
A 'heart' from me will be given to show my gratitude for your contribution.
when R different results : average provide sum()/.N and using mean() by group data.table