Questions tagged as 'r'

0
answers

Symbolic operations in R

I need to multiply two arrays in R , one has symbolic ( beta ) and the other is a numeric array ( X ), % and Ryacas , but I could not get it to work. After that, I need to derive the f function in relation to beta0 and then in re...
asked by 03.11.2016 / 03:18
0
answers

Forecast in R - mobile window -

I have the following process: yt = 2 + 0.7yt-1 + Et. I want to make pseudo predictions out of the sample, through rolling regressions and with moving window containing 50 observations. The prediction must be performed using the true coefficients...
asked by 12.05.2016 / 21:20
0
answers

Error in solve.default (var (x)) - R

I've been trying to build a distribution map for certain species using distance methods. I am having difficulty getting results via Mahalanobis Distance. The package that has this function is dismo , which is expressed as mahal . Whe...
asked by 28.06.2016 / 22:50
1
answer

How to put values in faceted bar charts in R?

I'm trying to generate a faceted bar chart with the R, according to date frame and commands below: ############################################### ######___PACKGES UTILIZADOS_____############### #####################################...
asked by 05.07.2016 / 15:48
1
answer

Marginal effect for GLM (logit) with categorical variables.

I have the following regression: Call: glm(formula = IN_FIN_REEMB_FIES ~ CO_CATEGORIA_ADMINISTRATIVA + CO_COR_RACA_ALUNO + IN_RESERVA_VAGAS + IN_RESERVA_ENSINO_PUBLICO + CO_TURNO_ALUNO + IN_RESERVA_RENDA_FAMILIAR + IN_FIN_NAOREEMB_PROUNI_PAR...
asked by 14.01.2016 / 19:45
6
answers

Remove accents

I need to know how to remove the accents of a data in a column. # Eu tentei > library(stringr) > a <- dados$Municipio[2] > a [1] "Arapeí" > str_replace_all(a, "[í]", "i") [1] "Arapeí" # outra tentativa > iconv(a, to="ASCI...
asked by 11.01.2015 / 01:16
0
answers

how to run an EOF in R? spacetime package (or clim.pact)

I'm currently working with foraminifera fauna data for rebuilding the blend layer over the last 20ka. We did the reconstruction from the abundance of some species, which represent deeper or shallower mixing layer and built a curve (from a GAM an...
asked by 02.08.2016 / 21:41
0
answers

GLMER, longitudinal data, random factor, Binomial [closed]

I'm using the glmer function of the lme4 package. My answer is binomial. I have 5 schools, with approximately 100 teachers, and one teacher does not work in more than one school, I have 5 longitudinal information for each teache...
asked by 14.06.2016 / 21:18
2
answers

Apply, sapply, mapply, lapply, vapply, rapply, tapply, replicate, aggregate, by and correlates in R. When and how to use?

What is the difference between the functions apply , sapply , mapply , lapply , vapply , rapply , tapply , replicate , aggregate , by and correlates no R? When and how to use each o...
asked by 04.03.2014 / 23:52
0
answers

How to convert the tags of a .ris file into variables in a table?

I have a .ris file with data from researchers and would like to convert the labels of this files into variable column labels for excel.     
asked by 07.04.2015 / 20:01