Topics

R

About this topic: Articles tagged __TAG__

Showing 148 articles

Topics

Articles

Showing 148 articles

How-tos How to Inverse a Matrix in R This tutorial demonstrates how to find the inverse of a matrix in R. How-tos How to Increase the Memory for R Processes This tutorial demonstrates how to increase memory in R. How-tos How to Create Combinations and Permutations of Vectors in R This article demonstrates how to use R to make vector combinations and permutations, as well as how to count the amount of combinations and permutations. It demonstrates one method … How-tos How to Test Hypothesis in R This article shows how to test hypotheses about sample statistics in R. It illustrates the syntax of the tests using different options of the t test and the Wilcoxon test as … How-tos How to Perform Normal Distribution in R This tutorial demonstrates how to perform and plot normal distribution in R. How-tos How to Perform Lasso Regression in R This tutorial demonstrates how to perform lasso regression in R. How-tos How to Create a 3D Perspective Plot in R This article shows using persp() function in R to create 3D perspective plots of a surface over the xy plane in R. It first explains the format of the arguments of the function and … How-tos How to Delete Multiple Columns in R This tutorial demonstrates how to delete multiple columns in R. How-tos How to Use the %*% Operator in R With simple examples, this article illustrates how to use the %*% operator in R to multiply two conformable matrices or to get the dot product of vectors of equal length. How-tos How to Perform Piecewise Regression in R This tutorial demonstrates how to perform piecewise regression in R. How-tos How to Paste Strings Without Spaces in R Using strings, vectors and a data frame for demonstration, this article shows how to remove spaces that are added when merging/concatenating strings, how to remove leading and … How-tos How to Filter a Data Frame With Multiple Conditions in R This article shows how to filter the rows of a data frame using multiple conditions. It shows how to combine multiple conditions using Boolean operators, and how to control the … How-tos How to Create a Random Matrix With Constant Row Sums in R In this article, we will see how to create a matrix with randomly chosen non-negative values in each row such that the row sum is constant for all rows. How-tos How to Use the Predict Function on a Linear Regression Model in R In this article we will learn how to correctly use R's predict function on a linear regression model. In particular, we will see that the function expects the input to be in a … How-tos How to Include a Local Image File in an R Presentation In this article, we will learn how to insert a local image file in an R presentation easily, and also how to align and size it using CSS. How-tos How to Identify R Object Properties In this article we will look at functions that help us identify the objects that we work with in R. Using functions such as str(), class(), typeof(), is.___() and attributes(), we … How-tos How to Size Plots in Beamer Slides Made Using R Markdown In this article, we will see how to create plots of the desired size in a Beamer presentation PDF file created using R Markdown. We will use the R Markdown package to create the … How-tos How to Locate R Script and Data Files Without Changing the Working Directory This article shows how to combine an R Studio Project, the here package and the file.path() function to enable R to locate script and data files needed for the project without … How-tos How to Check for Missing Values Using a Boolean Operator in R This article shows why we may get the missing value where TRUE/FALSE needed error when using a Boolean condition in R, and then shows what we need to do to avoid that error. How-tos $ Operator Is Invalid for Atomic Vectors Error in R In this article we will learn how to extract elements of a vector using the extract operators or the getElement function. In particular, we will also see why the $ operator does … How-tos R Cannot Allocate Vector of Size This tutorial demonstrates the error r cannot allocate vector of size. How-tos The table() Function in R This tutorial demonstrates how to use the table() function in R. How-tos Contingency Table in R This article shows how to create a contingency table in R. How-tos T Distribution in R This tutorial demonstrates how to perform t-distribution in R.

← All topics