[R-wiki] wiki banner

Gabor Grothendieck ggrothendieck at gmail.com
Mon Feb 13 23:45:57 CET 2006


In the context of ?data.frame it may be intended to show that
one can use that construct to create a data frame from a
data frame and a vector.


On 2/13/06, Romain Francois <francoisromain at free.fr> wrote:
>
> >> Hi all,
> >>
> >> Here's the image i have so far : http://addictedtor.free.fr/misc/wiki2.png
> >> I've reduced the size to 55px in height and added a (shaded) code from
> >> ?data.frame
> >>
> >
> >
> > Note that cbind is not needed, i.e. this is the same:
> >
> > L3 <- LETTERS[1:3]
> > data.frame(x = 1, y = 1:10, fac = sample(L3, 10, repl = TRUE))
> >
> >
> Yes, you are right.
> Did you inform the author(s) as well ?
>
> --
> visit the R Graph Gallery : http://addictedtor.free.fr/graphiques
> mixmod 1.7 is released : http://www-math.univ-fcomte.fr/mixmod/index.php
> +---------------------------------------------------------------+
> | Romain FRANCOIS - http://francoisromain.free.fr               |
> | Doctorant INRIA Futurs / EDF                                  |
> +---------------------------------------------------------------+
>
>



More information about the R-sig-wiki mailing list