Learn R Programming

UsingR (version 2.0-7)

bright.stars: List of bright stars with Hipparcos catalog number

Description

List of bright stars with Hipparcos catalog number.

Usage

data(bright.stars)

Arguments

Format

A data frame with 96 observations on the following 2 variables.

name

Common name of star

hip

HIP number for identification

Details

The source of star names goes back to the Greeks and Arabs. Few are modern. This is a list of 96 common stars.

Examples

Run this code
# NOT RUN {
data(bright.stars)
all.names  = paste(bright.stars$name, sep="", collapse="")
x = unlist(strsplit(tolower(all.names), ""))
letter.dist = sapply(letters, function(i) sum(x == i))
data(scrabble)			#  for frequency info
p = scrabble$frequency[1:26];p=p/sum(p)
chisq.test(letter.dist, p=p)	# compare with English
# }

Run the code above in your browser using DataLab