So i have a set of numbers generated using probabilities, and I need to create a data frame that gives a value of X and Y based on what each number in the vector is. The output I need is a data frame with columns of X and Y
Asked
Active
Viewed 30 times
1
-
Maybe this post will be helpful: https://stackoverflow.com/questions/11865195/using-if-else-on-a-data-frame. Please, provide a reproducible example code to make your question more straightforward. – hermanp Dec 02 '20 at 13:16
-
Welcome to [so]! Please read [ask] and give a [mre] in your question! – jogo Dec 02 '20 at 13:16