You read them into a dataframe so you need to do

ftable(table(Stocking_all$Fire, Stocking_all$Standard, StoAll),
col.vars=c("Fire","Standard"))


On Fri, May 22, 2009 at 2:33 PM, Gaertner, Stefanie <
Stefanie.Gaertner@ales.ualberta.ca> wrote:

> Hello,
>
> I run into a problem:
>
> > ftable(table(Fire, Standard, StoAll), col.vars=c("Fire","Standard"))
> Error in table(Fire, Standard, StoAll) : object 'Fire' not found
>
> I do not understand that because when I read the table everything seems
> correct.
>
> >
> Stocking_all<-read.table("P://Benchmark//analysis//r//stocking_10//stock
> ing_all.csv",header=TRUE,sep=",")
> > names(Stocking_all)
>  [1] "ID_basic_tallesttree" "FID_plot"             "Fire"
>
>  [4] "Time_Fire"            "Standard"             "Fire_Standard"
>
>  [7] "ESR"                  "Fire_Stand"           "StoARS2000"
>
> [10] "StoWAS2008"           "StoAll"
>
> And I also get a summary for the variables.  I have no clue and would
> very much appreciate your help.
> Stefanie
>
>
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html<http://www.r-project.org/posting-guide.html>
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem that you are trying to solve?

	[[alternative HTML version deleted]]


