AntoineSoetewey / statsandr

A blog on statistics and R aiming at helping academics and professionals working with data to grasp important concepts in statistics and to apply them in R. See www.statsandr.com
http://statsandr.com/
35 stars 15 forks source link

blog/descriptive-statistics-in-r/ #32

Closed utterances-bot closed 3 years ago

utterances-bot commented 3 years ago

Descriptive statistics in R - Stats and R

Learn how to perform a descriptive analysis of your data in R, from simple descriptive statistics to more advanced graphics used to describe your data at hand

https://statsandr.com/blog/descriptive-statistics-in-r/

AntoineSoetewey commented 3 years ago

Comment written by Megan Perry on May 05, 2020 22:49:24:

When using the descr() function in the summarytools package, is it possible to change the order of variables to how they appear in your data frame instead of alphabetical (and if not, is it possible to manually choose the order they appear in the table)?

AntoineSoetewey commented 3 years ago

Comment written by Megan Perry on May 05, 2020 22:49:24:

When using the descr() function in the summarytools package, is it possible to change the order of variables to how they appear in your data frame instead of alphabetical (and if not, is it possible to manually choose the order they appear in the table)?

Comment written by Antoine Soetewey on May 06, 2020 14:59:25:

Dear Megan,

Thanks for your question. From the package vignette and the help, I don't think it's possible to change the order of the variables. 

However, feel free to contact the author of the package. He may be able to help you, and if this is not possible at the moment, he may eventually add this feature. Don't hesitate to let us know his reply!

Best, 
Antoine

AntoineSoetewey commented 3 years ago

Comment written by Gill Gill on September 24, 2020 06:14:52:

Dear Antoine,

I was trying to install {Summarytools} package and I got this notification:  Warning in install.packages : package {Summarytools} is not available (for R version 4.0.2). May be I was making any mistake? I would highly appreciate if you can help me in this turmoil :)

AntoineSoetewey commented 3 years ago

Comment written by Gill Gill on September 24, 2020 06:14:52:

Dear Antoine,

I was trying to install {Summarytools} package and I got this notification:  Warning in install.packages : package {Summarytools} is not available (for R version 4.0.2). May be I was making any mistake? I would highly appreciate if you can help me in this turmoil :)

Comment written by Antoine Soetewey on September 24, 2020 06:48:38:

Dear Gill,

This is weird because my R version is also 4.0.2 and I just tried to install the package, and it works without any problem. Are you sure you installed summarytools (and not Summarytools) with install.packages("summarytools")?

Let me know if this helps.

Regards,
Antoine

AntoineSoetewey commented 3 years ago

Comment written by Gill Gill on September 24, 2020 06:14:52: Dear Antoine, I was trying to install {Summarytools} package and I got this notification:  Warning in install.packages : package {Summarytools} is not available (for R version 4.0.2). May be I was making any mistake? I would highly appreciate if you can help me in this turmoil :)

Comment written by Antoine Soetewey on September 24, 2020 06:48:38:

Dear Gill,

This is weird because my R version is also 4.0.2 and I just tried to install the package, and it works without any problem. Are you sure you installed summarytools (and not Summarytools) with install.packages("summarytools")?

Let me know if this helps.

Regards, Antoine

Comment written by Gill Gill on September 24, 2020 11:08:54:

Dear Antoine,

Thank you for your reply. Yes, I checked that I made a mistake. Its working well now. Thank you very much :)

AntoineSoetewey commented 3 years ago

Comment written by Gill Gill on September 24, 2020 06:14:52: Dear Antoine, I was trying to install {Summarytools} package and I got this notification:  Warning in install.packages : package {Summarytools} is not available (for R version 4.0.2). May be I was making any mistake? I would highly appreciate if you can help me in this turmoil :)

Comment written by Antoine Soetewey on September 24, 2020 06:48:38: Dear Gill, This is weird because my R version is also 4.0.2 and I just tried to install the package, and it works without any problem. Are you sure you installed summarytools (and not Summarytools) with install.packages("summarytools")? Let me know if this helps. Regards, Antoine

Comment written by Gill Gill on September 24, 2020 11:08:54:

Dear Antoine,

Thank you for your reply. Yes, I checked that I made a mistake. Its working well now. Thank you very much :)

Comment written by Antoine Soetewey on September 24, 2020 11:38:25:

You're welcome!