[R-sig-eco] biplot with most important species

Vitor vitoraraujo.biologo at gmail.com
Tue Oct 18 15:57:51 CEST 2016


Do you know how to fix this error? It hapens when I try to get the raster
and convert do ASC (because it is a maxent demand)

>bio1 <- "D:/biorecortadobrasil/biobio1.tif"
>bio1
>stackbios <- stack(bio1) #stackeando os arquivos
>rasterstackbios <- raster(stackbios)
>agregrasterstackbios <- aggregate(rasterstackbios, fact=2)  ## By default
aggregates using mean, but see fun=
>writeRaster(agregrasterstackbios, "D:/biorecortadobrasil/asc/outfile.asc",
format="ascii", overwrite=TRUE)

Warning message:In .local(x, filename, ...) : all cell values are NA




2016-10-12 4:44 GMT-06:00 Bjorn <bjorn.tytgat at ugent.be>:

> Hi all,
>
> there might be a simple solution to do this, but I don't seem to manage to
> find it. I have done a PCA using vegan. I now want to create a biplot with
> only those species that explain a certain (cumulative) amount of the
> variation along the first 2 PC axes (in order to keep things clear). How
> could this be done?
>
> Thanks in advance!
>
> Kind regards,
>
> Bjorn
>
> _______________________________________________
> R-sig-ecology mailing list
> R-sig-ecology at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-ecology
>

	[[alternative HTML version deleted]]



More information about the R-sig-ecology mailing list