Displaying 1 result from an estimated 1 matches for "statusrec".
Did you mean:
statuses
2003 Dec 14
3
Problem with data conversion
...ion 2, Windows). I used the following code:
mysubset <- subset(workingdat, select = c(age,sex,status, mma, dma))
write.table(mysubset, file="mysubset.txt", sep="\t", col.names=NA)
After I made changes in the variables using Epi Info (I created a new
variable called "statusrec" containing values "case" and "control"), I
exported the file as a ".rec" file (filename "mydata.rec"). I used the
following code to read the file in R:
require(foreign)
myData <- read.epiinfo("mydata.rec", read.deleted=NA)
Now, the pr...