Articles by Jim

How to convert characters from upper to lower case in R?

July 28, 2022 | Jim

The post How to convert characters from upper to lower case in R? appeared first on Data Science Tutorials How to convert characters from upper to lower case in R?. This article discusses how to change a character’s case in R from upper to lower and vice versa. Will ... [Read more...]

How to Standardize Data in R?

July 27, 2022 | Jim

The post How to Standardize Data in R? appeared first on Data Science Tutorials How to Standardize Data in R?, A dataset must be scaled so that the mean value is 0 and the standard deviation is 1, which is known as standardization. The z-score standardization, which scales numbers using the following ... [Read more...]

How to Create an Interaction Plot in R?

July 27, 2022 | Jim

The post How to Create an Interaction Plot in R? appeared first on Data Science Tutorials How to Create an Interaction Plot in R?, To find out if the means of three or more independent groups that have been divided based on two factors differ, a two-way ANOVA is performed. ...
[Read more...]

How to Create Summary Tables in R

July 26, 2022 | Jim

The post How to Create Summary Tables in R appeared first on Data Science Tutorials How to Create Summary Tables in R?, The describe() and describeBy() methods from the psych package is the simplest to use for creating summary tables in R. How to apply a transformation to multiple columns ... [Read more...]

Convert multiple columns into a single column-tidyr Part4

July 21, 2022 | Jim

The post Convert multiple columns into a single column-tidyr Part4 appeared first on Data Science Tutorials Convert multiple columns into a single column, To combine numerous data frame columns into one column, use the union() function from the tidyr package. Convert multiple columns into a single column The basic syntax ... [Read more...]

Separate a data frame column into multiple columns-tidyr Part3

July 20, 2022 | Jim

The post Separate a data frame column into multiple columns-tidyr Part3 appeared first on Data Science Tutorials Separate a data frame column into multiple columns, To divide a data frame column into numerous columns, use the separate() function from the tidyr package. How to Use Gather Function in R?-tidyr ... [Read more...]

How to Use Gather Function in R?-tidyr Part2

July 19, 2022 | Jim

The post How to Use Gather Function in R?-tidyr Part2 appeared first on Data Science Tutorials How to Use Gather Function in R?, To “collect” a key-value pair across many columns, use the gather() function from the tidyr package. The basic syntax used by this function is as follows. ... [Read more...]

How to Use Spread Function in R?-tidyr Part1

July 18, 2022 | Jim

The post How to Use Spread Function in R?-tidyr Part1 appeared first on Data Science Tutorials How to Use Spread Function in R, To “spread” a key-value pair across multiple columns, use the spread() method from the tidyr package. The basic syntax used by this function is as follows. ... [Read more...]

How to apply a transformation to multiple columns in R?

July 16, 2022 | Jim

The post How to apply a transformation to multiple columns in R? appeared first on Data Science Tutorials How to apply a transformation to multiple columns in R?, To apply a transformation to many columns, use R’s across() function from the dplyr package. How to apply a transformation to ... [Read more...]

Best Books to learn Tensorflow

July 15, 2022 | Jim

The post Best Books to learn Tensorflow appeared first on Data Science Tutorials Best Books to learn Tensorflow, Are you interested in learning Tensorflow and searching for the best resources to do so? If so, you are in the proper location. We compiled a comprehensive list of the top Tensorflow ... [Read more...]

A Side-by-Side Boxplot in R: How to Do It

July 15, 2022 | Jim

The post A Side-by-Side Boxplot in R: How to Do It appeared first on Data Science Tutorials A Side-by-Side Boxplot in R, when a data point or dataset is displayed as a graph, such as a vertical or horizontal boxplot, rather than as a list of numbers, it is frequently ...
[Read more...]

How to change the column positions in R?

July 15, 2022 | Jim

The post How to change the column positions in R? appeared first on Data Science Tutorials How to change the column positions in R, you can rearrange the columns in a data frame by using the relocate() function from the dplyr package. The following techniques can be used to alter ... [Read more...]

Subset rows based on their integer locations-slice in R

July 14, 2022 | Jim

The post Subset rows based on their integer locations-slice in R appeared first on Data Science Tutorials Subset rows based on their integer locations, R has the slice() function, which allows you to subset rows according to their integer places. Statistical test assumptions and requirements – Data Science Tutorials The following ... [Read more...]

How to do Conditional Mutate in R?

July 13, 2022 | Jim

The post How to do Conditional Mutate in R? appeared first on Data Science Tutorials How to do Conditional Mutate in R, It’s common to wish to add a new variable based on a condition to an existing data frame. The mutate() and case when() functions from the dplyr ... [Read more...]

Random Forest Machine Learning Introduction

July 12, 2022 | Jim

The post Random Forest Machine Learning Introduction appeared first on Data Science Tutorials Random Forest Machine Learning, We frequently utilize non-linear approaches to represent the link between a collection of predictor factors and a response variable when the relationship between them is extremely complex. Classification and regression trees, often known ... [Read more...]

How to Use Mutate function in R

July 11, 2022 | Jim

The post How to Use Mutate function in R appeared first on Data Science Tutorials How to Use Mutate function in R, This article demonstrates how to add additional variables to a data frame using R’s mutate() function. Artificial Intelligence Examples-Quick View – Data Science Tutorials How to Use Mutate ... [Read more...]

Convert Multiple Columns to Numeric in R

July 9, 2022 | Jim

The post Convert Multiple Columns to Numeric in R appeared first on Data Science Tutorials Convert Multiple Columns to Numeric in R, Using the dplyr package, you can change many columns to numeric using the following techniques. The examples that follow demonstrate each technique in action. Calculate the p-Value from ... [Read more...]

How to Rank by Group in R?

July 8, 2022 | Jim

The post How to Rank by Group in R? appeared first on Data Science Tutorials How to Rank by Group in R?, The basic syntax for ranking variables by the group in dplyr is as follows. The examples that follow with the given data frame demonstrate how to utilize this ... [Read more...]

How to Calculate Lag by Group in R?

July 8, 2022 | Jim

The post How to Calculate Lag by Group in R? appeared first on Data Science Tutorials How to Calculate Lag by Group in R?, The dplyr package in R can be used to calculate lagged values by group using the following syntax. Subsetting with multiple conditions in R – Data Science ... [Read more...]
1 2 3 4 5 6 8

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)