Hi! Not having a data chunk prevents me from testing abit, but maybe you should take a look on:
?table ?xtabs to start with. But as already suggested by other users, a small data set would be of great help :) HTH, Kimmo su, 2019-01-06 kello 13:49 -0500, Rachel Thompson kirjoitti: > Hi Rich, > > I really feel lost at this point. > I need a code that helps me count the phone activity > level(high/low/none), > the screen activity (on/off) and the amount calls and SMS of each > subject. > > 1. I want to have a summary of how many times a specific subject got > called > (CallLogProbe) > 2. I want to have a summary of how many times a specific subject got > a text > message (SMS probe) > 3. I want to have a summary of how many times a specific subject > - Turned their screen on - True (ScreenProbe) > - Or did not turn their screen on - False (ScreenProbe) > 4. I want to have a summary of the activity level of a specific > subject > - Activity level - none (ActivityProbe) > - Activity level- low (ActivityProbe) > - Activity level - High (ActivityProbe) > > I want to do this for all the 36 subjects(Participants). > In the end, I have to define the percentages and cutoff points of > what is > considered low-medium-high, based on what the results of all the > subjects > are. So I am able to see if a specific subject has low social > interaction > etc. > > I have tried a lot, with the help of youtube etc. But I feel as if I > am > trying a lot of things but without clearly knowing if it is the right > step. > I have a csv file, but I need to look into what Jeff said about the > guides. > So I am able to share it. > > Best. > > > On Sun, Jan 6, 2019 at 11:51 AM Rich Shepard < > rshep...@appl-ecosys.com> > wrote: > > > On Sun, 6 Jan 2019, Rachel Thompson wrote: > > > > > I am an intern from Amsterdam and I have to do an analysis in R. > > > I spoke > > > to my professor in Amsterdam and my supervisor's here in Boston. > > > But they > > > are to busy to help. I informed them from the start that I am not > > > > familiar > > > with R(Rstudio) and they told me that I would receive guidance. > > > So since > > > they can not help me, I decided to share my problem online. (It > > > is a CVS > > > file imported into R) > > > > Rachel, > > > > I find it interesting that you're put in such a difficult > > position. I've > > not followed this thread from the start so my comments might be > > redundant > > or > > inappropriate. > > > > If you can, describe the problem. That is, what are you being > > asked to > > find and what are the available data? This information helps us to > > guide > > you > > to learning the mechanics for accomplishing your task with R. > > > > Regards, > > > > Rich > > > > ______________________________________________ > > R-help@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]] > > ______________________________________________ > R-help@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. ______________________________________________ R-help@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.