Topics

R Function

About this topic: Articles tagged __TAG__

Showing 12 articles

Topics

Articles

Showing 12 articles

How-tos How to Use the Source Function to Run Another R Script Learn how to use base R's source() to run a main script from a wrapper, choose absolute or relative paths, and use chdir so the main script can find resources beside it or in … How-tos The table() Function in R Learn to use table() and prop.table() in R to count categories, calculate proportions, and summarize combinations of two variables. How-tos The replicate() Function in R This tutorial introduces the uses of the replicate() function in R. How-tos How to Apply Function With Multiple Arguments in R Learn how to pass fixed and parallel arguments to R apply-family functions, including apply, mapply, and Map, with examples for matrix margins, list elements, and corresponding … How-tos paste0() Function in R This comprehensive tutorial explores the paste0() function in R, detailing its usage for string concatenation without separators. Learn how to effectively use paste0() with … How-tos How to Sort Data Frame by Column in R This tutorial demonstrates how to sort data frame by column in R. How-tos How to Perform Time Series Analysis and Forecasts in R This article introduces the functions in base R that facilitate time series analysis and forecasts. The reader must be familiar with the statistical and mathematical aspects of … How-tos How to Implement the Train() Function in R This tutorial demonstrates how to implement and use the train function in R. How-tos How to Use the if and if...else Statements in R This article describes the syntax of if and if-else constructs of R, emphasizing the peculiarities. The code examples illustrate all the points provided. How-tos How to Use the group_by Function in R Dplyr This article shows how to use the group_by() function from R's dplyr package to group rows for data analysis. It shows how we can combine group_by() with the summarize() or … How-tos The fread() Function in R This tutorial demonstrates how to use fread function in R. How-tos How to Omit NA in R This tutorial demonstrates how to remove unnecessary NA values using na.omit() in R.

← All topics