You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: R/get.histogramscale.R
+18-5Lines changed: 18 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,24 @@
1
1
#' @title Scaling Factor for Combined Histogramm Plots
2
2
#'
3
-
#' @description Requires a dataframe as produced by datsteps(). (Meaning 6 columns in the following order: ID, group, minimum/earliest date, maximum/latest date, weight, 'DAT_Steps')
3
+
#' @description Requires a dataframe as produced by datsteps().
4
+
#' Meaning 6 columns in the following order:
5
+
#' * ID,
6
+
#' * group,
7
+
#' * minimum/earliest date,
8
+
#' * maximum/latest date,
9
+
#' * weight,
10
+
#' * 'DAT_Steps'
4
11
#'
5
12
#' @param DAT_df a dataframe as returned by datsteps
6
-
#' @param bw the bandwidtg to use. shoudl be stepsize used to compute the dataframe, and if a df as returned by datsteps() is automatically assigned
13
+
#' @param bw the bandwidth to use for the density function and histogram. Should be stepsize used to
14
+
#' create the dataframe. If a df as returned by datsteps() is given, stepsize is automatically assigned
15
+
#' using the corresponding attribute.
7
16
#'
8
-
#' @return the factor with which to scale the density curve to a histogram plot
17
+
#' @return the value with which to scale the density curve to a histogram plot so that both will be visible
0 commit comments