lineprof: Identifies significant changes in a changing data set with...

Description Usage Arguments Value Examples

View source: R/lineprof.R

Description

lineprof identifies the most significant statistical change in mean, variance, or both mean and variance in the data (often pixel data) as specified by user on changing datasets

Usage

1
lineprof(data, L_per_pix = 1, type = "meanvar")

Arguments

data

a dataframe by read.csv of a .csv created from using the ImageJ macro found in vignette. Or simply a dataframe with each column representing a new instance (with potential changes) of a data set of same N

L_per_pix

a unit conversion of length per pixel, or desired unit per data unit default = 1 or no conversion

type

type of changepoint desired. Choose between "meanvar" (mean and variance), "mean", "variance", and "all" (changepoints for meanvar, mean, and variance); note the default is "meanvar" see Killick et al., 2013 for more details

Value

results in a dataframe with time interval, filename, changepoint in units of original data, a conversion labeled as unit.length

Examples

1
2
changepoint_df <- lineprof(data = df, L_per_pix = 0.123, type = "mean")
changepoint_df <- lineprof(data = df, L_per_pix = 500, type = "variance")

jbrabazon13/profilr documentation built on May 20, 2019, 2:58 p.m.