diff --git a/NEWS.md b/NEWS.md index a5ef78e4..5e981663 100644 --- a/NEWS.md +++ b/NEWS.md @@ -167,7 +167,7 @@ JavaScript code to draw a spectrogram as a raster * `emuRtrackdata` object now contains a `times_norm` (normalized time values between 0 and 1 for each segment) column by default * added note to `print.emuRsegs()` to give the user a hint about missing columns * implemented `print.emuRtrackdata()` to avoid overly verbose output -* implemented `normalize_length()` function as S3 function to normalize the lenght of each segment in an `emuRtrackdata` object +* implemented `normalize_length()` function as S3 function to normalize the length of each segment in an `emuRtrackdata` object * added `absolute_file_path` column to output of `list_files()` * query engine does not rely on label index in label array any more (updated `convert_queryResultToEmuRsegs()` to use `resultAttrDef` instead of `labelIdx`). Closes \#164. * added `browser` argument to `serve()` function which is passed on to `utils::browseURL()` function diff --git a/R/cr.R b/R/cr.R index c4b50f6e..bdfee7c9 100644 --- a/R/cr.R +++ b/R/cr.R @@ -214,7 +214,7 @@ ##' @param textplot A list containing \$radius, \$textin, \$pivals for plotting ##' text at specified angles and radii on the circle. \$radius: a vector of ##' amplitudes of the radii at which the text is to be plotted; \$textin: a -##' vector of chacacter labels to be plotted; \$pivals: the angle, in radians +##' vector of character labels to be plotted; \$pivals: the angle, in radians ##' relative to zero radians (top of the circle) at which the text is to be ##' plotted. Defaults to NULL ##' @param lineplot Plot lines from the centre of the circle to the diff --git a/R/emuR-dataDocs.R b/R/emuR-dataDocs.R index 93c2dbb7..2986f4ac 100644 --- a/R/emuR-dataDocs.R +++ b/R/emuR-dataDocs.R @@ -288,7 +288,7 @@ NULL #' result of get fm data for the segment list demo.vowels (see #' data(demo.vowels)). #' -#' A track list is created via the \code{\link{get_trackdata}} funciton. +#' A track list is created via the \code{\link{get_trackdata}} function. #' #' @format index: a two columned matrix with the range of the \$data rows that #' belong to the segment ftime: a two columned matrix with the times marks of diff --git a/R/emuR-plotting.R b/R/emuR-plotting.R index 1a8e2ae5..5c53489e 100644 --- a/R/emuR-plotting.R +++ b/R/emuR-plotting.R @@ -24,7 +24,7 @@ ##' } ##' @param dynRangeInDB dynamic range in DB of spectrogram ##' @param audioChannel channel of audio file to draw spectrogram of (only -##' applicable when using multi-chanel audio files) +##' applicable when using multi-chnanel audio files) ##' @param preEmphasisFilterFactor used in time domain for amplifying high-freqs ##' @param invert invert the colors of the spectrogram ##' @return a image raster object diff --git a/R/emuR-requery.database.R b/R/emuR-requery.database.R index b83e0939..579d137a 100644 --- a/R/emuR-requery.database.R +++ b/R/emuR-requery.database.R @@ -99,7 +99,7 @@ check_tibbleForRequery <- function(tbl){ ##' child level contains time information and the queried parent level is of type ITEM. ##' @param verbose be verbose. Set this to \code{TRUE} if you wish to choose which ##' path to traverse on intersecting hierarchies. If set to \code{FALSE} (the -##' default) all paths will be traversed (= legacy EMU bahaviour). +##' default) all paths will be traversed (= legacy EMU behaviour). ##' @return result set object of class \link{emuRsegs} or \link{tibble} ##' @export ##' @seealso \code{\link{query}} \code{\link{requery_hier}} \code{\link{emuRsegs}} @@ -392,7 +392,7 @@ requery_seq <- function(emuDBhandle, ##' necessary to set this parameter if more than one child level contains time information and the queried ##' parent level is of type ITEM. ##' @param verbose be verbose. Set this to \code{TRUE} if you wish to choose which path to traverse on intersecting -##' hierarchies. If set to \code{FALSE} (the default) all paths will be traversed (= legacy EMU bahaviour). +##' hierarchies. If set to \code{FALSE} (the default) all paths will be traversed (= legacy EMU behaviour). ##' @return result set object of class \link{emuRsegs} or \link{tibble} ##' @export ##' @seealso \code{\link{query}} \code{\link{requery_seq}} \code{\link{emuRsegs}} diff --git a/R/misc.R b/R/misc.R index 4be5d022..b62482ba 100644 --- a/R/misc.R +++ b/R/misc.R @@ -247,7 +247,7 @@ ##' Sorts matrix by label ##' ##' -##' @param mat A mu+ sement matrix. +##' @param mat A mu+ segment matrix. ##' @param labs A label vector which has the same number of columns as ##' \code{mat}. ##' @return Returns a sorted matrix by label, created from \code{mat}. diff --git a/man/create_spectrogram_image_as_raster.Rd b/man/create_spectrogram_image_as_raster.Rd index efc77b12..a0ebc306 100644 --- a/man/create_spectrogram_image_as_raster.Rd +++ b/man/create_spectrogram_image_as_raster.Rd @@ -52,7 +52,7 @@ are: \item{dynRangeInDB}{dynamic range in DB of spectrogram} \item{audioChannel}{channel of audio file to draw spectrogram of (only -applicable when using multi-chanel audio files)} +applicable when using multi-chnanel audio files)} \item{preEmphasisFilterFactor}{used in time domain for amplifying high-freqs} diff --git a/man/crplot.Rd b/man/crplot.Rd index 86b1c4d4..aa15adbb 100644 --- a/man/crplot.Rd +++ b/man/crplot.Rd @@ -72,7 +72,7 @@ of movement.} \item{textplot}{A list containing \$radius, \$textin, \$pivals for plotting text at specified angles and radii on the circle. \$radius: a vector of amplitudes of the radii at which the text is to be plotted; \$textin: a -vector of chacacter labels to be plotted; \$pivals: the angle, in radians +vector of character labels to be plotted; \$pivals: the angle, in radians relative to zero radians (top of the circle) at which the text is to be plotted. Defaults to NULL} diff --git a/man/demo.vowels.fm.Rd b/man/demo.vowels.fm.Rd index 3f735dab..5ed149eb 100644 --- a/man/demo.vowels.fm.Rd +++ b/man/demo.vowels.fm.Rd @@ -15,7 +15,7 @@ result of get fm data for the segment list demo.vowels (see data(demo.vowels)). } \details{ -A track list is created via the \code{\link{get_trackdata}} funciton. +A track list is created via the \code{\link{get_trackdata}} function. } \seealso{ \code{\link{demo.all.rms}} \code{\link{segmentlist}} diff --git a/man/requery_hier.Rd b/man/requery_hier.Rd index e8f892b1..6974838f 100644 --- a/man/requery_hier.Rd +++ b/man/requery_hier.Rd @@ -36,7 +36,7 @@ necessary to set this parameter if more than one child level contains time infor parent level is of type ITEM.} \item{verbose}{be verbose. Set this to \code{TRUE} if you wish to choose which path to traverse on intersecting -hierarchies. If set to \code{FALSE} (the default) all paths will be traversed (= legacy EMU bahaviour).} +hierarchies. If set to \code{FALSE} (the default) all paths will be traversed (= legacy EMU behaviour).} } \value{ result set object of class \link{emuRsegs} or \link{tibble} diff --git a/man/requery_seq.Rd b/man/requery_seq.Rd index 44135bb6..07dd7caf 100644 --- a/man/requery_seq.Rd +++ b/man/requery_seq.Rd @@ -45,7 +45,7 @@ child level contains time information and the queried parent level is of type IT \item{verbose}{be verbose. Set this to \code{TRUE} if you wish to choose which path to traverse on intersecting hierarchies. If set to \code{FALSE} (the -default) all paths will be traversed (= legacy EMU bahaviour).} +default) all paths will be traversed (= legacy EMU behaviour).} } \value{ result set object of class \link{emuRsegs} or \link{tibble} diff --git a/man/sortmatrix.Rd b/man/sortmatrix.Rd index c53fb946..d4911111 100644 --- a/man/sortmatrix.Rd +++ b/man/sortmatrix.Rd @@ -7,7 +7,7 @@ sortmatrix(mat, labs = dimnames(mat)[[2]]) } \arguments{ -\item{mat}{A mu+ sement matrix.} +\item{mat}{A mu+ segment matrix.} \item{labs}{A label vector which has the same number of columns as \code{mat}.}