similar to: R & bash script

Displaying 20 results from an estimated 8000 matches similar to: "R & bash script"

2005 Feb 18
3
Hosting a R Graph Gallery?
Dear R users, Following some of the recent questions and discussions about the R plotting abilities, it occurred to me again that it would be very valuable to have an R graph gallery. Eric Lecoutre made a very nice example in: http://www.stat.ucl.ac.be/ISpersonnel/lecoutre/stats/fichiers/_gallery.pdf It would be very useful to many beginners, but probably also advanced users of R, to have an
2005 Feb 18
2
Partial structural Change in STRUCCHANGE PACKAGE
Hi, I am using the Strucchange package in R to test for structural change in regression coeffcient. Given a model y = b0 + b1*X + b2*Z, the Fstats test whether there is a change in both b1 and b2 over a time period. Is there any way where I can restrict the test to hold b2 constant and test for break in only b1? That is, instead of a pure structural change, could I test for partial structural
2003 Apr 11
4
Can I improve the efficiency of my scan() command?
Hi, Suppose I use the following codes to read in a data set. ############################################### > rating <- scan("../Data/Rating.csv", + what = list( + usage = "", + mileage = 0, + sex = "", + excess = "", + ncd = "", +
2000 Nov 19
1
Bug in stars function (PR#738)
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --1465796871-645734172-974620647=:18687 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi all, I've discovered and (hopefully) fixed a bug in the stars function I wrote some time ago.
2004 Apr 02
3
Doing SQL GROUP BY in R
I want a list of the number of times some factor levels appear together, similar to the following SQL statement: SELECT A, B, COUNT(C) FROM TBL GROUP BY A, B How do I do that with a data.frame in R? Thanks, Jesper Frickmann Statistician, Quality Control Novozymes North America Inc. 77 Perry Chapel Church Road Franklinton, NC 27525 USA Tel. +1 919 494 3266 [[alternative HTML version deleted]]
2002 Aug 15
2
complex splits
Hi everyone, I'm having trouble figuring out how to split a dataframe more than once. Let's say I have a dataframe d with a certain column called splitcol composed of four possible ordinal values. The same dataframe has two other columns, col1 and col2, that have one of two possible values each. I'd like to split d$splitcol based on col1 and col2 so I can report frequencies of the
2004 Apr 20
2
Creating variable names
My apologies for asking what is doubtless a dumb question, but I have scant experience in R. It would be very convenient in doing lots of plots to be able to do them in a loop that stepped through a vector of variable names. For example one could say x<-("mydates") y<-c("foo1","foo2","foo3") #where "foon" were vectors
2005 Jan 31
1
naming list elements
All - Each time through a loop I create a new dataset, which I would like to append to a list object. Each item of the list should be the data matrix created in that step of the loop; I would like the NAME (or tag) of that list item to be assigned the value of a character string: I've tried something like this: running.list <- numeric(0) for(i in 1:num.files){ ..... running.list
2002 Apr 23
3
stacking vectors of unequal length
R-users -- I would like to make a single vector out of something like the following: y0 <- rep(0,100) y1 <- rep(1,20) and stack them one on top of the other to a vector y with length 120. Thanks, Dan =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Dan Powers Associate Professor, Sociology University of Texas at Austin
2005 Apr 05
2
GLMs: Negative Binomial family in R?
Greetings R Users! I have a data set of count responses for which I have made repeated observations on the experimental units (stream reaches) over two air photo dates, hence the mixed effect. I have been using Dr. Jim Lindsey's GLMM function found in his "repeated" measures package with the "poisson" family. My problem though is that I don't think the poisson
2002 Sep 10
3
print
Hi all, Suppose I have a vector Fruits <- c('Apple','Orange','Pear','Banana','Mango') I want to print the statement "The fruits in the basket are: Apple, Orange, Pear, Banana, Mango" If I do: print(paste('The fruits in the basket are:',Fruits)) The output is: [1] "The fruits in the basket are: Apple" "The fruits in
2002 Sep 27
4
r-help search
I'd like to search the r-help archives. Is there a way? I want to find out how to impute missing values. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To:
2002 Apr 18
3
Variable definition problem
Hello, what does this error message indicate and how do I avoid this? (sample code below) Thank you. -Tosh #read in the data table co<-read.table("co.txt",header=T,as.is=T) for (i in 1:3){ paste("logco",i, sep="")<-log(co$co[co$day==i]) } Gives the error: Error: Target of assignment expands to non-language object
2005 Mar 29
2
matching vectors against vectors
Hi all. I have a re-occuring typical problem that I don't know how to solve efficiently. The situation is the following: I have a number of data-sets (A,B,C,...) , consisting of an identifier (e.g. 11,12,13,...,20) and a measurement (e.g. in the range 100-120). I want to compile a large table, with all availabe identifiers in all data-sets in the rows, and a column for every
2006 Oct 07
3
merge and polylist
Greetings: I would like to kindly ask for a little help. The rough code is: #________________________________________________________ dat=data.frame(read.delim(file="all.txt", header = TRUE, sep = "\t", quote="\"", dec=".",na.strings = "NA")) nc=read.shape("astae.shp", dbf.data=TRUE, verbose=TRUE) mappolys=Map2poly(nc) submap
2000 Nov 20
1
Bug in stars.R (PR#739)
Hi all, Please let me know if this isn't the correct place to report bugs in contributed code. Otherwise, the following code contains one additional line and a short comment above it. The extra line of code catches the unusual situation where a data column contains all 0 values. The corrected code is below the signature. Thanks for your help. Tom Thomas S. Dye, Ph.D.
2005 Apr 18
5
the graph gallery strikes back
Hello useRs and helpRs, Some time ago, in a gallaxy far away (here is the thread : http://finzi.psych.upenn.edu/R/Rhelp02a/archive/46532.html ) we discussed about a graph gallery showing the power of R in that domain. I did some work around that, and there is a (pretty advanced) draft here : http://addictedtor.free.fr/graphiques/displayGallery.php For instance, there are some of my graphs,
2011 Aug 11
1
Any Method for capturing ISUP packets in DAHDI/ASTERISK
Hi All, I want packets [request/response] capture for ISUP packets , i have E1 line terminated to my digium card i just want a packets flow between my machine and teleco side, is any tool or utility [command] availabele for observation this packets and data. any help appericiated Thanks Dhaval -------------- next part -------------- An HTML attachment was scrubbed... URL:
2001 Jan 11
4
read data into R with some constraints
Hi, I have a big data file (over 30,000 records) looks like this: 100, 20, 46, 70 103, 0, 22, 45 117, -1, 34, 65 120, 15, 0, 25 113, 0, -1, 32 142, -1, -1, 55 ..... I want to read only those records having positive values in all of the four columns. That is, I don't want to read record # 3, 5, and 6 into R. However, when I type: read.csv("data.csv", sep=",")
2002 May 03
3
skipping columns with read.fwf?
I have a file in fwf. It is rather large, about 40,000 rows and 40 variables (columns). I only need about 10 variables form the data set for the analysis at hand. Unfortunately, these 10 variables are not contiguous in the file, for example, the first is position 1-8, the next position 25-27, then 40. Is there a way to read the selected varaibles that I need without reading in the entire data