1) at least say which package you use
2) try to provide minimal sufficient code to show your problem, eg:

library(vegan)
data(varespec)
mod <- metaMDS(varespec)
stressplot(mod)

Then I could point out that:
test <- stressplot(mod)
str(test)

would have told you that
> head(test$x)
[1] 0.1894425 0.2227248 0.2352997 0.2600270 0.2650571 0.2727935
> head(test$y)
[1] 0.08544742 0.09223658 0.16448477 0.15264530 0.05000483 0.14275548
> head(test$yf)
[1] 0.08544742 0.09223658 0.10680387 0.10680387 0.10680387 0.10680387
>
is what you are looking for.

Cheers
Joris



On Thu, May 6, 2010 at 12:03 PM, Kay Cichini <kay.cich...@uibk.ac.at> wrote:

>
> hello,
>
> i'd like to extract values from stressplot, but as this should happen
> within
> a long run of code, which also does a multiple plot, i need to prevent
> stressplot to print to the device.
> i tried ..,plot=F), but this is useless.
>
> any advise on this?
>
> thanks,
> kay
>
>
>
> -----
> ------------------------
> Kay Cichini
> Postgraduate student
> Institute of Botany
> Univ. of Innsbruck
> ------------------------
>
> --
> View this message in context:
> http://r.789695.n4.nabble.com/how-to-extract-from-obj-created-by-plot-function-stressplot-without-printing-plot-tp2132366p2132366.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Joris Meys
Statistical Consultant

Ghent University
Faculty of Bioscience Engineering
Department of Applied mathematics, biometrics and process control

Coupure Links 653
B-9000 Gent

tel : +32 9 264 59 87
joris.m...@ugent.be
-------------------------------
Disclaimer : http://helpdesk.ugent.be/e-maildisclaimer.php

        [[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
and provide commented, minimal, self-contained, reproducible code.

Reply via email to