% Generated by roxygen2: do not edit by hand % Please edit documentation in R/simulation_report.R \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) }