@@ -9,7 +9,7 @@ if (.if_run_ex_coveff()) {
99
1010 var_resp <- " AEFLAG"
1111
12- # develop models --------------------------------------------------------------
12+ # develop models ------------------------------------------------------------
1313 set.seed(1234 )
1414 ermod_bin <- dev_ermod_bin(
1515 data = df_er_ae_hgly2 ,
@@ -25,7 +25,7 @@ if (.if_run_ex_coveff()) {
2525 coveffsim <- sim_coveff(ermod_bin )
2626 coveffsim_2 <- sim_coveff(ermod_bin , spec_coveff = spec_coveff )
2727
28- # Tests -----------------------------------------------------------------------
28+ # Tests ---------------------------------------------------------------------
2929 test_that(" sim_coveff" , {
3030 expect_equal(coveffsim , coveffsim_2 )
3131 expect_equal(dim(coveffsim ), c(14 , 12 ))
@@ -73,8 +73,8 @@ if (.if_run_ex_coveff()) {
7373 expect_equal(
7474 spec_coveff $ value_label ,
7575 c(
76- " 0.824" , " 2.31" , " 4.80" , " 6.01" , " 8.19" , " 10.3" , " 4.42" , " 6.09" , " 7.28 " ,
77- " White" , " Asian" , " Black" , " No" , " Yes"
76+ " 0.824" , " 2.31" , " 4.80" , " 6.01" , " 8.19" , " 10.3" , " 4.42" , " 6.09" ,
77+ " 7.28 " , " White" , " Asian" , " Black" , " No" , " Yes"
7878 )
7979 )
8080 })
0 commit comments