Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

pzfx_file <- system.file("extdata/exponential_decay.pzfx", package = "pzfx", mustWork = TRUE)
read_pzfx(pzfx_file, table = 1, strike_action="exclude", date_x="character")

pzfx

Read and Write 'GraphPad Prism' Files

v0.3.0
MIT + file LICENSE
Authors
Yue Jiang [aut, cre] (<https://orcid.org/0000-0002-9798-5517>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.