htmlPlots: HTML for clickable plots

View source: R/io.R

htmlPlotsR Documentation

HTML for clickable plots

Description

Internal soundgen function

Usage

htmlPlots(
  x,
  savePlots,
  changesAudio,
  suffix,
  extension = "png",
  width = "900px"
)

Arguments

width

default flex-basis, ie approximate default width of each image

myfolder

full path to target folder, without a '/' at the end

myfiles

a list of full names of files (with paths and extensions)

Details

Writes an html file for displaying clickable plots in a browser.

Examples

## Not run: 
## Functions that modify audio
# relative paths
flatEnv('/home/allgoodguys/Downloads/temp', savePlots = '')
flatEnv('/home/allgoodguys/Downloads/temp',
  savePlots = '/home/allgoodguys/Downloads/temp/compr',
  saveAudio = '/home/allgoodguys/Downloads/temp/compr')

# absolute paths
flatEnv('/home/allgoodguys/Downloads/temp', savePlots = '',
  saveAudio = '/home/allgoodguys/Downloads/temp/compr')
flatEnv('/home/allgoodguys/Downloads/temp',
  savePlots = '~/Downloads/temp/plots_compr')


## Functions that only analyze audio
getRMS('/home/allgoodguys/Downloads/temp', savePlots = '')
getRMS('/home/allgoodguys/Downloads/temp',
  savePlots = '~/Downloads/temp/plots_rms')

## End(Not run)

soundgen documentation built on Aug. 14, 2022, 5:05 p.m.