editDataset.design {RcmdrPlugin.DoE} | R Documentation |
function to add a warning to the Rcmdr editDataset function
Description
invokes a warning message before the data.frame method of editDataset is called
Usage
## S3 method for class 'design'
editDataset(data, dsname, ...)
Arguments
data |
an object of class |
dsname |
a character string argument, which is always missing in the usage of the function |
... |
not used |
Details
It is discouraged to edit design objects from within R. Users should export the design and re-import it after adding response data.
Nevertheless, it is possible to add response values by adding numeric columns to
the design with the editor (never edit factors!),
and users will have to attach the responses added
to an edited design to their original design afterwards, using e.g. the
Modify design -> Add response variables ...
menu, providing the edited data set as the R object that contains the responses.
Value
a data.frame with .edited
appended to the original design name
and without any class design properties.
If editing involved adding response data, the edited file can be used for adding respones to the design object (see Details section).
Warning
Editing a class design object is seldom useful.
Author(s)
Ulrike Groemping