Skip to content
/ rmedpc Public

Single function R package to import data files from Med Associates operant conditoining chambers

Notifications You must be signed in to change notification settings

gkane26/rmedpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rmedpc: Single function R package to import MEDPC data files into an R list

To install, first make sure devtools package in installed. In an R session:

install.packages("devtools")

Next, install this package directly from github:

devtools::install_github("gkane26/rmedpc")

Instructions for use

The function takes one argument - the path to the MedPC data file. It returns a list containing each of the variables from MedPC. Variables can be referenced by name:

filename = file.choose()
med_data = rmedpc::import_medpc(filename)

# example references to variables
print(med_data$Subject)
print(med_data$'Start Date')
print(med_data$A)

About

Single function R package to import data files from Med Associates operant conditoining chambers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages