我有一个需要根据多列中的值进行转换的数据框。数据框如下:
Cond Exp pathoffset
-------------------------------
congruent standard 0.06819259
congruent standard 0.27370488
incongruent standard 0.34841871
incongruent standard 0.21540861
congruent forced 0.19483575
congruent forced 0.35533876
incongruent forced 0.19483575
incongruent forced 0.35533876
我一直试图获得的数据框是
con_stand incon_stand con_for incon_for
----------------------------------------------
0.06819259 0.34841871 0.19483575 0.19483575
0.27370488 0.21540861 0.35533876 0.35533876
任何帮助,将不胜感激
谢谢