How do I read an image from a folder, and convert it from rgb to hsv by extracting an array of pixels for the parameters h, s and v (all by software R) ??
I'm trying to map the R for the first time. I've done all the necessary process with the data and I'm following the instructions of an available script here but it does not recognize the" longest "object.
Can you help?
The script looks l...
I have two vectors, one with 387 codes and another with 3,000 occurrences of one or more of these 387 codes. I need to know how many times each of these 387 codes occurred in this vector of 3,000 occurrences. I've done it with "for" loops and it...
I'm using the code
pib <- BETS.get(22099)
To pull PIB , it happens that it pulls from 1995 to 2017 , and I only need 2007.01 in> to 2013,12 . How do I pull only the period I need for the model? Then I need to use the code
dpib &...
Hello. I would like to know how to interpret the Johansen test to know whether or not there is cointegration between the series involved in the model. Thankful.
I need to cluster this database and then make the prediction .... I would like to know how I could do the substitution correctly in this case?
Which type of clustering would fit best?
I am a beginner in the data area and I am trying to sol...
I've made an account in Git, and it's supposed to allow me to use the R files simultaneously on multiple stations. But I struggled a lot to be successful in the SSH key that the platform requests. And right now I can not do pull and pu...
In an attempt to use the lodown package, I get an error:
pns_cat <- get_catalog( "pns",
output_dir = file.path(path.expand( "~" ), "PNS"))
building catalog for pns
Error in function (type, msg, asError = TRUE) : se...
I am working with a panel database that contains information on publicly traded companies on the BOVESPA. Here is a piece of this database:
Mydependentvariableisbinary(ROIC.MEDIANA)soIstartedmyestimationvialogisticpanel.Sincemydataisnotnorma...
I have a database that has feed consumption information (190 animals) each day (88 days).
See below
table1 <- read.csv("Data.csv", header = TRUE)
table1
Animal Dia Consumo
1 1 245
1 2 256
1 3 300
1 4 450
2 1 245
2 2 256
2 3 3...