[R] R basic

Hye Joon Yoon joon7261 at gmail.com
Thu Nov 9 16:05:35 CET 2017

Can anyone help with scripting the commands below?

1. Add/create a new column to df and name it as ShortPause .
2. Convert ShortPause as a factor variable.
3. ShortPause will have two levels (short and long). Assign short if pause
is smaller than 0.1, and assign
long otherwise.
4. How many ‘syntax==intransitive’ observations were realized with a tap
(tapped==Tapped)? (Use xtabs()
and ftable() to calculate this.)

	[[alternative HTML version deleted]]

More information about the R-help mailing list