# NOT RUN {
#========================================================================================
# The 1st example
#========================================================================================
v <- v_truth_creator_for_many_readers_MRMC_data(M=1,Q=37)
m <- mu_truth_creator_for_many_readers_MRMC_data(M=1,Q=37)
d <- create_dataList_MRMC(mu.truth = m,v.truth = v)
plot_FPF_TPF_via_dataframe_with_split_factor(d,
colored_by_modality = TRUE,
numbered_by_modality = TRUE)
plot_FPF_TPF_via_dataframe_with_split_factor(d,
colored_by_modality = FALSE,
numbered_by_modality = TRUE)
plot_FPF_TPF_via_dataframe_with_split_factor(d,
colored_by_modality = TRUE,
numbered_by_modality = FALSE)
plot_FPF_TPF_via_dataframe_with_split_factor(d,
colored_by_modality = FALSE,
numbered_by_modality = FALSE)
#========================================================================================
# The 2-nd example
#========================================================================================
#
v <- v_truth_creator_for_many_readers_MRMC_data(M=2,Q=37)
m <- mu_truth_creator_for_many_readers_MRMC_data(M=2,Q=37)
d <- create_dataList_MRMC(mu.truth = m,v.truth = v)
plot_FPF_TPF_via_dataframe_with_split_factor(d,
colored_by_modality = TRUE,
numbered_by_modality = TRUE)
plot_FPF_TPF_via_dataframe_with_split_factor(d,
colored_by_modality = FALSE,
numbered_by_modality = TRUE)
plot_FPF_TPF_via_dataframe_with_split_factor(d,
colored_by_modality = TRUE,
numbered_by_modality = FALSE)
plot_FPF_TPF_via_dataframe_with_split_factor(d,
colored_by_modality = FALSE,
numbered_by_modality = FALSE)
#========================================================================================
# The 3rd example
#========================================================================================
v <- v_truth_creator_for_many_readers_MRMC_data(M=3,Q=7)
m <- mu_truth_creator_for_many_readers_MRMC_data(M=3,Q=7)
d <- create_dataList_MRMC(mu.truth = m,v.truth = v)
plot_FPF_TPF_via_dataframe_with_split_factor(d,
colored_by_modality = TRUE,
numbered_by_modality = TRUE)
plot_FPF_TPF_via_dataframe_with_split_factor(d,
colored_by_modality = FALSE,
numbered_by_modality = TRUE)
plot_FPF_TPF_via_dataframe_with_split_factor(d,
colored_by_modality = TRUE,
numbered_by_modality = FALSE)
plot_FPF_TPF_via_dataframe_with_split_factor(d,
colored_by_modality = FALSE,
numbered_by_modality = FALSE)
#========================================================================================
# The 4th example
#========================================================================================
plot_FPF_TPF_via_dataframe_with_split_factor( dataList.MRMC = dd,
colored_by_modality = TRUE,
numbered_by_modality = TRUE)
#========================================================================================
# The 5th example
#========================================================================================
# }
# NOT RUN {
a <- plot_FPF_TPF_via_dataframe_with_split_factor(dd)
p <- ggplot2::ggplot(a, ggplot2::aes(FPF, TPF,
group = factor(factor),
colour = factor(m)) ) +
ggplot2::geom_line(size = 1.4)
print(p)
#========================================================================================
# The 6th example
#========================================================================================
a <- plot_FPF_TPF_via_dataframe_with_split_factor(dd,cex = 1.8)
#========================================================================================
# The 7th example
#========================================================================================
# Plot empirical FROC curve whose modality is specified as following manner
a <- plot_FPF_TPF_via_dataframe_with_split_factor(dd)
aa <- a[a$m == c(2,3), ]
p <- ggplot2::ggplot(aa, ggplot2::aes(FPF, TPF,
group = factor(factor),
colour = factor(m)) ) +
ggplot2::geom_line(size = 1.4)
print(p)
# Plot empirical FROC curve whose modality is specified as following manner
a <- plot_FPF_TPF_via_dataframe_with_split_factor(dd)
aa <- a[a$m %in% c(4,3), ]
p <- ggplot2::ggplot(aa, ggplot2::aes(FPF, TPF,
group = factor(factor),
colour = factor(m)) ) +
ggplot2::geom_line(size = 1.4)
print(p)
# Plot empirical FROC curve whose modality is specified as following manner
a <- plot_FPF_TPF_via_dataframe_with_split_factor(dd)
aa <- a[a$m %in% c(3,4), ]
p <- ggplot2::ggplot(aa, ggplot2::aes(FPF, TPF,
group = factor(factor),
colour = factor(m)) ) +
ggplot2::geom_line(size = 1.4)
print(p)
# Close_all_graphic_devices()
# }
# NOT RUN {
#dontrun
# }
Run the code above in your browser using DataLab