-1
A
答えて
0
希望の出力を追加できますか? 私はreshapeパッケージを使用することができますね。
library(reshape)
df <- read.table("your_file")
result <- melt(df, id = c("name"))
関連する問題
- 1. Googleのストリートビューから緯度/経度/緯度/緯度/経度を取得する
- 2. 緯度/経度
- 3. 緯度&経度
- 4. バイアスのある緯度と経度
- 5. 緯度と経度は、R
- 6. Androidの緯度と経度
- 7. 緯度経度ソート
- 8. topojson /経度+緯度
- 9. 東経度北緯緯度北緯
- 10. のGoogleマップ - 緯度&経度とURLは、私はこのような緯度と経度の値を持つURLを作成し、ウェブサイトを持っている
- 11. ウェブサーバーの緯度と経度を表示
- 12. ロケーションベースのアプリケーション:経度と緯度の値
- 13. OSM Bonuspackは、私は経度と緯度
- 14. 緯度/経度とメーター
- 15. デカルトと緯度/経度
- 16. 緯度と経度MVC 4
- 17. マッピング緯度と経度
- 18. 緯度/経度に緯度/経度は非常に欠陥がありますが、どうですか?
- 19. MySQLの緯度と経度が高精度である
- 20. 緯度/経度を指定すると、Cの緯度/経度のリストから最も近い緯度/経度のペアが見つかります。
- 21. 緯度経度値をデコードする
- 22. 緯度経度APIの
- 23. UTMへの緯度/経度
- 24. 緯度、経度の比較
- 25. 経度/緯度のKDTree
- 26. 緯度/経度のJavascript
- 27. 住所の緯度経度
- 28. Amcharts - 地図:カスタムマップ(緯度/経度)の悪い座標(緯度/経度)
- 29. Iテーブルを持っている緯度/経度テーブル
- 30. 緯度と経度の近い場所
あなたが探しているアクションは、unpivotと呼ばれています。すでにインターネット上にたくさんのヒントがあります。 –
便利なポインタhttp://stackoverflow.com/questions/7980030/how-to-pivot-unpivot-cast-melt-data-frame、http://stackoverflow.com/questions/2185252/reshaping-data-frame -from-wide-to-long-format –