Last data update: 2014.03.03

R: Slug data
slugR Documentation

Slug data

Description

Lengths and weights of 100 slugs from the species Limax maximus collected around Hamilton, New Zealand.

Format

A data frame with 100 observations on the following 4 variables.

  • length. length (mm) of the slug

  • weight. weight (g) of the slug

  • log.len. natural logarithm of the length

  • log.wt. natural logarithm of the weight

References

Barker, G. and McGhie, R. (1984). The Biology of Introduced Slugs (Pulmonata) in New Zealand: Introduction and Notes on Limax Maximus, NZ Entomologist 8, 106–111.

Examples


data(slug)
plot(weight~length, data = slug)
plot(log.wt~log.len, data = slug)


Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(Bolstad)

Attaching package: 'Bolstad'

The following objects are masked from 'package:stats':

    IQR, sd, var

> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/Bolstad/slug.Rd_%03d_medium.png", width=480, height=480)
> ### Name: slug
> ### Title: Slug data
> ### Aliases: slug
> ### Keywords: datasets
> 
> ### ** Examples
> 
> 
> data(slug)
> plot(weight~length, data = slug)
> plot(log.wt~log.len, data = slug)
> 
> 
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>