Posts by Samara • 235 points
8 posts
-
2
votes1
answer210
viewsQ: Plot the mean in R
how can I plot the average using R Studio and be able to display it with my data set also displayed in dimensional space? The average is represented by this line and the data represented by dots.…
-
2
votes0
answers43
viewsQ: Influence.measures using LOESS
Is there a possibility to use Fluence.measures from the result obtained with LOESS? For example, be the following excerpt: x <- 1:120 y <- sin(2*pi*x/period) + runif(length(x),-1,1) plot(x,y,…
-
2
votes1
answer507
viewsQ: Segmented Return in R
I was studying a little bit about regressão segmentada and some examples executed in R and I’m having doubts about the workings of segmented. I need to always define where the breaking points should…
-
0
votes1
answer137
viewsQ: Vertex closer to another - Postgis
Is it possible to return the nearest vertex to another? One of the observed geometries is a linestring. As in the figure below: I want to return the single vertex of the linestring (which is…
-
4
votes1
answer193
viewsQ: Update XLS spreadsheet without overwriting data using R
I need to add new information to the xls spreadsheet, but this already has information that was previously inserted. I need that data to be on the same sheet. There is the possibility to update a…
-
4
votes2
answers81
viewsQ: Obtain the Summary of the results from the use of the LOESS
I wonder how I can get the points that are generated by my curve. I’m having trouble getting the results of my last code statement. In addition, I got the upper and lower points of the curve, but I…
-
5
votes2
answers122
viewsQ: How can I get maximum and minimum values after applying LOESS
My data is brought from a database and I simply apply: ggplot (data = df_postgres, aes (x = date_time, y = duracao)) + geom_point() + stat_smooth(method = "loess") And I get the following smoothing:…
-
3
votes1
answer62
viewsQ: How to get columns from XLS files in R
Using R tool, I was able to open an XLS file as follows: require(xlsx) coln = function(x) { y = rbind(seq(1, ncol(x))) colnames(y) = colnames(x) rownames(y) = "col.number" return(y) } data =…