I am trying to print only the P values from an LMER table below:
df_lmer <- lmer(y~x1*groupcategory + (1+x1|id),data=df)
df_lmer_sum <- summary(df_lmer)
pvalue <- df_lmer
pvalue <- pvalue[]["groupcategory","Pr(>F)"]
However, there appears to be an error and I can't quite understand what that is?