Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Data Science
  3. R

R Questions & Answers

Browse 123 R questions and answers from learners and industry experts. Find practical fixes, interview prep and step-by-step solutions - or ask your own.

123Discussions
126Answers
0Waiting for an answer
Ask a R Question →

Explain with example how to create sequence using R.

To create sequence of vectors or simply numbers, we use seq() function such as seq(0,20) It will create a sequence of numbers from 0 to 20 such as…

Data Science · R

1 Answer · 1.6K Views · Answered ✓

Asked by: Liam SMITH · 6 years ago

How nested for loop work in R? Explain with an example.

Nested for loop means We can nest for loops inside one another,but we need to be careful as every additional for loop nested inside another may cause…

Data Science · R

1 Answer · 1.6K Views · Answered ✓

Asked by: Liam SMITH · 6 years ago

How to create a basic dataframe using R?

A data frame is a 2 dimensional structure containing data in the form of rows and columns. A data frame is used to easily represent data in the form…

Data Science · R

1 Answer · 1.4K Views · Answered ✓

Asked by: Sneha Pandey · 6 years ago

How to add a new column to a dataframe in R?

Let us create a dataframe with some values in R.For doing this we have to select a dataframe for selecting rows and columns. A data frame is a…

Data Science · R

1 Answer · 1.4K Views · Answered ✓

Asked by: Daniel Monteiro · 6 years ago

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Data Science Blogs

Guides, tips and career advice on Data Science from JanBask experts.

Explore other technologies

Pick another topic to find answers, interview questions, and real-world tips.