After fetching my Database from SQL in R, I want that median should be calculated row-wise,i.e.
Median of (3.54,4.23,2.6,7.16) in a new column.Please find image attached.
what is "my_means" in ydata$my_means?
I'm sorry I missunderstood your question.
It was simplier than I thought.
You only need the median function, and use it like this:
median(ydata[,3:6], na.rm=TRUE)
equals:
median(c(ydata$value_1,ydata$value_2,ydata$value_3,ydata$value_4), na.rm=TRUE)
Bye.
Hi Marcelo, I have tried the above code,it ran successfully but result is just a single value for complete table. When i have inserted a new column & again run this code ,it produces same result. I'm looking for some more suggestions.
It is not nice but this works for sure:
ydata
Preference is for free data
31 December 2016 497 8 View
I am doing a study on nursing students satisfaction on the hospital attachment whether they are satisfied with the clinical attachment or not. I need more research studies on this
03 August 2024 6,985 2 View
I have environmental data from an offshore to onshore transect. I would ideally like for the figure to have depth (yaxis), longitude (xaxis), environmental parameter (zaxis), and bathymetry. I...
30 July 2024 535 1 View
Dear Research Community I would like to invite Elctrical Engineering specialists to solve problems related to Ternary Algebra or tripple sets I have an algorithm that places in relation three...
28 July 2024 5,771 2 View
Hi all, I am conducting research on screening peptides (20-35 amino acids) with potential for treating dengue fever through protein-peptide docking methods. In the protein database, I found the...
10 July 2024 8,037 1 View
i have attached my model and i have used point based mesh independent fastener using attachment points and type of connector is basic cartesian but this is not working as i apply displacement on...
02 July 2024 6,293 0 View
My research plan: First, via literature review and on-site investigation, summarize public space elements. Then, learn from literature that place attachment theory has two factors: place...
08 June 2024 3,808 0 View
On the 12th of June 2024, 1pm, at Roehampton Business School we are going to discuss 'Marketization, class discipline, and digital technological change at work' with our invited speaker, Prof....
05 June 2024 353 2 View
Hi, I have parameters of time-varying normal copula. Now I want to forecast using these parameters. For that I will need to generate data using these copulas parameters as shown in the...
20 May 2024 488 0 View
Some time ago I opened the research lab attachment and it populated automatically with all co-authors who were not members of another research lab. This has turned out to be embarrassing for me...
12 May 2024 6,275 0 View
I know that is not a transfer problem because when I use precasted gradient gel the transfer is complete. Once I use Homemade gel I have a loss in LW molecular proteins (see attachment). During...
07 May 2024 7,590 0 View