Topics

R

About this topic: Articles tagged __TAG__

Showing 148 articles

Topics

Articles

Showing 148 articles

How-tos How to Change Point Size in Graphs in R This tutorial introduces how to change the size and shape of points in graphs in R. How-tos How to Replace NA With Zero in R In this article, you will learn about two methods to replace NA values in a data frame with zero values. One of them uses the Base R subset reassigns, while the other is included … How-tos How to Clear Memory in R In this tutorial, you will learn how to clear memory taken by the R system without having to restart it or to restart the computer where it runs. How-tos How to Visualize Confusion Matrix Using Caret Package in R This article introduces how to visualize confusion matrix using caret package in R How-tos How to Normalize the Values in Matrix R This article demonstrates how to add a line to normalize the values in matrix R How-tos How to Merge Two Data Frames With Different Number of Rows in R This article introduces how to merge two data frames with different number of rows in R How-tos How to Find Maximum Absolute Values by Row in Data Frame in R This article demonstrates how to find maximum absolute values by row in data frame in R How-tos How to Add Transparent Rectangle to Boxplot in R This article introduces how to add tranparent rectangle to a boxplot in R How-tos How to Add a Line to a Plot With the Lines() Function in R This article demonstrates how to add a line to a plot with the lines() function in R How-tos How to Use grepl to Find Matches for Any Character String in the R Character Vector This article demonstrates how to use grepl find matches for any character string in the R character vector. How-tos How to Split Column Into Two Columns in R This article demonstrates how to split a column into two columns using the separate function in R How-tos How to Remove Duplicate Rows by Column in R This article demonstrates how to remove duplicate rows by column in R How-tos How to Draw Legend Items With Different Colors in R This article introduces how to draw legend items with different colors in R How-tos How to Create Side by Side Boxplots in R This article introduces how to create side by side boxplots in R How-tos How to Create Histogram With ggplot in R This article introduces how to create a histogram with ggplot in R How-tos How to Create Grouped Boxplots in R This article introduces how to create grouped boxplots in R How-tos How to Create Custom Legend With ggplot in R This article introduces how to create custom legend with ggplot in R How-tos How to Remove the First Character From a String in R This article demonstrates three techniques to remove the first character from a string or a vector of strings. It demonstrates the use of the substr function, the sub-function with … How-tos How to Calculate the R-Squared Statistic in R This article shows how to obtain the R-squared statistic in R from the summary of a linear regression model. It also shows how to calculate the R-squared statistic manually, both … How-tos How to Export a Data Frame From R to Microsoft Excel This article shows how to export a data frame from R to Microsoft Excel using the write.csv() function and functions provided by other packages. It also addresses problems that may … How-tos How to Stop Running R Code With the Keyboard or Mouse This article shows how to stop running R code with the keyboard or mouse. How-tos How to Drop Multiple Columns From a Data Frame Using Dplyr This article shows how to drop multiple columns from a data frame using dplyr. The example code demonstrates the use of different selection helper functions and operators to drop … How-tos How to Install R Packages From Source This article shows how to use the install.packages() function to install R packages from source. It points out the two conditions that need to be met for the installation from … How-tos How to Use Vectorized if Function With Multiple Conditions in R This article shows how to use multiple conditions in the vectorized ifelse and if_else functions in creating or updating a column in a data frame. It also draws attention to the …

← All topics