PMmb2csv will convert old style, single drug .mb or USC*PACK files into a single .csv matrix file.

## 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”.

## Details

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.

Michael Neely