Learn R Programming

flextable (version 0.9.5)

information_data_cell: table cell related information of a flextable

Description

This function takes a flextable object and returns a data.frame containing information about each cell within the flextable. The data.frame includes details about formatting properties and position within the row and column.

Usage

information_data_cell(x)

Value

a data.frame containing information about cells:

  • formatting properties,

  • part (.part), row (.row_id) and column (.col_id).

Arguments

x

a flextable object

don't use this

These data structures should not be used, as they represent an interpretation of the underlying data structures, which may evolve over time.

They are exported to enable two packages that exploit these structures to make a transition, and should not remain available for long.

See Also

Other information data functions: information_data_chunk(), information_data_paragraph()

Examples

Run this code
ft <- as_flextable(iris)
x <- information_data_cell(ft)
head(x)

Run the code above in your browser using DataLab