Open ldecicco-USGS opened 8 years ago
currentPlot <- boxPlot(tempDF$conc,
group = tempDF$month,
Box=list(type="tukey",censorstyle="estimated"))
$explanation$z
$explanation$z$stats
[,1]
[1,] -1.2
[2,] 0.1
[3,] 0.8
[4,] 1.5
[5,] 3.6
$explanation$z$n
[1] 54
$explanation$z$names
[1] ""
$explanation$z$out
[1] -2.4
$explanation$z$farout
[1] -3.7
$explanation$z$group
[1] 1 1
$explanation$z$censored
[1] -4.9
$explanation$z$estimated
[1] -Inf
$explanation$labels
This is for the explanation. There is no way to know a priori if there is an unusual estimated value.To include that information in the explanation, it would be easiest to have the illustrator insert it (or possible remove the red line as it is intended to be a warning to the user). It might be possible to post process the explanation for the box plot and rewrite the addExplanation function to handle that special case.
On Fri, Feb 19, 2016 at 11:15 AM, Laura DeCicco notifications@github.com wrote:
currentPlot <- boxPlot(tempDF$conc, group = tempDF$month, Box=list(type="tukey",censorstyle="estimated"))
$explanation$z $explanation$z$stats [,1] [1,] -1.2 [2,] 0.1 [3,] 0.8 [4,] 1.5 [5,] 3.6
$explanation$z$n [1] 54
$explanation$z$names [1] ""
$explanation$z$out [1] -2.4
$explanation$z$farout [1] -3.7
$explanation$z$group [1] 1 1
$explanation$z$censored [1] -4.9
$explanation$z$estimated [1] -Inf
$explanation$labels
[image: 2016-02-19_11-14-31] https://cloud.githubusercontent.com/assets/1105215/13182955/09320ab6-d6fa-11e5-90e8-68d348799458.png
— Reply to this email directly or view it on GitHub https://github.com/USGS-R/smwrGraphs/issues/29#issuecomment-186310144.
This line:
https://github.com/USGS-R/smwrGraphs/blob/master/R/renderBXP.R#L315
z$critical is null even when there is an unusual estimated value