Displaying 2 results from an estimated 2 matches for "pre_".
Did you mean:
pre
2007 Dec 29
1
another index question
...ariables are >= 1, assign a value of 'N' if values on certain
variables are >= 1 on other variables and assign a 'O' if values on
any variable which have a value <= 0.
The outcome of this code is to assign a single 'O'. Clearly I have
made a mistake somewhere.
pre_ <- new <- rep(0, nrow(reoffend))
> pre_ <- new[reoffend$pre01111 | reoffend$pre012 |
reoffend$pre013>= 1] <-'V'
> pre_ <- new[reoffend$pre02111>=1 | reoffend$pre02114>=1 |
reoffend$pre2029>=1 | reoffend$pre0212>=1 | reoffend$pre0211>=1]<- ...
2012 Oct 10
7
multiple t-tests across similar variable names
Hi everyone-
I have a dataset with multiple "pre" and "post" variables I want to compare. The variables are named "apple_pre" or "pre_banana" with the corresponding post variables named "apple_post" or "post_banana". The variables are in no particular order.
apple_pre orange_pre orange_post pre_banana apple_post post_banana
person_1
person_2
person_3
...
person_x
How do I:
1. Run a series of paired t-te...