How to capture the fixed terms of a R formula? -


Suppose I have R formulas, which are with random posts:
  f1 < -formula (y ~ x1 + x2 + (1 | x3) + x1 * x4) f2 and lt; - Formula (y ~ x1 + x2 + (1 | x3 + (0 + x5 | x3)) + x1 * x4] How do I get certain conditions for these formulas? :  
  Factrum [1] "x1" "x2" "x4" "x1: x4"    

  library (lme4) f1.fixed & lt; - terms (lme4 ::: nobars (f1)) etter (f 1. fixed, "term.labels") # [1] "x1" "x2" "x4" "x1: x4"    

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -