[R] Split

Bert Gunter bgunter@4567 @end|ng |rom gm@||@com
Mon Dec 23 16:18:29 CET 2019


?ave

Bert Gunter

"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )


On Mon, Dec 23, 2019 at 6:57 AM Medic <mailiPadpost using gmail.com> wrote:

> I have
> mydata$var
>
> and I have
> mydata$group #two group
>
> I would like to split
> mydata$var
> by
> mydata$group #to get var1 and var2
>
> And then get
> summary (var1, var2)  #this is my finite aim
>
> How to encode it all?
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.
>

	[[alternative HTML version deleted]]



More information about the R-help mailing list