pzfx (version 0.3.0)

read_pzfx: Read one table from a 'GraphPad Prism' '.pzfx' file

Description

Read one table from a 'GraphPad Prism' '.pzfx' file

Usage

read_pzfx(path, table = 1, strike_action = "exclude", date_x = "character")

Arguments

path

Path to the '.pzfx' file.

table

Table to read. Either a string (the name of a table), or an integer (the position of the table). If neither argument specifies the table, defaults to the first table.

strike_action

One of c("exclude", "keep", "star") or c("e", "k", "s"). Should stricken values in the original .pzfx be excluded, kept or labeled with a trailing "*". If a trailing "*" is added, the column will be of type character.

date_x

One of c("numeric", "character", "both") or c("n", "c", "b"). Should x column of format "Date" be handled as numeric (time elapsed from the first time point), character (the date string encoded by Prism, for example "8-Sep-2008"), or both (leading to two columns).

Value

a data frame

Examples

Run this code
# NOT RUN {
pzfx_file <- system.file("extdata/exponential_decay.pzfx", package = "pzfx", mustWork = TRUE)
read_pzfx(pzfx_file, table = 1, strike_action="exclude", date_x="character")
# }

Run the code above in your browser using DataCamp Workspace