writeScriptSPFI: (SPFI) Build, save, and open an R script to help execute...

Description Usage Value Examples

Description

This creates and opens a script named "spfi_script.R". This is a template for the user to work with when doing SPFI estimates. This is intended to help the user understand the work flow and due to file path differences, is unlikely to work as is. Some object values will need updating (for example the datapath). If the user does not have a copy of the hrj data base saved into a .Rdata file, then the functions readHRJAccessDatabase, reshapeHRJtolong, and the list creation will have to executed. It might be wise to then save the list to a .Rdata file.

Usage

1

Value

Opens an R script that includes the template of functions to calculate SPFI.

Examples

1

MichaelFolkes/ctctools documentation built on May 7, 2019, 4:56 p.m.