Hi Rachel.
You already have got several suggestions, but results depend on structure of
your data. The best way from your side would be just copy a part of your data
directly to email and preferable way is to use "dput".
Assuming your data already transfered to R are called "mydata".
You can just copy otput of
dput(mydata[1:30,])
to your next mail.
Cheers
Petr
-----Original Message-----
From: R-help <r-help-bounces at r-project.org> On Behalf Of Rachel
Thompson
Sent: Sunday, January 6, 2019 7:49 PM
To: Rich Shepard <rshepard at appl-ecosys.com>
Cc: r-help mailing list <r-help at r-project.org>
Subject: Re: [R] Mailinglist
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
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
<rshepard at 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
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