Questions tagged as 'ggplot2'

0
answers

Heat Map - R

I'm trying to create a value map with the following data: ESTADOS MATRICULAS MATRICULAS1 lon lat <chr> <dbl> <dbl> <dbl> <dbl> 1 CIUDAD DE MÉXICO 682510 0.167 - 9...
asked by 09.04.2018 / 19:53
1
answer

Rmarkdown Aggregate error

Hello, I am trying to create reports by Rmarkdown, with the read_chunk() method it is possible to plot in doc using script.r externalization. In doing this integration, with only 1 script worked, when I put the second, an error occurred i...
asked by 16.03.2018 / 15:48
0
answers

How to define the parameter of a function in ggplot2 through the stat="function" method?

I am studying empirical functions in R. In order to achieve a better understanding of the numerical method, I have created my own approximation in R through the following function: funcao_empirica <- function(x, n=length(x)){ ##organizamo...
asked by 16.03.2018 / 03:32
1
answer

Boxplot of ggplot2 giving error (does not make the boxes, only a points with a scratches), how to fix? OBS: I did other graphics and it worked, only this one packed

boxef <- ggplot (effectsize, aes(subordemfam, varbiom.efs, colour = classe2)) boxef + geom_point() + geom_boxplot() + xlab("Táxon") + ylab("Effect Size na Variação de Biomassa") + theme_bw() + geom_hline (yintercept = 0) + theme(plo...
asked by 15.03.2018 / 15:21
1
answer

Date Histogram in GGPLOT

I'm not getting the ggplot from the following table: Data Frequência 1 2016-06-11 3126 2 2016-03-05 218 3 2016-01-23 431 4 2016-06-04 145 5 2016-11-30 331 6 2016-15-01 275 Using the...
asked by 26.12.2017 / 15:06
0
answers

Plot data in a group where the groups are in another data.frame

I have this data.frame date pol S01P01 S01P02 S01P03 S01P04 S01P05 S01P06 1 2016-01-23 vh -11.89972 -10.32407 -11.56241 -11.54153 -11.76252 -12.49887 2 2016-10-01 vh -11.98468 -10.65089 -12.51395 -11.72623 -13....
asked by 23.11.2017 / 16:06