expdesigndata: expdesigndata

expdesigndataR Documentation

expdesigndata

Description

expdesigndata: Designed to add datasets which are used in the textbook

Details

Additional Datasets to Accompany Montgomery Experimental Design, Tenth Edition

THIS IS NOT a substitute for the textbook. You will almost certainly not be able to use anything in this package without having the textbook. Rather, this package is supplemental and is only designed to save you time that you would otherwise spend typing data into R or into a spreadsheet.

Usage

expdesigndata contributes no additional functions, but it does have data and documentation. You need not specify the location of a dataset; simply use the data() function to read the data into your current environment after you have loaded the library.

Table of Contents

expdesigndata contains its own table of contents for the datasets that it includes. This table of contents may not be up-to-date, and we would appreciate your contributions if you find a dataset that doesn't have an entry. Instructions on how to do so are in CONTRIBUTING.md. To view the table of contents, use the help() function in R to view the toc object documentation: help(toc). Please note that the toc object doesn't actually exist in any meaningful way, so trying to reference it will result in just a message.

Loading Data

All datasets in expdesigndata are provided as R datasets, so to use a dataset, simply use the data() function after you have loaded in the library. Consult the table of contents to find the name of a dataset. For example, use data(flares) to load the flares dataset into your environment. The data will be loaded in as a dataframe, so you can use any method to view or manipulate that data as you would any other dataframe, including using tidyr:: functions. If you are new to R, you need not fear overwriting the library datasets, since you are editing data that is in your own environment.

Examples

help(toc)
head(flares)
str(flares)

## Not run: 
View(flares)
## End(Not run)


kim3-sudo/expdesigndata documentation built on April 12, 2022, 9:24 a.m.