[R] Tabelle zu Matrix

2005-06-07 Thread Hansi Weissensteiner
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

Re: [R] Tabelle zu Matrix

2005-06-07 Thread Sander Oom
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