I am using
library(haven)
library(expss)
These Two Packages to create Tables using R. I use the Following Syntax to create a New Variables
df=compute(df, {
recode (A1A,4:5~1,3~2,1:2~3) %into% a1
})
It ran Properly there are no issue so far.
library(dplyr)
EDat <- EDat %>%
filter(TOPLINE == 1)
After I used dplyr Package i use the same syntax.
df=compute(df, {
recode (A1A,4:5~1,3~2,1:2~3) %into% Check
})
I cannot create the variable "Check" . Please help me on this.