Posts by João • 71 points
3 posts
-
2
votes1
answer104
viewsA: How to read a dataset over http in R?
I suggest adding the url() to readRDS(), type readRDS(url("...")). Example: test <- readRDS( url("https://github.com/derek-corcoran-barrios/LastBat/raw/master/best2.My.Lu2.rds") ) str(test) Note…
-
1
votes1
answer115
viewsA: R write.table with rbind
I can’t comment, so I’ll put it in answer. You can give some data frames as an example to understand the problem. Does it help? output<- rbind(cbind(area, ano, coeficiente),output) Edit! >…
-
1
votes1
answer43
viewsA: Sum of values in two different columns based on other columns in R
Here is my suggestion There was a problem with the name of Atlético-PR (had an n in the middle). > test <- structure(list(Mandante = c("Cruzeiro", "Vitória", "Santos", + "América-MG",…