[R] ddply/tapply and set function

A. Mani @@m@n|@cm@ @end|ng |rom gm@||@com
Wed Feb 17 06:33:45 CET 2021


I want a data frame (derived from another data frame) of the form

Type   Set
1         {1,5, 7}
2         {3,8)
..        ....

tapply(Id,Type, set) works, but does not yield a data frame.
'set' is from package set/set6/etc
ddply does not seem to work with the function.
How should I proceed with this optimally?


Thanks and Best

A Mani

Prof.Dr.(Miss) A Mani
ASL, AMS, ISRS, CLC, CMS, MTA
Senior Member, International Rough Set Society
Research Scientist, Indian Statistical Institute, Kolkata
Formerly HBCSE, TIFR, CU.
Homepage: https://www.logicamani.in
Blog: https://logicamani.blogspot.in/
Research Gate: https://www.researchgate.net/profile/Mani_A
sip:girlprofessor using ekiga.net
Pronouns: She/Her/Hers



More information about the R-help mailing list