I have a data set that looks like this:
Id Type Tag
1 a blue
1 a green
1 b yellow
1 b red
2 a black
2 a grey
2 b purple
2 b cyan
3 a orange
3 a yellow
3 b red
3 b blue
...
I would like to sample 2 rows per distinct Id value, combining those rows ...
I am working on a Logistic Regression problem to identify the leads that result into a student conversion for candidature. I have 2 columns in the dataset 'Last Activity' and 'Last Notable Activity' with almost similar type of values except different percentage conversion based on value types. Al...
I am currently working on market segmentation in R in combination with profiling.
I perform kmeans function by kcca function (flexclust package) on a scaled dataset which I called datafinal.
clusta <- kcca(datafinal, k = 2, save.data= TRUE, family = kccaFamily(which = "kmeans", dist= "euclide...