You can use the following syntax from the dplyr package to scale only the numeric…
R Operations
-
-
RR OperationsSoftware Tutorials
How to Select Columns Containing a Specific String in R
by Erma Khanby Erma KhanYou can use the following functions from the dplyr package in R to select columns…
-
RR OperationsSoftware Tutorials
How to Use the Pipe Operator in R (With Examples)
by Erma Khanby Erma KhanYou can use the pipe operator (%>%) in R to “pipe” together a sequence of…
-
RR OperationsSoftware Tutorials
R: How to Use drop_na to Drop Rows with Missing Values
by Erma Khanby Erma KhanYou can use the drop_na() function from the tidyr package in R to drop rows…
-
RR OperationsSoftware Tutorials
How to Use str_remove in R (With Examples)
by Erma Khanby Erma KhanThe str_remove() function from the stringr package in R can be used to remove matched…
-
RR OperationsSoftware Tutorials
How to Perform Reverse Coding in R (With Example)
by Erma Khanby Erma KhanWhen creating surveys, researchers sometimes rephrase “positive” questions in a “negative” way to make sure…
-
The str_match() function from the stringr package in R can be used to extract matched…
-
RR OperationsSoftware Tutorials
How to Replace Blanks with NA in R (With Examples)
by Erma Khanby Erma KhanYou can use the following methods to replace blanks with NA values in R: Method…
-
The str_pad() function from the stringr package in R can be used to pad characters…
-
The str_trim() function from the stringr package in R can be used to trim whitespace…