Questions tagged as 'r'

2
answers

Insert vector value from a data.frame into another data.frame [duplicate]

I have two data frames. The first one has 2185 observations and the second has only 9. The first data frame whose name is dados contains the following variables: local , parc , arv , DAP , Ht , Hf...
asked by 12.09.2017 / 03:38
0
answers

Generate random numbers in R with Skew-Normal Bivariate distribution

I made the script below, but I doubt if it is correct, I need to generate a bivariate vector with Skew-normal distribution of mean mu=(mu1,mu2) , variance and covariance matrix Sigma=matrix(c(sigma1^2,rho*sigma1*sigma2,rho*sigma1*sigma2...
asked by 18.08.2017 / 17:34
0
answers

rpy2.robjects error in ubuntu - LookupError: 'show' not found

I simply can not test functions in python with R. In my jupyter notebook I did: ! pip install rpy2 And when importing robjects gives error: import rpy2.robjects as ro;     
asked by 27.08.2017 / 21:53
0
answers

Returning information from a facebook page

I'm studying the Rfacebook package and I've already made a good advance in collecting some data, but I had a question, can someone tell me if I can get all the tanners on the page making a call or would I have to find other ways? I'd like to...
asked by 27.08.2017 / 02:03
1
answer

How to export data from R directly to the sql server?

Friends, I consumed a web service with R and now I need to export this data directly to the sql server. How do I?     
asked by 28.07.2017 / 17:57
1
answer

R: singular gradient matrix at initial parameter estimates

When using the following command to estimate the model parameters (bell_model): h <- c(43.34, 35.84, 33.45, 30.94, 27.35, 21.75, 13.75, 57.37, 48.36, 44.62, 41.05, 36.49, 29.92, 21.07, 66.65, 56.65, 52.03, 47.75, 42.54,...
asked by 12.05.2017 / 14:47
2
answers

Modify test t for linear regression parameters in R

I would like to know how I can change the t-test against the parameters of a linear regression in R. I would like to test if b0 = 0 and if b1 = 1. Generally, the output of a regression tests b0 = 0 and if b1 = 0. For example, the regression belo...
asked by 13.05.2017 / 01:16
0
answers

Graphic correlations (round) [closed]

How to create a graph (round graph in ellipse) of correlations between 20 characters when I already have the correlation table ready and do not need to calculate the correlation in R?     
asked by 09.05.2017 / 19:56
0
answers

How to compare two slopes of lines from polynomial regressions in R? [closed]

Hi, friends. I measured the air temperature every hour of a day in two treatments: below the 10-story canopy and in 10 open areas at a standard distance from each plant. Therefore, I obtained two regressions between the hours of the day (pred...
asked by 29.04.2017 / 23:27
0
answers

Web scraping on application websites in R

I would like to know some ideas to get the data from this link: link I used the code below to try to extract the data. But when I enter with CSS what I want to extract, it returns the html nodes empty. rm(list = ls()) #install.packages("r...
asked by 20.03.2017 / 15:20