crabs: crabs: Satellites Per Female Crab

crabsR Documentation

crabs: Satellites Per Female Crab

Description

In this data set there are 173 female crabs for which we wish to model the presence or absence of male satellites (male crabs) dependent upon characteristics of the female horseshoe crabs.

Usage

crabs

Format

A data frame with 173 observations (rows) and 7 variables (columns).

Column name Data type Description Values
[,1] color factor The color of the female crab (medium light, medium, medium dark, dark)
[,2] spine factor The spine condition (both good, one worn or broken, both worn or broken)
[,3] width numeric The female crab's width in cm (21.0 - 33.5)
[,4] num.satellites integer Number of male crabs residing with the female crab (0 - 15)
[,5] weight numeric The weight of the female crab in kg (1.2 - 5.2)
[,6] satellites.bin numeric If at least one satellite is present (0, 1)
[,7] satellites.pres character If at least one satellite is present ("YES", "NO")

The column [,6] satellites.bin is a binary variable and takes the value 1 if there is at least one satellites residing nearby the female crab, and 0 otherwise.

The explanatory variables are weight, width of shell, color, condition of spine and the response for each female crab is her number of satellites.

Examples


# A short summary of the variables
summary(crabs)

# Counting each combination of number of satellites and color
table(crabs[, c(1, 4)])


thoree/stat340 documentation built on June 30, 2024, 4:04 p.m.