Skip to content
Prev 244283 / 398506 Next

Lists and functions in data.frame?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/08/2010 11:22 AM, jim holtman wrote:
No - I would like to have a data,frame. I am aware of the differences,
but as far as I understand, each column in a data.frame can have a
differnt type. So I thought that the type of column fun could be
"function", column no "list", column value "numeric" and column b
"boolean".
OK - forget about the different length - I could convert the vectors to
lists, and store them as lists in the data.frame (if possible).
Sure - that would work, but I would prefer to have it in a data.frame.

Cheers,

Rainer
______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:        +33 - (0)9 53 10 27 44
Cell:       +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:      Rainer at krugs.de

Skype:      RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkz/YQEACgkQoYgNqgF2egoTSACfVeYcUqQZCXgxAEqWVw/bYmhm
onUAoIXfDH7dFw+X8P7eEw7fX62cEUzf
=YjUK
-----END PGP SIGNATURE-----