rte-antares-rpackage / leaflet.minicharts
Showing 2 of 11 files from the diff.
Newly tracked file
R/add_minicharts.R changed.
Newly tracked file
R/add_flows.R changed.
Other files ignored by Codecov

@@ -8,7 +8,7 @@
Loading
8 8
#'
9 9
#' @param map A leaflet map object created with \code{\link[leaflet]{leaflet}}.
10 10
#' @param lng Longitude where to place the charts.
11 -
#' @param lat Lattitude where to place the charts.
11 +
#' @param lat Latitude where to place the charts.
12 12
#' @param chartdata A numeric matrix with number of rows equal to the number of
13 13
#'   elements in \code{lng} or \code{lat} and number of column equal to the
14 14
#'   number of variables to represent. If parameter \code{time} is set, the
@@ -47,7 +47,7 @@
Loading
47 47
#' @param transitionTime Duration in milliseconds of the transitions when a
48 48
#'   property of a chart is updated.
49 49
#' @param popup Options that control popup generation.
50 -
#' @param layerId An ID variable. It is mandatoy when one wants to update some
50 +
#' @param layerId An ID variable. It is mandatory when one wants to update some
51 51
#'   chart with \code{updateMinicharts}.
52 52
#' @param legend If TRUE and if data has column names, then a legend is
53 53
#'   automatically added to the map.
@@ -59,7 +59,7 @@
Loading
59 59
#'   shown when the map is created. It is used only when argument \code{time} is
60 60
#'   set.
61 61
#' @param onChange (For power users who know javascript) A character string
62 -
#'   containing javascript code that is exexuted each time a chart is updated.
62 +
#'   containing javascript code that is executed each time a chart is updated.
63 63
#'   See the details section to understand why and how to use this parameter.
64 64
#'
65 65
#' @details

@@ -6,9 +6,9 @@
Loading
6 6
#' direction of the flow.
7 7
#'
8 8
#' @param lng0 Longitude of the origin of the flow.
9 -
#' @param lat0 Lattitude of the origin of the flow.
9 +
#' @param lat0 Latitude of the origin of the flow.
10 10
#' @param lng1 Longitude of the destination of the flow.
11 -
#' @param lat1 Lattitude of the destination of the flow.
11 +
#' @param lat1 Latitude of the destination of the flow.
12 12
#' @param color Color of the flow.
13 13
#' @param flow Value of the flow between the origin and the destination. If
14 14
#'   argument \code{dir} is not set, negative values are interpreted as flows
@@ -33,7 +33,7 @@
Loading
33 33
#' leaflet() %>% addTiles() %>%
34 34
#'   addFlows(0, 0, 1, 1, flow = 10)
35 35
#'
36 -
#' # Electric exchanges between France and neighbouring countries
36 +
#' # Electric exchanges between France and neighboring countries
37 37
#' data("eco2mixBalance")
38 38
#' bal <- eco2mixBalance
39 39
#' leaflet() %>% addTiles() %>%
Files Coverage
R 93.40%
Project Totals (8 files) 93.40%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading