Menu.ExpImp: Exporting and importing Designs
Description
This help file describes facilities for exporting and importing designs.Details
Importing a design into R-Commander can either mean selecting it as the active
data set from the R-workspace (with the advantage of being offered designs only)
or importing a previously-exported design, 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.
Some export/import features of the R commander in general are linked from the
Import and Export sub menus of the Design menu in
order to save users unfamiliar with R the effort of finding out where to look.
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 data menu item from the Data management 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.