Comments (5)
@yuemolin Please try:
data = read.csv("~/Downloads/test.txt")
library(survival)
Cox.ppi = coxph(Surv(N, O) ~ A+B+C+D+E+G+H+I+J+K+L,
weights = M, data = data)
#library("forestmodel")
forest_model(Cox.ppi,
format_options = forest_model_format_options(text_size = 3))
from forestmodel.
got it! Thank you so much
from forestmodel.
Could you show your full comands with a minimal dataset?
from forestmodel.
My code is as below:
Cox.ppi = coxph(Surv(N, O) ~ A+B+C+D+E+G+H+I+J+K+L,
weights = M, data = data)
library("forestmodel")
forest_model(Cox.ppi,factor_separate_line = T,
format_options = list(colour= "black", shape = 15, text_size = 10, banded = T),
theme = theme_forest())
And the data is attached.
Thanks!
test.txt
from forestmodel.
You are welcome, please close this issue if you have no further problem
from forestmodel.
Related Issues (20)
- How to plot subgroup data? HOT 3
- Tibble deprecation warning: data_frame() -> tibble() HOT 1
- Using variable labels instead of variable names when available HOT 19
- Is it easy to support variable weight using point size? HOT 4
- forest_model doesn't show interactions in Cox PH models HOT 1
- Forest plot of multiple regression models
- Overall P-Value for Variables with More than Two Levels HOT 6
- How to set the range of the x axis on the forest plot HOT 1
- Forestmodel no longer showing interaction terms in multivariable model HOT 1
- Formatting p-value
- Error in plot when infinite value warning in model HOT 5
- Error with person-period data
- Changing Default Font Family HOT 2
- Font family supplied via theme(text = ...) is not honored in plot headings
- Excluding Plot of estimate, only including confidence interval
- Use colors in forestmodel::forest_model
- please provide an example of panel_forest_model
- Select test for show_global_p = "aside"?
- Layout depends on RStudio windows size
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from forestmodel.