Questions tagged as 'r'

0
answers

GLM with the multivariate normal

Is there a function that does GLM with the Multivariate Normal probability distribution function? The way to write the formula will be equal to the function glm (), i.e. y~. , or will it have any particularity?     
asked by 19.04.2018 / 20:40
0
answers

R - Download data from the Hidroweb portal

The National Water Agency makes available on the Hidroweb portal for downloading historical series referring to data obtained by various stations monitoring. I would like to automate the download of these historical series, however ANA has...
asked by 11.03.2018 / 02:41
0
answers

Help with prediction of variables with machine learning and unbalanced classes in R (caret)

I'm learning machine learning techniques to predict (numeric) sheet size values from multiple (numeric) predictors. However, leaf sizes are conditioned to the way of life, (trees or grams), which are not balanced. At the moment, I'm creating dat...
asked by 25.02.2018 / 22:25
1
answer

create data.frame where the output of the file is placed in columns

Hello! I have a problem with R .... I have a file called dados_dia with different meteorological variables: Índice de claridade (I.Cla), Wind speed (speed), Umidade relativa (hH) and Temperatura do ar (Tai) . I need to...
asked by 13.02.2018 / 18:45
0
answers

Unassigned list

I want to associate a column of IDs with their name. That is, in each IDS line I have a list of genes. and to this list of genes I want to associate the name of the genes. Here is my code: geneIDS<- Cas1_go_BP2[, 6] #vector with the IDS al...
asked by 21.03.2018 / 16:56
0
answers

Error Duplicate identifiers for rows Using Spread

I'm trying to fix the IMF database, everything worked, but at the time of using the spread() function, it's giving this error. Command: weo <- weo2 %>% spread(key= 'WEO Subject Code', value=valor) Error message:   ...
asked by 07.02.2018 / 21:36
0
answers

Move the axis on the graph in R

I need to do some heat graphics with a legend bar next to it. I also need to place the axes. However, since I had to slightly increase the size of the chart so the legend bar appears on the side, the Y-axis shifts away from the chart's drawing....
asked by 23.12.2017 / 00:28
0
answers

ROC curve for GLMM possible?

Friends, My question is as follows, I am using the following code in R to construct a ROC curve, but I do not know if in case of GLMM (Generalized Linear Model MIsto) I can use and if it in this case the code will then consider the random part a...
asked by 26.12.2017 / 21:29
1
answer

How to insert, as a new column, names in a vector in R?

I have a vector, called istrain , with names: istrain = c("carri", "challeng", ...) And I want to turn them into columns of a dataframe, testSparse, which contains word frequency frequencies in comments, something like: testSparse$cool =...
asked by 22.12.2017 / 16:32
0
answers

Join two df using the sqldf

I'm trying to join two tables using the same id of the species, but I'm not getting it. Here are the steps below: Importing the corrected file into TNRS for R hp<-fread('tnrs_final.txt', header=T) Now linking the tables using the u...
asked by 06.12.2017 / 23:56