plotden: Density plot of Cq data

Description Usage Arguments Value Author(s) See Also Examples

View source: R/plotden.R

Description

Produces density plot of Cq data (possibly from cqdat object). Can include line representing proprtion of negative partitions.

Usage

1
2
3
plotden(data, detr = "xy", new = TRUE, bw = 0.05, N = 770, 
  inc0 = TRUE, col = "black", main = "Density plot of Cq data", 
  xlab = expression("C"["q"]), ...)

Arguments

data

either cqdat object, vector of Cq values, or matrix/dataframe with columns named "x", "y" and "cq" cotaining x, y and Cq values.

detr

character string indicating which variables x, y, both or neither to detrend.

new

logical, if FALSE, adds plot to existing plot.

bw

the smoothing bandwidth used by density.

N

total number of partitions, used to determine fraction of negative parititions if inc0 is TRUE.

inc0

logical, if TRUE then plot includes line representing fraction of negative partitions.

col

positive integer or character string indicating line colour.

main

plot title.

xlab

x-axis label.

...

other plotting parameters.

Value

A list with components:

density

an object with class "density" (see density).

p0

proportion of negative partitions.

Author(s)

Philip Wilson

See Also

plotall

Examples

1
2
dat<-fetch(Exp37a,1)
plotden(dat)

edpcr documentation built on May 2, 2019, 5:22 p.m.

Related to plotden in edpcr...