Azzera filtri
Azzera filtri

Is there any matlab equivalent of spread, gather functions of r tidyr package????

10 visualizzazioni (ultimi 30 giorni)
Is there any matlab equivalent of spread, gather functions of r tidyr package????
  2 Commenti
Star Strider
Star Strider il 24 Mag 2019
From the tidyr (link) website:
There are two fundamental verbs of data tidying:
  • gather() takes multiple columns, and gathers them into key-value pairs: it makes “wide” data longer.
  • spread() takes two columns (key & value), and spreads into multiple columns: it makes “long” data wider.

Accedi per commentare.

Risposte (1)

François Stevens
François Stevens il 9 Lug 2020
Have a look at the "stack" and "unstack" functions :

Categorie

Scopri di più su Measurements and Feature Extraction in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by