search for: 150,200

Displaying 4 results from an estimated 4 matches for "150,200".

Did you mean: 150,000
2017 Jul 21
1
a difficult situation, how to do this using base function.
Hello, I have a following dataframe with many rows. data.frame(match.start=c(5,10,100,200),range.coordinates=c("1000-1050","1500-1555","5000-5050,6000-6180","100-150,200-260,600-900")) match.start range.coordinates 5 1000-1050 10 1500-1555 100 5000-5050,6000-6180 200 100-150,200-260,600-900 I want t...
2017 Jul 22
0
a difficult situation, how to do this using base function.
...I chose to do this by simply converting the dashes to commas and using strsplit() to split the single string into a character vector of numeric values that then can be converted to numerics. Like this: df <-data.frame(match.start=c(5,10,100,200),range.coordinates=c("1000-1050","1500-1555","5000-5050,6000-6180","100-150,200-260,600-900")) ## Note the following to convert the default factor to a character vector. This is essnetial! df[,2]<- as.character(df[,2]) numex <-gsub("-",",",df[,2],fixed=TRUE) ## convert dashes ## con...
2008 Feb 04
0
Scruffy Bar Chart Question
...couple days and it''s worked out really well. I am stuck though getting a bar chart to work with a single line. Here''s what I am doing: general chart stuff..graph.new...etc ... my_graph.add(:bar, ''GOAL'', [250,350]) my_graph.add(:bar, ''ACTUAL'', [150,200]) This works, but what I was is a SINGLE Bar with one value layered over the other: my_graph.add(:bar, ''GOAL'', [250]) my_graph.add(:bar, ''ACTUAL'', [150]) This does not render anything, how come?? --~--~---------~--~----~------------~-------~--~----~ You...
2010 Sep 15
2
Programming: loop versus vector oriented
Dear all, I am new to R and to it's programming philosophy. The following function is supposed to work on a vector, but I can't figure out how to do that without looping through every element of it. Is there a more elegant way? Note: I have shortened it, so it is NOT correct from the pipe hydraulics point of view # Calculate wall friction factor # reynolds: Reynolds number # dk: