computeDiagPhotoZ: Simple diagnostics for the photometric redshift results

Description Usage Arguments Value Author(s) Examples

View source: R/computeDiagPhotoZ.R

Description

computeDiagPhotoZ computes a list of simple summary statistics for the photometric redshift estimation.

Usage

1
computeDiagPhotoZ(photoz, specz)

Arguments

photoz

vector

specz

vector

Value

a list containing the summary statistics

Author(s)

Rafael S. de Souza, Alberto Krone-Martins

Examples

1
2
3
4
5
6
# First, generate some mock data
ppo <- runif(1000, min=0.1, max=2)
ppo_ph <- rnorm(length(ppo), mean=ppo, sd=0.05)

# Now, compute the summary stats
computeDiagPhotoZ(ppo_ph, ppo)

CosmoPhotoz documentation built on May 29, 2017, 3:59 p.m.