Hallo!
Ich habe ein Textdokument das folgenden Aufbau aufweisst:
String Integer z.B.
AAA10
BBB15
CCC12
BBB13
AAA11
DDD14
Mein Ziel ist es, die Daten in eine Matrix zu schreiben, ohne dabei mit
Schleifen zu arbeiten. Ist dies möglich? Die entsprechende Matrix sollte dann
Why ask if you already know the answer. Did you try table()?
Other commands related: reshape {stats} and xtabs {stats}
I learned about this only a couple of days ago on this list!
Meanwhile read the posting guide and send your requests in English.
Good luck,
Sander.
Hansi Weissensteiner