table(scltotal$female,scltotal$dys)
Best Regards, Bhupendrasinh Thakre Sent from my iPad On Jun 15, 2013, at 3:58 PM, Sophie Homeyer <sophie.home...@googlemail.com> wrote: > Hi, > i am new to this forum and not sure how it works, > I am trying to do deskriptive descripe my data in terms of gender: > > head(scltotal) > > pbnr dat dep dys sop ago mis age female messpunkt2 > messpunkt1 tage eintrittsjahr > > 1 10023 1994-02-21 0.75 1.00 0.50 0.50 0.75 35 1 8817 > 8817 0 1994 > > 2 10023 1994-05-25 0.75 1.00 0.50 0.50 0.75 35 1 8910 > 8817 93 1994 > > 3 10028 1994-02-01 2.00 1.75 3.00 0.50 1.50 42 1 8797 > 8797 0 1994 > > 4 10028 1999-01-15 1.25 0.75 2.25 0.50 0.25 42 1 10606 > 8797 1809 1999 > > 5 10053 1994-03-16 2.50 0.75 1.25 0.50 1.25 22 1 8840 > 8840 0 1994 > > 6 10053 1994-09-23 3.25 1.25 1.25 0.75 2.25 22 1 9031 > 8840 191 1994 > so female is either 0 or 1 I assume 0 is male and 1 is female. And I want > to look at dep, dys, sop, ago and mis how they are in terms of gender > (female or male) I have no clue what to do :-( > thanks for your help > sophie > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@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. ______________________________________________ R-help@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.