mean.abf: Calculate mean values of an abf object.

Description Usage Arguments Value

Description

Returns a matrix/data.frame containing episodic mean values of each channel.

Usage

1
2
3
## S3 method for class 'abf'
mean(abf, intv = NULL, ret.df = FALSE,
  use_chan_name = FALSE, na.rm = TRUE, ...)

Arguments

abf

an abf object.

intv

OPTIONAL, an interval to mean over.

ret.df

whether to return a data.frame object, if set to FALSE a matrix is returned instead.

use_chan_name

whether to use channel names as colnames, set to FALSE to use descriptive names instead.

na.rm

whether to remove NA values.

...

passed to arithmetic mean.

Value

A matrix/data.frame.


Crystal-YWu/abftools documentation built on May 10, 2019, 8:22 a.m.