Posts by Fábio Junio Alves Sousa • 283 points
11 posts
-
2
votes1
answer164
viewsQ: Understanding the scope of Arrow Function + callback
I would like to have access to the value of a variable returned from a callback outside of the callback function, and I would also like to understand why there is no syntax error when I try to use a…
-
1
votes1
answer319
viewsQ: Do not accept duplicate values in a Regular Expression (Regex)
I have the following code: var str = "141271999 243306211 172266710 172266710 172266710"; var regex = /[0-9]{9}/g; //Encontrar 9 números entre 0-9 e retornar todos valores (g). var idsEncontrados =…
-
0
votes0
answers103
viewsQ: Assign very large Json to a variable in String form
I want to run some tests on an algorithm I’m developing with this Json. To test this type of input, I always created a variable by assigning the json between crases, so the variable kept the string…
-
1
votes2
answers1235
viewsQ: Identify the position of the first empty cell
I have a web integration that automatically sends values to my spreadsheet. In one of my columns I have a URL that is concatenated with the value of a column ID on the side. I need to add in this…
excelasked Fábio Junio Alves Sousa 283 -
0
votes2
answers2644
viewsQ: How to convert date and time with Javascript?
I have a string date in the following format: Dec 11, 2017 01:00AM. I need to convert the date to the following format: 11/12/2017 and the time for this format: 01:00. I thought to treat the date by…
javascriptasked Fábio Junio Alves Sousa 283 -
2
votes1
answer400
viewsQ: Create boxplot graph of values in classes
I have these values in a dataframe: structure(list(NotaFinal = c(23.95, 25.4, 31.55, 25.4, 27.8, 27.3, 31.85, 20.45, 31.95, 28.55, 20, 24.95, 14.45, 22.55, 25.65, 10.35, 27.95, 21.45, 18.45, 21.1,…
rasked Fábio Junio Alves Sousa 283 -
0
votes0
answers26
viewsQ: Convert duration time value
I need to convert the values of an attribute that is in the duration time format hh:mm:ss to a value where I can correlate with another attribute in a boxplot. The data are as follows::…
rasked Fábio Junio Alves Sousa 283 -
3
votes1
answer151
viewsQ: Customize boxplot
I have the following data: structure(list(NotasMateriais...4. = c(1L, 2L, 8L, 5L, 5L, 4L, 4L, 2L, 9L, 2L, 5L, 3L, 1L, 3L, 0L, 3L, 3L, 2L, 2L, 3L, 0L, 2L, 14L, 0L, 0L, 3L, 6L, 3L, 4L, 3L),…
-
4
votes1
answer1440
viewsQ: Arrange bars of a bar graph in R
I’m filling the following data into the R to generate a bar chart: structure(c(5483L, 28034L, 7995L, 5199L, 6785L, 7452L, 7692L), .Dim = 7L, .Dimnames = structure(list(c("dom", "qua", "qui", "sáb",…
-
2
votes1
answer885
viewsQ: Group columns in the R bar graph
I need to generate a bar graph with the following data: structure(c(38792L, 1227L, 23220L, 4177L, 893L, 331L), .Dim = 6L, .Dimnames = structure(list(c("Canvas para Android", "Canvas para iOS",…
-
0
votes2
answers1913
viewsQ: R - Search lines in a data frame conditioned on the part of a string
I have a data frame with several lines, in these lines I have a sentence that contains by default the word "Ad", I want to generate a new data frame that contains only the lines that in the sentence…