0

I am using rmarkdown to print a model -

```{R ForestModel, echo = FALSE, out.width = "100%"}
print(forest_model(res.cox))
```

and getting enter image description here

Where what I want to get is: enter image description here

Edi Itelman
  • 423
  • 5
  • 14
  • removing print() did no good – Edi Itelman Apr 22 '20 at 15:15
  • 1
    You should provide a [minimal reproducible example](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example). It should be [minimal, but complete and verifiable example](https://stackoverflow.com/help/minimal-reproducible-example). Your question should be clear and specific. (What's the difference between the two exactly? Provide your model, so we don't have to come up with our own data.) – M-- Apr 22 '20 at 15:18

1 Answers1

0

Solved by treating as figure with

```{R Fig1_ForestModel, echo = FALSE, fig.width = 10, fig.asp = .50}
print(forest_model(res.cox))
``` 
Edi Itelman
  • 423
  • 5
  • 14