The R Project SVN R

Rev

Rev 30448 | Rev 38075 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 30448 Rev 33065
Line 18... Line 18...
18
  \item{edit.row.names}{logical. Show the row names be displayed as
18
  \item{edit.row.names}{logical. Show the row names be displayed as
19
    a separate editable column?}
19
    a separate editable column?}
20
  \item{\dots}{further arguments passed to or from other methods.}
20
  \item{\dots}{further arguments passed to or from other methods.}
21
}
21
}
22
\details{
22
\details{
23
  At present, this only works on simple data frames containing numeric, 
23
  At present, this only works on simple data frames containing numeric,
24
  logical or character vectors and factors. Factors are represented in the
24
  logical or character vectors and factors.  Factors are represented in the
25
  spreadsheet as either numeric vectors (which is more suitable for data
25
  spreadsheet as either numeric vectors (which is more suitable for data
26
  entry) or character vectors (better for browsing). After editing,
26
  entry) or character vectors (better for browsing). After editing,
27
  vectors are padded with \code{NA} to have the same length and
27
  vectors are padded with \code{NA} to have the same length and
28
  factor attributes are restored.  The set of factor levels can not be
28
  factor attributes are restored.  The set of factor levels can not be
29
  changed by editing in numeric mode; invalid levels are changed to
29
  changed by editing in numeric mode; invalid levels are changed to
Line 34... Line 34...
34
  It is possible to use the data-editor's facilities to select the mode
34
  It is possible to use the data-editor's facilities to select the mode
35
  of columns to swap between numerical and factor columns in a data
35
  of columns to swap between numerical and factor columns in a data
36
  frame.  Changing any column in a numerical matrix to character will
36
  frame.  Changing any column in a numerical matrix to character will
37
  cause the result to be coerced to a character matrix.  Changing 
37
  cause the result to be coerced to a character matrix.  Changing 
38
  the mode of logical columns is not supported.
38
  the mode of logical columns is not supported.
-
 
39
 
-
 
40
  The columns are coerced on input to numeric unless logical, character
-
 
41
  or factor (which may well not be what you want), and character columns
-
 
42
  not protected by \code{\link{I}()} will be coerced to factor on return.
39
}
43
}
40
\value{
44
\value{
41
  The edited data frame.
45
  The edited data frame.
42
}
46
}
43
\author{ Peter Dalgaard }
47
\author{ Peter Dalgaard }