Re: [R] Create a categorical variable using the deciles of data

2022-06-15 Thread Richard O'Keefe
fe > Sent: Tuesday, June 14, 2022 9:08 AM > To: anteneh asmare > Cc: R Project Help > Subject: Re: [R] Create a categorical variable using the deciles of data > > [External Email] > > Can you explain why you are not using > ?quantile > to find the deciles then > ?cu

Re: [R] Create a categorical variable using the deciles of data

2022-06-14 Thread Ebert,Timothy Aaron
categorical2 <- cbind(option2, data_catigocal) option3 <- rep(group_vector, group_size) option3a <- sample(option3, size1, replace=FALSE) data_categorical3 <- cbind(option3a, data_catigocal) Tim -----Original Message----- From: R-help On Behalf Of anteneh asmare Sent: Tuesday, June 14, 2022