print.summary.emg: Shows the content of an 'emg' summary on the console

Description Usage Arguments Value Author(s) See Also Examples

View source: R/print.summary.emg.R

Description

S3 generic to show the content of an ‘emg’ summary on the console.

Usage

1
2
## S3 method for class 'summary.emg'
print(x, ...)

Arguments

x

an object of class ‘summary.emg’.

...

additional arguments to be passed to the generic function.

Value

Some values printed on screen.

Author(s)

J.A. Guerrero jaguerrero@correo.uaa.mx

See Also

emg

Examples

1
2
3
4
5
6
# Creates a random vector to simulate an EMG signal
x <- rnorm(10000, 0, 1)
# Creates an 'emg' object to store x
emg1 <- emg(x, samplingrate = 1000, units = "mV", data.name = "")
# Summarize and visualize the data
summary(emg1)

Example output

EMG Object
	Total number of samples: 10000
	Number of channels: 1
	Duration (seconds):  10
	Samplingrate (Hertz):  1000
	Channel information:
	Units:  mV

biosignalEMG documentation built on May 2, 2019, 12:07 p.m.