[英]Segmenting a column Data into multiple columns based on unique value in R
I have a dataset of the form: 我有一个形式的数据集:
I need to convert the above data into the following in R: 我需要将以上数据转换为R中的以下数据:
How can it be done? 如何做呢? It should be simple but I am not able to figure out the correct function or steps to do this.
它应该很简单,但是我无法弄清楚执行此操作的正确功能或步骤。 Any help would be much appreciated.
任何帮助将非常感激。 Thank you
谢谢
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.