plot_sampled_2d_ple: Plot 2D profile likelihood estimations.

Description Usage Arguments Examples

View source: R/sbpiper_pe.r

Description

Plot 2D profile likelihood estimations.

Usage

1
2
plot_sampled_2d_ple(df, parameter1, parameter2, fileout, title = "",
  logspace = TRUE, scientific_notation = TRUE)

Arguments

df

the data set containing the parameter estimates to plot.

parameter1

the name of the first parameter

parameter2

the name of the second parameter

fileout

the output file

title

the plot title (default: "")

logspace

true if the parameters should be plotted in logspace (default: TRUE)

scientific_notation

true if the axis labels should be plotted in scientific notation (default: TRUE)

Examples

1
2
3
4
5
6
7
8
9
dir.create(file.path("pe_plots"))
data(insulin_receptor_all_fits)
colnames(insulin_receptor_all_fits)[1] <- "ObjVal"
insulin_receptor_all_fits[,2:4] <- log10(insulin_receptor_all_fits[,2:4])
fileout <- file.path("pe_plots", "2d_ple_k1_k2.pdf")
plot_sampled_2d_ple(df=insulin_receptor_all_fits, 
                    parameter1="k1", 
                    parameter2="k2", 
                    fileout=fileout) 

pdp10/sbpiper documentation built on May 17, 2019, 11:17 p.m.