data(HsSP)
data(drc)
if(requireNamespace("plotly", quietly = TRUE)) {
PolarPlotData(Data=HsSP, drc=drc, thr=NULL, pointSize=4, fontSize=14,
thrWidth=4, ylim=c(0,max(HsSP)))
data(thresholdExampleML) # loads threshold example
PolarPlotData(Data=HsSP, drc=drc, thr=thresholdExampleML, pointSize=4,
fontSize=12, thrWidth=4, ylim=c(0,max(HsSP)))
} else {
message("Skipping PolarPlotData examples because the 'plotly' package is not installed.")
}
Run the code above in your browser using DataLab