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 gather() and spread() in R along with an example.

Gather() function is used to collapse multiple columns into key-pair values. The data frame above is considered wide since the time variable…

Data Science · R

1 Answer · 1.6K Views · Answered ✓

Asked by: Dadhija raj · 6 years ago

How to perform ROC curve in R?

To perform ROC on a model we need to train a model. bank

Data Science · R

1 Answer · 1.4K Views · Answered ✓

Asked by: Ashish Sinha · 6 years ago

How to make a stem and leaf plot in R?

To make a stem and leaf plot let us create some vectors x

Data Science · R

1 Answer · 1.5K Views · Answered ✓

Asked by: Sunita pandey · 6 years ago

Explain how to implement decision in R

First we import the dataset # Importing the dataset com_sale dataset = read.csv(file.choose()) Now we encode the target feature as factor # Encoding…

Data Science · R

1 Answer · 1.5K Views · Answered ✓

Asked by: Sanjana Shah · 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.