How to convert a continuous variable to discrete variable and vice versa in R

0 votes
How to convert a continuous variable to discrete variable in R?
Jul 23, 2019 in Data Analytics by sanath
2,473 views

1 answer to this question.

0 votes
Discretize function convert a continuous variable into a categorical variable. You can aslo use cut, factor functions as well
answered Nov 4, 2019 by rajeev

Related Questions In Data Analytics

0 votes
1 answer

How to convert continuous variable to categorical variable and vice versa?

Use discretize function to convert a continuous variable ...READ MORE

answered Oct 29, 2019 in Data Analytics by Cherukuri
• 33,010 points
5,488 views
0 votes
1 answer

How can I convert a factor variable to numeric in R ?

A factor variable can be converted to ...READ MORE

answered Sep 19, 2018 in Data Analytics by shams
• 3,660 points
314 views
0 votes
1 answer

How to convert a list to data frame in R?

Let's assume your list of lists is ...READ MORE

answered Apr 12, 2018 in Data Analytics by nirvana
• 3,150 points

edited Apr 12, 2018 by nirvana 21,018 views
+4 votes
3 answers

How to sum a variable by group in R?

You can also try this way, x_new = ...READ MORE

answered Aug 1, 2019 in Data Analytics by Cherukuri
• 33,010 points
66,736 views
0 votes
1 answer

By using dpylr package sum of multiple columns

Basically here we are making an equation ...READ MORE

answered Apr 5, 2018 in Data Analytics by DeepCoder786
• 1,720 points
1,357 views
0 votes
1 answer

How to convert a text mining termDocumentMatrix into excel or csv in R?

By assuming that all the values are ...READ MORE

answered Apr 5, 2018 in Data Analytics by DeepCoder786
• 1,720 points
770 views
0 votes
1 answer

In a dpylr pipline how to use sample and seq?

For avoiding rowwise(), I prefer to use ...READ MORE

answered Apr 6, 2018 in Data Analytics by DeepCoder786
• 1,720 points

edited Jun 9, 2020 by Gitika 301 views
0 votes
1 answer

How to create a list of Data frames?

Basically all we have to do is ...READ MORE

answered Apr 9, 2018 in Data Analytics by DeepCoder786
• 1,720 points
502 views
0 votes
1 answer

How ‘breaks’ and ‘ cut’ works in R?

@ch, Cut divides the range of x into ...READ MORE

answered Oct 14, 2019 in Data Analytics by rohan
1,896 views
0 votes
1 answer

How to make points transparent using plot function in R?

There is no attribute to set the ...READ MORE

answered Oct 14, 2019 in Data Analytics by Cherukuri
• 33,010 points
703 views