Skip to contents

[Stable]

Convert old style, single drug .mb or USC*PACK files into a PM_data object and write a .csv file to the current working directory.

IDs will be suffixed with .1 to .9 for <10 subjects, .01 to .99 for <100 subjects and .001 to .999 for <1000 subjects, as needed to ensure unique ID numbers.

Usage

PMmb2csv(oldFiles, newFile = "data")

Arguments

oldFiles

A character vector of files in the current working directory to convert. This could be easily obtained with list.files.

newFile

A single character vector with the basename (without any file extension) of the new file to be created.

Value

A new file will be created with the name equal to newFile and an extension of "csv".

Author

Michael Neely