It appears to be:


sma.N2$gtr$stat
sma.N2$gtr$p


Use str(sma.N2) to see the structure of the object and then look through
for the bit you want.


Andy.

andydolman@gmail.com


On 16 January 2012 18:28, Keith Bloomfield <gykjb@leeds.ac.uk> wrote:

> I would be very grateful if someone could tell what I'm doing wrong:
>
>
>
> I have a test:
>
>
>
> sma.N2 <- sma(Amax.m ~ LeafN + Biome, data=qld3, log="xy",
> type="elevation")
>
>
>
> looking for difference in elevation between bivariate lines for different
> biomes.
>
>
>
> What I want is to extract the Wald statistic and associated p-value
> testing the H0 that there is no difference in elevation - the plan is then
> to put these in a table.  I can see this detail when I ask for
> print(sma.N2) or summary(sma.N2):
>
>
>
> H0 : no difference in elevation.
>
> Wald statistic: 47.05 with 1 degrees of freedom
>
> P-value : 6.9026e-12
>
>
>
> It looks like it should be under sma.N2$elevtest, but this gives me the
> separate intercept values not the H0 test result.
>
>
>
> Many thanks
>
>
>
> Keith B
>
> University of Leeds
>
>        [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-ecology mailing list
> R-sig-ecology@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-ecology
>

	[[alternative HTML version deleted]]

