I want to analyze a water distribution network in R statistical package. I need to import a network (EPANET input file) into R and analyze the network related stuff.
Export a EPANET's project data to a text file (.inp):
1. Select
File -> Export -> Network from the EPANET's main menu.
2. In the Save dialog form that appears enter a name for the file to save to (the default extension is .INP)
The text file is organized in sections, where each section begins with a keyword enclosed in brackets.
You can save each section data as a .csv text file and import them to R with the command:
mydata
Dear Mr Kostas Katselidis
Thanks for your answer. My problem is to import the data as network (graph) data, so I can use network analysis packages like igraph.
Kind Regards
Saeed
hi Saeed,
try the read.graph fuction from igraph library
library(igraph)
my.net
So I have large number of csv files (100+) in a directory with same structure and column names. The data is in time series and there are approx 30 columns/file. However i only want to aggregate...
08 February 2021 245 5 View
I'm working on pollen DNA metabarcoding to identify the floral composition of honey. How much pre-PCR dilution of mixed-template DNA extracted from pollen (honey) is appropriate for the...
28 December 2020 9,132 1 View
I have a problem in which a right hand circular polarized wave (GPS wave) encounters an ideal smooth plane obliquely, and then is reflected off that. To solve this kind of problems, the wave is...
28 December 2020 2,271 3 View
Which is better to focus on teaching or research for For a good academic life and Why?
26 December 2020 5,737 9 View
Fabricating silicon solar cell
22 December 2020 4,906 7 View
wind hydro solar etc.
21 December 2020 6,360 16 View
light is pure because the light is the simplest electromagnetic construct but the energy of any object is also of the same kind.
20 December 2020 207 4 View
10 December 2020 435 4 View
I need to make long-lasting stable emulsions of 6 wt. % percent silicon oil in DI water. The previousely made emulsions using Tween and Span Emulsifiers did not remain stable after a week.
31 October 2020 3,568 3 View
I am thinking about writing a paper on carbon emissions based on electricity consumption data from some buildings. From a research perspective, which factors should i specially focus while...
09 October 2020 4,142 3 View
I have dataset which shows the length of power lines. I need to classify the lines based on the line length. Is there a rule to classify the High voltage (HV) and low voltage (LV) lines based on...
03 March 2021 4,116 4 View
Good afternoon, I recently used OmniLog from BIOLOG for my experimentations : I tested the metabolism of different strains on 2 types of plates. I have 16 strains of 3 different groups...
02 March 2021 3,584 1 View
I personally feel this as a most confusing question. As per my understanding, if sample size is > 30, and sample is skewed, we can still use paramteric approach, as it will follow Z...
01 March 2021 1,587 6 View
I am currently doing my third year design project. I have been assigned to design a glycerol recovery column in vinyl acetate monomer production. The process unit before the recovery column is an...
01 March 2021 9,525 4 View
I am a little confuse with the mechanism of solid lipid nanoparticles (SLNs). The main point of encapsulating drugs into SLNs is because some drugs have low solubility in water. Therefore, SLNs...
01 March 2021 3,703 3 View
When explaining substitution models, the substitutions are expressed as Q matrix. Why is the sum of the elements in a row zero?
28 February 2021 3,864 3 View
How would define the "good" and "poor" distribution of particles within the matrix. Is there a quantitative solution to assess the distribution of the particles, which then having denotation of...
28 February 2021 7,397 8 View
I have a sample of treated water sample & asked to obtain ammonia conc. in sample using a machine with 5-25 ppm detection range. However, upon testing with different dilution factors, all...
27 February 2021 8,483 3 View
Good day to all, I have no experience with light emitting diodes. I am building a glass mini flume to demonstrate the photo degradation of Methylene Blue in water running over self cleaning...
26 February 2021 4,026 5 View
In R-studio, there are many commands of Gumbel package. Arguments are also different. I`m asking about the alpha parameter of the Copula which must be greater than 1. If this is the one used to...
25 February 2021 5,229 3 View