welcome: please sign in

Sie müssen sich anmelden, um diese Aktion benutzen zu können: EditInEtherpad.

Nachricht löschen
location: RstatisTik / RstatisTikPortal / RcourSe / CourseOutline / DeducerR

About Deducer

Why Deducer?

Deducer is designed to be a free easy-to-use alternative to proprietary data analysis software such as SPSS, JMP, and Minitab. It has a menu system to perform common data manipulation and analysis tasks, and an excel-like spreadsheet in which to view and edit data frames. The goal of the project is two fold.

Why Not?

Installation

   1 install.packages(c("Deducer","DeducerExtras"))

Prepare

alt text

alt text

alt text

First Steps

alt text

alt text

Open the Data Viewer

The data viewer provides an easy to use, spreadsheet-like environment to view and edit data. Copy and pasting is supported, and is compatible with Excel 2003/2007, so data can be moved from Excel to R by simply copying it to the data viewer. Contextual menus are used to insert, delete and copy rows and columns.

alt text

The Data Viewer - Data View

alt text

alt text

The Data Viewer - Variable View

alt text

In the variable view The variable column represents the variable name. The type column determines the storage type.

The levels of Factors are displayed in the 'Factor Levels' column, and can be edited by clicking on the appropriate cell, which brings up the Factor Editor.

alt text

Exercise

  1. Find and load the MASS package (via the Packages & Data menu).

  2. Load the Pima.te data (if you haven't done it already)

Some Basic Descriptives

Tables

alt text

Numeric Summaries

alt text

alt text

alt text

Exercises

  1. use the steps above to get the mean, median, the 25th percentile and the 75th percentile of the bmi variable
  2. do the same again but now use the Strata box in the second (with variable type). Is there a difference regarding to those summary statistics between the groups?

alt text

Exercises for RStudio Users

   1 library(MASS)
  1. load the Pima.te data by typing

   1 data(Pima.te)
  1. get information about the frequencies of npreg type

   1 table(Pima.te$npreg) 

   1 prop.table(table(Pima.te$npreg))
  1. do the same with the type variable
  2. use the summary command to get basic information about the distribution of the the bmi variable

   1 summary(Pima.te$bmi)