Skip to content
  • Home
  • About
  • Write For US
|       { One stop for all Spark Examples }
Spark by {Examples}
  • Spark
    • Spark RDD
    • Spark DataFrame
    • Spark SQL Functions
    • What’s New in Spark 3.0?
    • Spark Streaming
    • Apache Spark Interview Questions
  • PySpark
  • Hive
  • Pandas
  • NumPy
  • R
  • Interview Q
    • Spark Interview Questions
  • More
    • KafkaApache Kafka Tutorials with Examples
    • H2O.ai
    • Apache Hadoop
    • Apache HBase
    • Apache Cassandra
    • Snowflake Database
    • H2O Sparkling Water
    • Scala Language
Menu Close
  • Spark
    • Spark RDD
    • Spark DataFrame
    • Spark SQL Functions
    • What’s New in Spark 3.0?
    • Spark Streaming
    • Apache Spark Interview Questions
  • PySpark
  • Hive
  • Pandas
  • NumPy
  • R
  • Interview Q
    • Spark Interview Questions
  • More
    • Kafka
    • H2O.ai
    • Apache Hadoop
    • Apache HBase
    • Apache Cassandra
    • Snowflake Database
    • H2O Sparkling Water
    • Scala Language
  • Home
  • About
  • Write For US
Read more about the article R Count Frequency of All Unique Values in Vector
R Programming

R Count Frequency of All Unique Values in Vector

There are multiple ways to get the count of the frequency of all unique values in an R vector. To count the number of times each element or value is…

0 Comments
August 2, 2022
Read more about the article R Remove From Vector with Examples
R Programming

R Remove From Vector with Examples

How to remove elements from vector in R? By using r base [] notation and setdiff() function is used to remove values from vector. Actually by using [] notation we…

0 Comments
August 1, 2022
Read more about the article R Remove Duplicates From Vector
R Programming

R Remove Duplicates From Vector

How to remove duplicate values (duplicates) from vector in R? Handling duplicate values is one of the challenging tasks when analyzing the data. Removing duplicates comes under data cleaning which…

0 Comments
August 1, 2022
Read more about the article R Convert List to String with Examples
R Programming

R Convert List to String with Examples

How to convert the list to String in R? The list can contain elements of different types for example strings, numeric, vector, matrix, data.frame. And if you have values in…

0 Comments
July 30, 2022
Read more about the article Sort Vector in R – Character, Date, Numeric
R Programming

Sort Vector in R – Character, Date, Numeric

Use the sort() function to sort vector elements in R by ascending or descending order. This sort() function takes an R vector as an argument and results in the sorted…

0 Comments
July 30, 2022
Read more about the article How to Subset Vector in R?
R Programming

How to Subset Vector in R?

Use R base bracket notation to subset the vector in R. By using this notation we can subset the vector by index, name, value, by checking the condition, by range…

0 Comments
July 29, 2022
Read more about the article Merge Vector Elements into String in R
R Programming

Merge Vector Elements into String in R

There are multiple ways to concatenate or merge elements of the vector into a string in R either by separating with space or any delimiter. Use the paste() function to…

0 Comments
July 28, 2022
Read more about the article How to Concatenate Vector in R
R Programming

How to Concatenate Vector in R

To concatenate a vector or multiple vectors in R use c() function. This c() function is used to combine the objects by taking two or multiple vectors as input and…

0 Comments
July 27, 2022
Read more about the article unlist() Function in R – Usage with Examples
R Programming

unlist() Function in R – Usage with Examples

unlist() function in R takes a list as an argument and returns a vector. A list in R contains heterogeneous elements meaning can contain elements of different types whereas a vector…

0 Comments
July 27, 2022
Read more about the article How to Convert List to Vector in R
R Programming

How to Convert List to Vector in R

To convert a list to a vector in R use unlist() function. This function takes a list as one of the arguments and returns a Vector. A list in R…

0 Comments
July 27, 2022
  • 1
  • 2
  • 3
  • 4
  • …
  • 10
  • Go to the next page

R Programming Tutorial

  • R – Introduction
  • R – Install R and RStudio on Mac OS
  • R – Hello World Program
  • R – Create Vector
  • R – Create DataFrame
  • R – Create Empty DataFrame
  • R – Select Rows or Observations
  • R – Select Columns or Variables
  • R – Rename Column Names
  • R – Replace/Update Column Values
  • R – Remove Rows
  • R – Remove Columns
  • R – Add Row to DataFrame
  • R – Add Column to DataFrame
  • R – Sort DataFrame Rows
  • R – Join DataFrames
  • R – Convert Column to Numeric Type
  • R – Replace NA values with Zero
  • R – Replace NA with Empty String
  • R – Remove Duplicate Rows
  • R – Remove Rows with NA

R Import & Export Files

  • R – Import Excel File
  • R – Export Excel File
  • R – Import CSV File
  • R – Export CSV File
  • R – Import Text File
  • R – Export Text File
  • R- Read CSV From URL
  • R – Read Multiple CSV Files
  • R – Import Text File as a String
  • R – Write Lines to Text File

R Programming Packages

  • R – dplyr Tutorial
  • R – data.table Tutorial

R Most Used Examples

  • R – Convert List to DataFrame
  • R – Create a DataFrame From Vectors
  • R – Replace Character in a String
  • R – Replace Column Value with Another Column
  • R – Replace Values Based on Condition
  • R – str_replace() to Replace Matched Patterns in a String.
  • R – Rename Multiple Dataframe Columns
  • R – Rename Columns With List in R
  • R – Rename Column by Index Position
  • R – Replace Empty String with NA
  • R – Replace Zero (0) with NA on Dataframe Column

Categories

  • Apache Hadoop
  • Apache Spark
  • Apache Spark Streaming
  • Apache Kafka
  • Apache HBase
  • Apache Cassandra
  • Snowflake Database
  • H2O Sparkling Water
  • PySpark

Recent Posts

  • How to Use NumPy log() in Python?
  • PySpark Groupby on Multiple Columns
  • PySpark Write DataFrame to CSV File
  • PySpark Groupby Agg (aggregate) – Explained
  • PySpark GroupBy Count – Explained
  • PySpark repartition() – Explained with Examples
  • How to Use NumPy random.uniform() in Python?
  • Pandas API on Apache Spark | Explained With Examples
  • Spark Drop DataFrame from Cache
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

About SparkByExamples.com

SparkByExamples.com is a Big Data and Spark examples community page, all examples are simple and easy to understand, and well tested in our development environment Read more ..
    Copyright sparkbyexamples.com