read_asap3_dat: Read an ASAP3 .dat file into R

View source: R/read_asap3_dat.R

read_asap3_datR Documentation

Read an ASAP3 .dat file into R

Description

WHAM is built on ASAP ([Legault and Restrepo (1999)](http://sedarweb.org/docs/wsupp/S12RD06%20ASAPdoc.pdf)) and this function provides functionality to use a preexisting ASAP3 input data file. The output of read_asap3_dat should then be passed to prepare_wham_input. If you are not familiar with ASAP3 input files, see the ASAP documentation and code.

Usage

read_asap3_dat(filename)

Arguments

filename

character, name of ASAP3 .dat file. The file either needs to be in the current working directory, or filename can include the path.

Value

a named list with the following components:

dat

Named list of input data and parameters

comments

Comments at top of ASAP3 .dat file (indicated by "#")

See Also

prepare_wham_input, fit_wham, ASAP documentation

Examples

## Not run: 
asap3 = read_asap3_dat("ASAP_SNEMAYT.dat")
input = prepare_wham_input(asap3)
mod = fit_wham(input)

## End(Not run)


timjmiller/wham documentation built on Nov. 23, 2023, 2:46 a.m.