construct_df_filename: Given a key and assorted information OR a dataframe,...

View source: R/save_datafile.R

construct_df_filenameR Documentation

Given a key and assorted information OR a dataframe, construct and return a sensible file name.

Description

This will be in format "key_group_component_stat.csv" if the dict was provided via actdata key, or "dfname.csv" if the dict was provided as a dataframe.

Usage

construct_df_filename(df = NA, key = "", group = "", component = "", stat = "")

Arguments

df

dataframe object

key

key string

group

group string

component

component string

stat

stat string

Details

These are all dictionaries and so should be csvs

Value

string with the filename


ahcombs/bayesactR documentation built on Jan. 15, 2025, 6:49 p.m.