s-news
[Top] [All Lists]

Extract data from a Graph

To: <s-news@wubios.wustl.edu>
Subject: Extract data from a Graph
From: "Mariella Canales" <mcanales@ifop.cl>
Date: Sat, 17 May 2003 18:58:19 -0400
Importance: Normal

Hi,

 

I am working in Tesis and I have a problem with S-plus, because I want a Command for ‘Extract data from a Graph’. I am working with GAM model and I can’t obtain the smooth data for the predictor variables, this is my code:

 

import.data(DataFrame="objetivo1a", FileName="E:\\Tesis\\objetivo1a.xls",  FileType = "EXCEL")

 

n<-1 #star point

 

while (n<20) #end point

 

{modelo.gam <- gam(R~ lo(B, span=0.8, degree=1) + lo(W, span=0.8, degree=1), family=gaussian,

data = "" nac.action="">

 

graphsheet(width=10.5, height=8,  pointsize=14)

summary(modelo.gam)

 

par(mfrow=c(2,2))

plot(modelo.gam, resid=T,scale=8)

plot(modelo.gam, se=T,scale=10)

n<-(n+20)}

 

I know that you can extract the data thorugh the menú, but I need a command for my work,

 

I hope you can help and thanks in advance,

 

MAriella

 

T.Mariella Canales A.

Instituto de Fomento Pesquero (IFOP)

Blanco 839, CP: 237-0554

Valparaíso-Chile

Fonos:56-32-322498-322000

Fax:56-32-322345

Email:mcanales@ifop.cl

 

<Prev in Thread] Current Thread [Next in Thread>
  • Extract data from a Graph, Mariella Canales <=