create_sk_national_ft_results: Create a Flextable Object of Seasonal Kendall Results

Description Usage Arguments Details Value Author(s)

View source: R/create_sk_national_ft_results.R

Description

Create a flextable object to display Seasonal Kendall results for each reserve in the NERRS national level template

Usage

1
2
3
4
5
6
7
8
create_sk_national_ft_results(
  sk_result,
  param,
  font_sz_result = 12,
  font_sz_head = 8,
  ht_head = 0.375,
  ht_body = 0.2
)

Arguments

sk_result

a data.frame of reformatted results generated by national Level template scripts from reserve level handoff files

param

chr, the name of the parameter that corresponds to the seasonal kendall results in sk_result

font_sz_result

int, specify the font size of the displayed results

font_sz_head

int, specify the font size of the table header row

ht_head

num, specify the cell height of the table body rows. Units for this parameter are in inches.

ht_body

num, specify the cell height of the table header row. Units for this parameter are in inches.

Details

This function is intended for internal use with the NERRS national level reporting scripts. Using results from the reserve level trend analyses, create_sk_national_ft_results creates a flextable object of seasonal kendall results to be displayed in the NERRS national level template.

Value

Returns a flextable object

Author(s)

Julie Padilla


padilla410/SWMPrExtension documentation built on Dec. 29, 2021, 5:48 a.m.