Learn R Programming

FreqProf

R package for Frequency Profiles

Brief Summary

This package aims at computing and plotting frequency profiles - a method for visualizing the behavior of individuals in real time or post-hoc. It serves two functions, 1) to convert binary behavioral observation data into a frequency profile data format, and 2) to plot this data according to three paramaters. The three parameters are 1) window size, 2) step size, and 3) resolution. At one extreme, the parameters produce a cumulative record plot, at the other, they produce a barcode plot. This package includes a user-friendly interface - using the "Shiny App" framework - allowing people with no prior R programming experience to easily input their data, utilize the visualization tools, explore the effects of manipulating the parameters, and download publication quality plots. The FreqProf package also includes functions that allow the importation of data encoded in .bin, .fpw, and .csv formats.

Getting Started

Install the current version of the package by using devtools::install_github("AIBRT/FreqProf"), and then start the Shiny App example with runEx() after you've installed the package.

Copyright American Institute for Behavioral Research and Technology (http://aibrt.org/).

Copy Link

Version

Install

install.packages('FreqProf')

Monthly Downloads

184

Version

0.0.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Ronald E Robertson

Last Published

January 21st, 2016

Functions in FreqProf (0.0.1)

read.bin

Reads the data in the file "filename", which is supposed to be a .bin file
cor.testm

Correlation test for multiple variables - of the same name - in separate data.frames
ks.testm

Kolmogorov-Smirnov test for multiple variables - of the same name - in separate data.frames
freqprof

Convert data to moving sum/prop.
radj

Internal function for Resolution Adjustment
plot_freqprof

Plot Frequency Profiles.
ggplot_fp

Internal ggplot Wrapper to Graph Frequency Profiles
movfun

Internal function for Generating Moving Sum or Proportion
import_data

Import Data Pop Up
approxm

Interpolate multiple columns of a data.frame
read.fpw

Reads the data in the file "filename", which is supposed to be a .fpw file
s58

Occurrence/nonoccurrence data for four behaviors from a single subject
runEx

Run interactive FreqProf example (Shiny App)