Learn R Programming

isdals (version 3.0.1)

ricestraw: Weight increase for cattle fed with rice straw

Description

Weight gain of cattle fed with rice straw to see if rice straw can replace wheat straw as potential feed for slaughter cattle in Tanzania

Usage

data(ricestraw)

Arguments

Format

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

time

number of days that the calf has been fed rice straw

weight

weight gain (in kg) since the calf was first fed rice straw

Examples

Run this code
data(ricestraw)
plot(ricestraw$time, ricestraw$weight)
lm(weight ~ time, data=ricestraw)

Run the code above in your browser using DataLab