Hi Nikolaos,
>> How can I extract the residuals from a pcaiv/rda in ade4?
>From what you can remember, you can get them as follows (ade4):
## If your call to pcaiv was as follows:
pcaiv(dudi$obj, df=FactorIV, scannf=F, nf=4)
## then get your residuals as follows:
ortho <- pcaivortho(dudi$obj, df=FactorIV, scannf=F, nf=4)
ortho$tab ## (weighted) residuals == projected variables
with df removed == residuals
print(ortho)
You would do well to post your query on the ade4list, where the
authors/co-authors of the ade4 package are likely to reply.
HTH, Mark.
Nikolaos Fyllas wrote:>
> Dear R users,
>
> How can I extract the residuals from a pcaiv/rda in ade4?
>
> In Vegan there is the
> residuals()
> function, giving the approximation of the original data from the
> unconstrained ordination
> Is there something similar in ade4?
>
> Nikos
>
> ______________________________________________
> R-help at 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.
>
>
--
View this message in context:
http://www.nabble.com/residuals-from-pcaiv-tp14955627p14956791.html
Sent from the R help mailing list archive at Nabble.com.