Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

How to use break function to break the data by a specific point?

$
0
0

@harry wrote:

I am currently working on one data set in which I want to create the bucket of the variable(year_joined) so I have used the cut function.But I am unable to break the data at a specific point.

table(pf$year_joined)

 2006  2007  2008  2009  2010  2011  2012  2013  2014 
   10    18   667  1648  4624  5462 10055 33663 42854

I want to create bucket between these values

         (2004, 2009]
         (2009, 2011]
         (2011, 2012]
         (2012, 2014]

I am not able to break at different point like above.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles