[R] Problem_graphic
Boris Steipe
boris.steipe at utoronto.ca
Thu Feb 15 19:07:15 CET 2018
I haven't been able to reproduce this because you posted in HTML and no data arrived. Use the dput() function if you want to post data.
But: a frequent and trivial reason for disappearing category labels is that the plot window is too small to print them all. Try increasing the plotting window, or reducing the character size of the labels.
B.
> On Feb 15, 2018, at 12:23 PM, Andrea Lopez <aclopezrosero at hotmail.com> wrote:
>
> Hi everyone,
>
>
> I am beginner using R but I try to learn more.
>
> I need this graphic or similar but instead of tropical and temperate are three ontogenetic states
>
>
> Larva Met Juv
>
>
> CTMAX
>
>
>
> CTMIN
>
>
>
> SP SP SP
>
>
> This is my scrip:
>
>
>
> Ex = subset(Expr, Outlayer=="N")
> Ex2 = subset (Ex, S0 == 1)
> Ex3 = subset(Ex2, Experimento == "CTMIN")
> Ex4 = subset(Ex2, Experimento == "CTMAX")
> Ex3$Stage <- ordered(Ex3$Stage, levels=c("LARVA", "MET", "JUV"))
> Ex4$Stage <- ordered(Ex4$Stage, levels=c("LARVA", "MET", "JUV"))
> par(mfrow=c(2,1))
> boxplot(Temp ~ Stage, data = Ex4, col = "red", main="CTmax", ylim=range(30:45))
> boxplot(Temp ~ Stage, data = Ex3, col = "blue", main="CTmin", ylim=range(-3:1))
>
> When I run de scrip some species disappear and it doesn't come out as I need
>
>
> Please if someone can help me,
>
> Thank you
>
>
>
> Lic. Andrea L�pez-Rosero
> Investigadora asociada
> Centro de investigaci�n para la Salud en Am�rica Latina (CISeAL)
> Pontificia Universidad Cat�lica del Ecuador
> Quito - Ecuador
> Tel: (593) 22991700, ext. 2926
>
>
> Andrea L�pez-Rosero
> Research associate
> Center for Health Research in Latin Am�rica (CISeAL)
> Pontifical Catholic University of Ecuador
> Quito - Ecuador
> Tel: (593) 22991700, ext. 2926
>
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.
More information about the R-help
mailing list