ggfortify : Extension to ggplot2 to handle some popular packages - R software...
InstallationLoading ggfortifyPlotting matrixPlotting diagnostics for LM and GLMDiagnostic plots for Linear Models (LM)Diagnostic plots with Generalized Linear Models (GLM)Plotting time seriesPlotting...
View Articleggsave : Save a ggplot - R software and data visualization
print(): print a ggplot to a fileggsave: save the last ggplotInfosprint(): print a ggplot to a fileTo print directly a ggplot to a file, the function print() is used:# Print the plot to a pdf file...
View ArticleBe Awesome in ggplot2: A Practical Guide to be Highly Effective - R software...
Basicsggplot2 is a powerful and a flexible R package, implemented by Hadley Wickham, for producing elegant graphics. The gg in ggplot2 means Grammar of Graphics, a graphic concept which describes plots...
View Articleggplot2 - Essentials
#rdoc .course_material a{font-size:18px;}Introductionggplot2 is a powerful and a flexible R package, implemented by Hadley Wickham, for producing elegant graphics.The concept behind ggplot2 divides...
View ArticleBeautiful dendrogram visualizations in R: 5+ must known methods -...
1 plot.hclust(): R base function2 plot.dendrogram() function3 Phylogenetic trees4 ggdendro package : ggplot2 and dendrogram4.1 Installation and loading4.2 Visualize dendrogram using ggdendrogram()...
View ArticleThe Guide for Clustering Analysis on a Real Data: 4 steps you should know -...
1 Required packages2 Data preparation3 Assessing the clusterability4 Estimate the number of clusters in the data5 Compute k-means clustering6 Cluster validation statistics: Inspect cluster silhouette...
View ArticleModel-Based Clustering - Unsupervised Machine Learning
1 Concept2 Model parameters3 Advantage of model-based clustering4 Example of data5 Mclust(): R function for computing model-based clustering6 Example of cluster analysis using Mclust()7 Infos1...
View ArticleThe Elements of Choosing Colors for Great Data Visualization in R
Understanding color wheelDefining the basics for choosing colorscolortools: R package for creating easily color schemes in RInstall colortoolsLoad colortoolsColor wheelAnalogous color...
View Articleggcorrplot: Visualization of a correlation matrix using ggplot2
ggcorrplot main featuresInstallation and loadingGetting startedCompute a correlation matrixCorrelation matrix visualizationThe easiest way to visualize a correlation matrix in R is to use the package...
View Articlesurvminer R package: Survival Data Analysis and Visualization
survminer - Main featuresInstallation and loadingGetting startedDraw survival curves without groupingDraw survival curves with two groupsBasic plotsChange legend title, labels and positionChange line...
View Articleggplot2 texts : Add text annotations to a graph in R software
Install required packagesCreate some dataText annotations using geom_text and geom_labelChange the text color and size by groupsAdd a text annotation at a particular coordinateannotation_custom : Add a...
View ArticleFast Writing of Data From R to txt|csv Files: readr package
Preleminary tasksInstalling and loading readrreadr functions for writing dataWriting data to a fileSummaryRelated articlesInfosThere are many solutions for writing data from R to txt (i.e., tsv:...
View ArticleWriting Data From R to Excel Files (xls|xlsx)
Preleminary tasksWriting Excel files using xlsx packageInstalling and loading xlsx packageUsing xlsx packageRead moreSummaryRelated articlesInfosPreviously, we described the essentials of R programming...
View ArticleSaving Data into R Data Format: RDS and RDATA
Preleminary tasksSave one object to a fileSave multiple objects to a fileSave your entire workspaceSummaryRelated articlesInfosIn previous articles, we described the essentials of R programming and...
View ArticleAdd a table into a Word document using R software and ReporteRs package
Add a simple tableAdd a formatted tableChange the background colors of rows and columnsChange cell background and text colorsInsert content into a table : header and footer rowsAnalyze, format and...
View ArticleCreate an editable graph from R software
Who is this article for ?What R package to use ?Create editable plotsCase of base graphsCase of graphes generated using ggplot2InfosIn this article youÂ’ll learn how to create an editable vector...
View ArticleCreate and format PowerPoint documents from R software
Why is it important to be able to generate a PowerPoint report from R ?Reason I : Many collaborators works with Microsoft office toolsReason II : keeping beautiful R graphs beautiful for...
View ArticleImport and export data using R
Importing data into RExporting data from RIn the previous chapters we described the essentials of R programming. Here, youÂ’ll learn how to import and export data using R.Importing data into RBest...
View ArticleR Built-in Data Sets
Preleminary tasksList of pre-loaded dataLoading a built-in R dataMost used R built-in data setsmtcars: Motor Trend Car Road TestsirisToothGrowthPlantGrowthUSArrestsSummaryRelated articlesInfosR comes...
View Article