Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/78.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
R forestplot不允许labeltext中带有is.summary的表达式?_R_Forestplot - Fatal编程技术网

R forestplot不允许labeltext中带有is.summary的表达式?

R forestplot不允许labeltext中带有is.summary的表达式?,r,forestplot,R,Forestplot,我正在使用forestplot,希望在我的一个列名中添加上标。我在下面复制的forestplot渐晕图中提供了类似的示例(将列名从expression(beta)更改为所需的expression(pseudo~R^2)) 有办法解决这个问题吗?我可以用我的expression()吗?我的也是.summary吗?我以前对表达式的定位有问题,因此所有这些都是集中的。我已经修复了dev分支(1.5.2版)中的问题,请使用devtools安装: devtools::install_github("gf

我正在使用forestplot,希望在我的一个列名中添加上标。我在下面复制的forestplot渐晕图中提供了类似的示例(将列名从
expression(beta)
更改为所需的
expression(pseudo~R^2)


有办法解决这个问题吗?我可以用我的
expression()
吗?我的
也是.summary
吗?

我以前对表达式的定位有问题,因此所有这些都是集中的。我已经修复了dev分支(1.5.2版)中的问题,请使用devtools安装:

devtools::install_github("gforge/forestplot", ref="develop")
forestplot(tabletext, 
       rbind(rep(NA, 3), 
             HRQoL$Sweden),
       col=clrs, 
       is.summary=c(TRUE,FALSE,FALSE,FALSE,FALSE),
       xlab="EQ-5D index")
devtools::install_github("gforge/forestplot", ref="develop")