Posts by Lucas Freitas • 145 points
7 posts
-
-1
votes1
answer46
viewsQ: Use a class method from a concatenated string
Hello, I’m new to Pyhon... I have a class called Car, and in it I have a method called name that returns the name of my object. Ex.: carro_1.name() = returns the name of the car. I have the objects,…
-
0
votes1
answer289
viewsQ: Rescue indexes from my data elements.frame
I have a data.frame that is filtered from another data.frame. (see image below) However, I would like to filter this data.frame again and retrieve its original indexes in a vector. Example: Let’s…
-
1
votes0
answers59
viewsQ: Generate new matrix by removing a particular column and row
I wonder if there is any R function that I can generate a new matrix by deleting a certain column and row. Matriz_1 [,1] [,2] [,3] [,4] [,5] [,6] [1,] 0.0 136.6 123.7 124.3 128.0 123.7 [2,] 136.6…
-
2
votes2
answers455
viewsQ: Filter data frame according to indexes (lines) stored in a vector
Hello, I have a data frame where I store tourist information. Example in the image: and I have vector like this: 1 1 3 4 11 12 13 14 16 29 30 41 6 7 8 9 10 5 15 17 27 this vector in the case is a…
rasked Lucas Freitas 145 -
5
votes2
answers49
viewsQ: Extract vectors from a vector set of vector names and merge into a single vector
I have a vector that contains names of other vectors. For example: teste [1] "vetor_arte" "vetor_rio" "vetor_parque" vetor_arte [1] 1 3 4 11 12 13 14 16 29 30 41 vetor_rio [1] 6 7 8 9 10…
-
3
votes1
answer248
viewsQ: OSMAR library (Openstreetmap) error
Hello, I’m trying to use the OSMAR library in R to plot routes and I’m not getting it. library(osmar) library(leaflet) library(igraph) src <- osmsource_api() get_osm(node(18961430), source = src)…
rasked Lucas Freitas 145 -
1
votes2
answers4175
viewsQ: How to pass a variable to another page using IONIC?
Hello, I’m making an application using the IONIC framework and I’m having trouble passing parameters to another page. I have the listing of items ( that are data that are coming from the database )…