Learn R Programming

kineticF (version 1.0)

kf.sort: Visualisation of summary statistics

Description

Plots summary statistics to aid data visualisation.

Usage

kf.sort(inf = NULL, is.octopus = FALSE, range.sex = NULL, range.age = NULL, range.qual = NULL, plot.isopter = "III4e", CI.or.Quant = "CI", force23 = TRUE)

Arguments

inf
name of the demographics matrix used
is.octopus
logical, TRUE if Octopus perimeter has been used
range.sex
character, either NULL (use all data) or "Male" or "Female"
range.age
numeric, either NULL (use all data) or single value or a vector of length 2 specifying a closed age range
range.qual
character, either NULL (use all data) or a single value from "Good witness", "Fair witness", "Poor witness"
plot.isopter
character, "III4e", "I4e", or "I2e"
CI.or.Quant
character, either "CI" or "Quant" for 95% CI"s or 95% quantile envelope
force23
logical, FALSE to define the closure of the bands at sectors 23 and 1; TRUE to define it at sectors 23 and 2

Value

mat.output
data.frame, containing 24 rows (sectors) for each individual with columns: ID, sector, dists x 3, freqs x 3 (corresponding to 3 isopters)
regions
list with elements, inner, middle and outer - matrices containing coordinates of output statistics
areas
character, vector of area values defined by output statistics

Examples

Run this code
kf.sort()

Run the code above in your browser using DataLab