Questions tagged as 'r'

0
answers

Library R to use

If I have a table with two variables, one with values of an independent parameter and the second with results obtained in each of those values Which library (s) should I use to find the range of values of the independent variable in which the...
asked by 18.08.2018 / 16:53
0
answers

How good is it to parallelize twice using foreach in R?

I am programming a code that calculates some parameters in a series of time of which I must generate 200 functions of each, on which I calculate the parameters with a function that I built. My code is as follows library(foreach) library(doPara...
asked by 19.08.2018 / 22:13
1
answer

Count values in multiple columns in R?

This is the first time I ask around, since I have not been able to solve a very basic problem. I have a dataframe with 4 categorical variables (columns) (identical categories). I'm looking for a way to count how many times each category ap...
asked by 08.08.2018 / 22:29
2
answers

Prevent R from creating R.Data and R.History files

I have a script created in R and every time it is executed it leaves two files in the folder, a .Rdata and a .RHistory. I have put this at the end of my script, but it does not work since you see that it creates the files once it is fi...
asked by 21.05.2018 / 10:11
0
answers

Problem installing the "caret" package in r

R Code: install.packages("caret") Warning in install.packages : unable to access index for repository http://cran.rstudio.com/src/contrib: objeto 'status' no encontrado Installing package into ‘/home/one/R/x86_64-pc-linux-gnu-library/3.3’...
asked by 19.04.2018 / 15:20
1
answer

Help with bptest in Rstudio

I am applying the bptest to see the heteroscedasticity of a linear regression which is this fit4 <- lm(datos$promedio_total ~ datos$hv + datos$Municipal+ datos$P_Pagado + datos$desempeño_medio +datos$desempeño_alto +datos$desempeño_insufici...
asked by 10.04.2018 / 20:06
0
answers

Configure Emacs to program with Rust, Julia and R

I want to start programming with Rust, Julia and R, since they are programming languages, which I am hearing more and more frequently. And, I would like to be able to work with all of them in GNU Emacs 25, as I do with Python, Maxima and Haskell...
asked by 15.03.2018 / 15:05
1
answer

How to create a statistical data function in rstudio?

I have the following code: rm(list=ls(all=T))#limpia todo lo antes escrito library(tuneR) #libreria para manipular archivos de audio library(e1071)#libreria para sacar la skewness y kurtosis directorio<-"/home/roy/Descargas/audios" #va...
asked by 08.01.2018 / 03:57
0
answers

dplyr function group_by error

I have a problem with the functions of the dplyr package. I want a data frame to be grouped in reference to several values (group_by), some fixed and others introduced by means of a vector. This vector would have variable dimensions. Once the da...
asked by 28.11.2017 / 13:54
1
answer

Export matrix to csv in R

I have 3 csv with 3050 lines each, what I want to do is put the 3 together and add additional data and then take it out in a new csv. But when exporting the resulting matrix I find that the format is not correct. The code is this: nombres &...
asked by 25.10.2017 / 16:02