Menu.ExpImp: Exporting and importing Designs

Menu.ExpImpR Documentation

Exporting and importing Designs

Description

This help file describes facilities for exporting and importing designs.

Details

The Import sub menu of the Design menu allows to change the working directory, as a general convenience feature. Furthermore, it enables importing an R workspace with more than one object in it - this facility makes the first class design object in the work space the active data set, and it allows to import a design from the R workspace into R-Commander (=make it the active data set). Furthermore, a previously-exported design can be imported again, using both an edited csv-file (created from a stored html- or csv-file) and an rda-file. It is assumed that the csv file contains new responses, while the rda-file contains all the structural information on the design. (If the csv file contains responses ONLY, these must be in the correct order. If run order information is also contained in the csv file in the correct format, the rows of the file are correctly assigned to the rows of the design, even if reordered.)

The Export menu allows to save a complete R workspace or to export an individual experimental design. Furthermore, it also allows to save the generated code scripts (script window) and output (output window). Exporting an individual experimental design to csv and/or html is often useful, as experimental data are usually more easily entered using software like Excel. If the files are handled in a controlled way, response data that are entered as additional columns to an exported csv- or html-file can be re-imported later, using the re-import dialog accessible from the import menu. For more detail, cf. export.design for the exporting and add.response for the re-importing based on a csv-file and an rda-file.

Other features are not linked from the Design menu: If an experimental design is available in R format (e.g. by exporting it to rda, as mentioned in the previous paragraph) but responses are stored in a format different from csv, it is also possible to re-import the response data into the design. If the design without responses is the active design (e.g. after loading the rda file using the Load R workspace menu item from the Import sub menu of the Design menu), the response data can be imported using the appropriate menu item of the Import data sub menu of the Data management menu. Subsequently, the response data can be added to the design using the Add response variable(s)... item of the Modify design ... sub menu of the Design menu.

It is also possible of course to import experimental data generated elsewhere that do not contain the structural information available with class design by using the usual import facilities from the Data management menu of R-Commander. However, for such experimental data, the usability of special features of package RcmdrPlugin.DoE is severely restricted.

Author(s)

Ulrike Groemping


RcmdrPlugin.DoE documentation built on Oct. 7, 2023, 5:07 p.m.