Hello

I'm trying to run the script below for making a boxcox transformation of
some variables contained on  an excel file, but i can't get it. I ever have
the same message :
error : $ operator is invalid for atomic vectors

One of the names of the variables is "Ec30" and it's the variable I put as
example.

require(RODBC)
require(fBasics)
require(e1071)
require(MASS)
setwd("C:\\estadisticafijo")
dir()
temp=odbcConnectExcel("prueba35r")
rs<-sqlFetch(temp,"Hoja1")
close(temp)
fix(rs)
boxcox(rs$"Ec30")

Thaks a lot for your help.

Miller Ruiz
Assistant Research
Cenipalma
Colombia

	[[alternative HTML version deleted]]

