Skip to content

XGobi

2 messages · Christian Hennig, Martin Maechler

#
Dear list,

I do not understand how to get group variables from XGobi into R.
For example, I start with
data(laser)
xgobi(laser)
and in xgobi I brush some points red. Now xgobi creates a group
variable (I did not understand *when* this group variable is created
and how I get it even in xgobi, but, however, suddenly it was
there...). What must I do if I want this group variable as a variable of
R?

Thanx,
Christian

***********************************************************************
Christian Hennig
University of Hamburg, Fachbereich Mathematik - SPST
 (Schwerpunkt Mathematische Statistik und Stochastische Prozesse,
 Zentrum fuer Modellierung und Simulation)
Bundesstrasse 55, D-20146 Hamburg, Germany
Tel: x40/42838 4907, privat x40/631 62 79
hennig at math.uni-hamburg.de, http://www.math.uni-hamburg.de/home/hennig/
#######################################################################
Meine Lieblings-Website:
www.boag.de

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
Christian> Dear list,

    Christian> I do not understand how to get group variables from XGobi
    Christian> into R.  For example, I start with data(laser) xgobi(laser)
    Christian> and in xgobi I brush some points red. Now xgobi creates a
    Christian> group variable (I did not understand *when* this group
    Christian> variable is created and how I get it even in xgobi, but,
    Christian> however, suddenly it was there...). What must I do if I want
    Christian> this group variable as a variable of R?

you can have it written out into an ASCII file, 
and must read that into R via scan() or such. 
This is not very convenient, I agree, but the
     R <-> Xgobi
connection is only via ascii files.

Instead of putting considerable effort into the R-xgobi interface,
the real thing will soon be ggobi, a gobi version based on GTK and hence
available for Unix and Windows at least.

  --> http://www.ggobi.org/  if you dare to try the pre-release beta version

Martin Maechler <maechler at stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO D10	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._