Learn R Programming

RSurvey (version 0.6-0)

ManageData: Manage Data

Description

A GUI for managing, querying, and formatting data.

Usage

ManageData(cols, vars, parent = NULL)

Arguments

cols
list; see Value.
vars
list; see Value.
parent
tkwin; the parent window (optional).

Value

  • Queries and sets the cols and vars components of Data. The cols object is a list whose length is equal to the current number of data variables. Each component in cols is linked to a specific variable, and contains the following components:
  • namecharacter; variable name.
  • unitcharacter; measurement units (optional); programmatic manipulation of measurement units is only supported for date and time variables.
  • idcharacter; a unique identifier that is typically created from a string concatenation of name and unit.
  • funcharacter; the expression evaluated when computing the vector of values for a variable.
  • indexinteger; the variables component index number in the data.raw data frame (see ImportData).
  • classcharacter; the class of the data vector object.
  • digsinteger; the precision of the variable, defined as the number of fractional digits or decimal places (optional).
  • summarylist; a summary of the variables descriptive statistics (see SummarizeData).
  • commentscharacter; user comments (optional).
  • The vars object is a list with components:
  • x, y, z, t, vx, vyinteger; the index number of the corresponding state variable in cols.

Details

This GUI lets you: (1) specify the names, measurement units, and decimal precision of variables; (2) add new variables based on user defined functions (see EditFunction); and (3) remove and (or) reorder variables in the data table.

See Also

EditFunction

Examples

Run this code
ManageData()

Run the code above in your browser using DataLab