[R] from 3 numeric variables to a string

Marc Belisle marc.m.belisle at usherbrooke.ca
Fri Jun 5 22:56:38 CEST 2009


Hi there,

I have 3 numeric variables: day (e.g., 05), month (e.g., 06), year (e.g.,
2009).

I would like to create a (string) variable of the following form:
month/day/year (e.g., 06/05/2009).

I would be grateful to anyone who could point me toward a solution.

Sincerely,

Marc

===================
Marc Bélisle
Professeur agrégé
Chaire de recherche du Canada en écologie spatiale et en écologie du paysage
Département de biologie
Université de Sherbrooke
2500 Boul. de l'Université
Sherbrooke, Québec
J1K 2R1 Canada

Tél: +1-819-821-8000 poste 61313
Fax: +1-819-821-8049
Courriél: Marc.M.Belisle at USherbrooke.ca




More information about the R-help mailing list