Questions tagged as 'rstudio'

2
answers

Different Records

I have two tables: MATRICULA_A <-c(123,234,345,456) dados_1 <- data.frame(MATRICULA_A) MATRICULA_A <-c(345,456,111,222,333,444) dados_2 <- data.frame(MATRICULA_A) I need to extract only information from the dados_1 table...
asked by 23.11.2018 / 17:02
1
answer

Less Value of a Column Set

I have a dataset and would like to select only the smallest value between each primary key. Here is the example of my DF: ORDEM <- c(1,5,2,3,1,10) GUIA <- c('111','111','333','333','555','555') COR <- c('AZUL','AMARELO','PRETO','LARAN...
asked by 27.11.2018 / 15:27
1
answer

Arrange the bars of a bar chart in the R

I am plotting the following data in R to generate a bar graph: structure(c(5483L, 28034L, 7995L, 5199L, 6785L, 7452L, 7692L), .Dim = 7L, .Dimnames = structure(list(c("dom", "qua", "qui", "sáb", "seg", "sex", "ter")), .Names = ""), class = "tab...
asked by 06.11.2017 / 22:05
1
answer

How to plot a graph with ggplot

I have the following data.frame: sample OPN1SW OPN1MW OPN1LW RHO OPN3 OPN4 OPN5 1: GTEX-11WQK-1026-SM-5EQLX 2.365 0.0000 0 4.138 86.322 40.199 12.533 2: GTEX-XQ3S-1426-SM-4BOPR 22.317 0.0000 0 30.6...
asked by 31.12.2017 / 15:52
1
answer

Why does rvest break when processing an empty file?

When trying to process the contents of an empty file, the rvest package locks and closes RStudio . Here is a small replay of the problem: tf <- tempfile() file.create(tf) html_erro <- read_html(tf) html_erro %>% html_node...
asked by 22.11.2016 / 01:41
1
answer

Problem with forecast in R

I'm trying to make a relatively simple GDP forecast, but I'm finding the following error: **Error in model.frame.default(formula = y ~ t2, drop.unused.levels = TRUE) : comprimentos das variáveis diferem (encontradas em 't2')** Here's the...
asked by 26.04.2017 / 20:35
1
answer

Changing the missing data NA by "something else"

When I import a .sav file I do not want the < NA > in my mydata1 . I would like instead of NA to appear, for example, "something else." mydata = read.spss('mydata.sav', use.value.labels = TRUE, to.data.frame = TRUE,...
asked by 15.05.2014 / 23:24
1
answer

Installing packages in Rstudio

I can not install any Rstudio packages on my notebook. Does anyone know what I should do? This message appears below:     
asked by 10.12.2015 / 13:37
1
answer

R-Studio - Error installing package

I try to install the package from .zip , but the following message appears:    R Tools for Biologists (RT4Bio)       Funtions:   rdiagnostic: Make a diagnostic residuals plot.   plotbar: Use barplot2 from gregmisc package instead.  ...
asked by 04.12.2015 / 15:09