R/hubble.R

#' Hubble Space Telescope Data
#'
#' Distances and velocities of 24 galaxies containing Cepheid stars,
#' from the Hubble space telescope key project to measure the Hubble constant.
#'
#' @docType data
#'
#' @usage data(hubble)
#'
#' @format A data frame with 3 columns and 24 rows. The columns are:
#' \itemize{
#' \item{Galaxy}{A (factor) label identifying the galaxy.}
#' \item{y}{The galaxy's relative velocity in kilometres per second.}
#' \item{x}{The galaxy's distance in Mega parsecs. 1 parsec is 3.09e13 km.}}
#'
#' @details Cepheids are variable stars which have a known relationship between
#' brightness and period. Hence the distance to galaxies containing these stars
#' can be estimated from the observed brightness of the Cepheid, relative to its
#' absolute brightness as predicted by its period. The velocity of the galaxy can
#' be estimated from its mean red-shift.
#'
#' @keywords datasets
#'
#' @references Freedman et al. (2001) Final results from the Hubble space telescope key project
#' to measure the Hubble constant. The Astrophysical Journal (553), 47-72.
#' \url{http://www.icr.org/pubs/imp/imp-352.htm}
#' NUCLEAR DECAY: EVIDENCE FOR A YOUNG WORLD - IMPACT No. 352 October 2002 by D. Russell Humphreys, Ph.D.
#' Wood, S.N. (2006) Generalized Additive Models: An Introduction with R. CRC press
#'
#' @source Copied from the \code{gamair} package which uses
#' Tables 4 and 5 of Freedman et al. 2001. The Astrophysical Journal 553:47-72
#'
#' @examples
#' data(hubble)
#'
"hubble"
julianfaraway/brinla documentation built on April 6, 2023, 2:33 p.m.