similar to: Replace element with pattern

Displaying 20 results from an estimated 4000 matches similar to: "Replace element with pattern"

2013 Aug 27
6
Scale of axis for two data sets
Hi, Kbytes RSS rNo 2689632 1450876 1433788 2689632 1450876 1433788 2689632 1450876 1433788 2689632 1450876 1433788 2689632 1450876 1433788 2689632 1450876 1433788 2689632 1450876 1433788 2689632 1460168 1443084 plot(data$rNo,data$RSS,pch=0,type="b",col=36,axes=FALSE, ylab="", xlab="",las=2,lwd=2.5) title(" PID -
2013 Sep 20
1
Averate memory usage trend
Hi, I would like to understand how to draw a graph to find out the average memory used by a single httpd process given these details collected over a period of several days. I code R but this is about a method to find an average memory utilization. I believe I have enough data. How should I statistically calculate this ? The figures inside braces are the total httpd processes at
2013 Aug 30
3
Memory usage bar plot
Hi, I haven't tried the code yet. Is there a way to parse this data using R and create bar plots so that each program's 'RAM used' figures are grouped together. So 'uuidd' bars will be together. The data will have about 50 sets. So if there are 100 processes each will have about 50 bars. What is the recommended way to graph these big barplots ? I am looking
2013 Nov 20
2
Functional Programming patterns
Hi, ' Not specific to 'R'. I search for patterns and found http://patternsinfp.wordpress.com/ which is too heavy for me. There is a 'Pragmatic Programmer' book on such patterns for Scala and Clojure. Is there anything for R ? I wanted to code this. Is there a functional pattern in R for multiple 'if' loops like this ? if(
2013 Sep 27
2
Locating inefficient code
Hi, I have been using R for a few months and I have this working code. Don't seen any problem but this takes a long time. So if I have about 30000 rows it takes a few minutes. If I have 100000 it does not seem to complete. Original Data: Proto Recv-Q Send-Q Local-Address Foreign-Address State tcp 0 0 172.20.100.2:60255
2013 Oct 07
1
Growth calculation
Hi, This is not a sophisticated statistics question as the subject suggests. But I am logging data - number of user sessions in a web application - before and after new users are migrated. I use R to graph but I am looking for a way to quantify the growth in the number of user sessions. As more users are now using the web application there is a growth. What is the way to measure this
2017 Aug 11
1
EOF within quoted string
Yes. I tried that already. Not straightforward. data <- read.csv("20_newsgroups.csv",fill=TRUE,as.is=T,header=F, quote="", sep=",", encoding="UTF-8") This line does read it haphazardly. The emails in the column are split into multiple columns and there are several columns with just ?NA?. Totally 202 columns. And then I removed columns with NA?s and
2017 Aug 10
2
EOF within quoted string
Hi, Reading http://ssc.wisc.edu/~ahanna/20_newsgroups.csv after downloading it using data <- read.csv("20_newsgroups.csv",header=TRUE) throws this. Warning message: In scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, : EOF within quoted string So, for example, the first line in the file is this. This column contains only such text. Is there a way read it ?
2017 Aug 10
0
EOF within quoted string
You might want to try some of the suggestions mentioned in this post: https://stackoverflow.com/q/17414776/2140956 Jean On Thu, Aug 10, 2017 at 7:59 AM, <Mohan.Radhakrishnan at cognizant.com> wrote: > Hi, > > Reading http://ssc.wisc.edu/~ahanna/20_newsgroups.csv after downloading > it using > > data <- read.csv("20_newsgroups.csv",header=TRUE) > >
2012 Jun 07
2
Basic question about confidence intervals
Hi, I am again asking a generic question and the general response for such questions is cold. I am a beginner but use and write simple R scripts. I am looking for some ideas to calculate the confidence intervals based on this excerpt from the paper. Moreover it would help if someone points to material to read about degrees of freedom and any related concepts. Thanks,
2012 Aug 14
1
Graphing question(basic)
Hi, plot(xc, yc, type="l", ylim=c(0,50), xlim=c(0,50), lwd=2, xlab="M", ylab="seconds") abline(a=-think, b=cpustime, lty="dashed", col="red") abline( 2.2, 0, lty="dashed", col = "red") This draws a response time curve an asymptote and a horizontal line. How do I draw a line from the intersection of the asymptote and
2012 May 21
1
variate generation
Hi, I plot no: of bytes against time and find the distribution curve using R. These bytes are sent from the client to the server. Is there a way to generate bytes randomly using R according to a distribution ? I would like to send these bytes to the server. Hope I am not misguided here. My goal is to simulate a certain distribution of bytes. Thanks, Mohan DISCLAIMER:\
2012 Jun 22
1
Variance with confidence interval
Hi, Is there a way to calculate variance directly by specifying confidence interval using R ? I am specifically asking because I wanted to investigate how this could be useful for project schedule variance calculation. Moreover I am interested in using R for monte carlo simulation as well and any simple examples would help. I read that project schedules would benefit from this.
2012 Jun 27
1
Simulating web requests
Hi, I am looking for some assistance with these requirements. We are trying to simulate web requests to hit a web applications. Let's assume I have a url to hit that requires a username and password. 1. These web requests should have exponential inter arrival times. 2. Generate self-similar traffic. I am not very sure about the properties of this traffic. Is Variance Time plot
2017 Jun 07
1
Operating on RC in a list
Hi, I have a hierarchy of such classes. Subject has a list of measurements. Let assume I have a list of such 'Subject' RC's. Can I use dplyr to navigate from Subject to the list of measurement RC's and filter and group data ? dplyr should be able to call the methods on these RC's to operate on the data structure ? I tried to coerce the list of RC's into a data frame
2013 Jun 11
1
Help needed in feature extraction from two input files
Hi, Try this: lines1<- readLines(textConnection("gene1 or1|1234 or3|56 or4|793 gene4 or2|347 gene5 or3|23 or7|123456789")) lines2<-readLines(textConnection(">or1|1234 ATCGGATTCAGG >or2|347 GAACCTATCGGGGGGGGAATTTATATATTTTA >or3|56 ATCGGAGATATAACCAATC >or3|23 AAAATTAACAAGAGAATAGACAAAAAAA >or4|793 ATCTCTCTCCTCTCTCTCTAAAAA >or7|123456789
2013 Sep 06
2
Alignment of data sets
Hi all; I have a data set with the format below: Year, Day, Hour, Value 2010, 001, 0, 15.9 2010, 001, 1, 7.3 2010, 001, 2, 5.2 2010, 001, 3, 8.0 2010, 001, 4, 0.0 2010, 001, 5, 12.1 2010, 001, 6, 11.6 2010, 001, 7, 13.9 2010, 001, 8, 11.9 2010, 001, 9, 13.6 2010, 001, 10, 16.1 2010, 001, 11, 18.5 That should
2013 Feb 11
2
FORMAT EDITING
Dear R users,[IF THE FORMAT OF MY EMAIL IS NOT CLEAR, I HAVE ATTACHED A TEXT FILE FOR A CLEAR VIEW] I would like to use the R output file in Fortran. my file Is exactly in the following format. ELISA/BOTTO wATER INN FROM 1900 11 1 TO 1996 12 31 1901.11. 1 447.000 1901.11. 2 445.000 1901.11. 3 445.000 1924.11. 4 445.000 1924.11. 5 449.000 1924.11. 6 442.000 1924.11. 7
2009 Sep 25
2
synchronisation of time series data using interpolation
Readers, I have data with different time stamps that I wish to plot (for example): data set 1 time(hh:mm:ss),datum 01:00:00,500 01:00:15,600 01:00:30,750 01:00:45,720 01:01:00,700 01:01:15,725 01:01:30,640 01:01:45,710 data set 2 time,datum 01:00:12,20 01:01:01,55 01:01:55,22 The time interval in data set 1 does not change, but the time interval in data set 2 does change, such that for a
2013 Feb 15
2
data formatting
Dear Eliza, Try this: Lines1<-readLines(textConnection("1911.01.01?????? 7.87 1911.01.02?????? 9.26 1911.01.03?????? 8.06 1911.01.04?????? 8.13 1911.01.05????? 12.90 1911.02.06?????? 5.45 1911.02.07?????? 3.26 1911.03.08?????? 5.70 1911.03.09?????? 9.24 1911.04.10?????? 7.60 1911.05.11????? 14.82 1911.05.12????? 14.10 1911.06.13?????? 7.87 1911.06.14?????? 9.26