View source: R/growth_model_summary_table.R
growth_model_summary_table | R Documentation |
This function creates a flextable object that can be used
for documentation or Rmarkdown reports from the list object created
by growth_curve_model_fit
.
The 'model_summary_long' data frame from the list object is used to
generate the table.
growth_model_summary_table(
growth_model_summary_list,
font_name = "Albany AMT",
font_size_header = 14,
font_size_body = 12,
use_knit_print = FALSE
)
growth_model_summary_list |
A list object created by the
|
font_name |
A character string specifying the name of the font to use
when rendering the table. Defaults to "Albany AMT".
See |
font_size_header |
A numeric value specifying the size of the font
for the header of the table. Defaults to 14.
See |
font_size_body |
A numeric value specifying the size of the font
for the body of the table. Defaults to 12.
See |
use_knit_print |
A logical value to specify whether the flextable
should be printed using |
A flextable object of the 'model_summary_long' data frame.
growth_curve_model_fit
# Load example data (exponential data)
data(exp_mixed_data)
# Fit an mixed-effects growth model to the data
exp_mixed_model_summary <- growth_curve_model_fit(
data_frame = exp_mixed_data,
function_type = "exponential",
verbose = FALSE)
# Create flextable object of the growth model results
exp_model_table <- growth_model_summary_table(
growth_model_summary_list = exp_mixed_model_summary)
# Print the table in the view pane
exp_model_table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.