plotPPCurve: A custom ggplot2 wrapper

Description Usage Arguments Author(s) Examples

View source: R/plotPPCurve.R

Description

This function allows you to create a ggplot psychometric curve with automatic theming and addition of lines of the objective point of equivalance. Optionnaly, the standard errors can be added.

Usage

1
2
plotPPCurve(dt, vars = NULL, xvar = NULL, resp = "resp", se = F,
  axnames = NULL)

Arguments

dt

A data frame with mean already computed

vars

A vector of variables to use including the subjects

xvar

A variable to designate the x axis

resp

A string of the column name the dependent variable (VD) (y axis)

se

A logical value to display standard error (should be called se) Defaults to False

axnames

A vector of length 2 with the stings to use as y label and x label

Author(s)

Guillaume T. Vallet gtvallet@gmail.com

Examples

1
plotme()

Cogitos/pphy documentation built on May 6, 2019, 12:21 p.m.