R Dataset / Package DAAG / sugar

On this R-data statistics page, you will find information about the sugar data set which pertains to Sugar Data. The sugar data set is found in the DAAG R package. You can load the sugar data set in R by issuing the following command at the console data("sugar"). This will load the data into a variable called sugar. If R says the sugar data set is not found, you can try installing the package by issuing this command install.packages("DAAG") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the sugar R data set. The size of this file is about 139 bytes.

Sugar Data

Description

The sugar data frame has 12 rows and 2 columns. They are from an experiment that compared an unmodified wild type plant with three different genetically modified forms. The measurements are weights of sugar that were obtained by breaking down the cellulose.

Usage

sugar

Format

This data frame contains the following columns:

weight

weight, in mg

trt

a factor with levels Control i.e. unmodified Wild form, A Modified 1, B Modified 2, C Modified 3

Source

Anonymous

Examples

sugar.aov <- aov(weight ~ trt, data=sugar)
fitted.values(sugar.aov)
summary.lm(sugar.aov)
sugar.aov <- aov(formula = weight ~ trt, data = sugar)
summary.lm(sugar.aov)

Dataset imported from https://www.r-project.org.

Attachments: csv, json

<iframe src="https://pmagunia.com/iframe/r-dataset-package-daag-sugar.html" width="100%" height="100%" style="border:0px"></iframe>