【文件属性】:
文件名称:customLayout:从R简单扩展基本布局功能
文件大小:2.47MB
文件格式:ZIP
更新时间:2021-05-28 16:05:15
r graphics plot grid-layout complicated-layouts
customLayout
customLayout是R基本layout功能的简单扩展,但它不仅适用于base和grid图形系统,而且还适用于使用officer包的PowerPoint幻灯片。
安装:
customLayout在CRAN上可用:
install.packages( " customLayout " )
可以使用devtools从GitHub安装开发版本:
library( devtools )
install_github( " zzawadz/customLayout " )
基本功能:
您可以使用与基本layout功能相同的语法来创建布局:
library( customLayout )
lay <- lay_new(
matrix ( 1 : 4 , nc = 2 ),
widths = c( 3 , 2 ),
heights = c( 2 ,