Skip to content
Snippets Groups Projects
getGrobTable.Rd 708 B
Newer Older
Arnaud Duvermy's avatar
Arnaud Duvermy committed
% Generated by roxygen2: do not edit by hand
Arnaud Duvermy's avatar
Arnaud Duvermy committed
% Please edit documentation in R/simulation_report.R
Arnaud Duvermy's avatar
Arnaud Duvermy committed
\name{getGrobTable}
\alias{getGrobTable}
\title{Generate a Formatted Table as a Grid Graphics Object}
\usage{
getGrobTable(df)
}
\arguments{
\item{df}{The data frame to be converted into a formatted table.}
}
\value{
A grid graphics object representing the formatted table.
}
\description{
This function generates a formatted table using the provided data frame and returns
it as a grid graphics object.
}
\examples{
# Create a sample data frame
sample_data <- data.frame(
  Name = c("Alice", "Bob", "Charlie"),
  Age = c(25, 30, 28)
)

# Generate the formatted table
table_grob <- getGrobTable(sample_data)
}