Is there a way to replace NA values, which are placed in cells, which are empty before applying pander, with some other character (empty space, long dash, etc.).
E.g., tables of ANOVA models, summaries, etc., have those NA values:
-----------------------------------------------------------
Df Sum Sq Mean Sq F value Pr(>F)
--------------- ---- -------- --------- --------- ---------
**feed** 5 231129 46226 15.36 5.936e-10
**Residuals** 65 195556 3009 NA NA
-----------------------------------------------------------
Table: Analysis of Variance Model
While
-----------------------------------------------------------
Df Sum Sq Mean Sq F value Pr(>F)
--------------- ---- -------- --------- --------- ---------
**feed** 5 231129 46226 15.36 5.936e-10
**Residuals** 65 195556 3009
-----------------------------------------------------------
Table: Analysis of Variance Model
is expected.
Long dashes should be fine too:
-----------------------------------------------------------
Df Sum Sq Mean Sq F value Pr(>F)
--------------- ---- -------- --------- --------- ---------
**feed** 5 231129 46226 15.36 5.936e-10
**Residuals** 65 195556 3009 — —
-----------------------------------------------------------
Table: Analysis of Variance Model
------------------
disp am
------------- ----
Min. : 71.1 0:19
1st Qu.:120.8 1:13
Median :196.3 NA
Mean :230.7 NA
3rd Qu.:326.0 NA
Max. :472.0 NA
------------------
In stead of:
------------------
disp am
------------- ----
Min. : 71.1 0:19
1st Qu.:120.8 1:13
Median :196.3
Mean :230.7
3rd Qu.:326.0
Max. :472.0
------------------
Is there a way to replace
NA
values, which are placed in cells, which are empty before applying pander, with some other character (empty space, long dash, etc.).E.g., tables of ANOVA models, summaries, etc., have those
NA
values:Results in:
While
is expected.
Long dashes should be fine too:
And
results in:
In stead of: