similar to: design question on piping multiple data sets from 1 file into R

Displaying 20 results from an estimated 4000 matches similar to: "design question on piping multiple data sets from 1 file into R"

2008 Sep 21
2
r format questions
Hi, 1) I have noticed that when I use the aggregate function it outputs numbers in the results. for example: aggregate by product group.1 Aggregate 1 ProductA 1000400.00 2 ProductB 23232323.00 3 Missing 232323.00 is there a way to suppress the numbers infront of aggregate outputs. I checked and they don't look like columns when I do a summary so I can't -1
2008 Jul 07
5
question on lm or glm matrix of coeficients X test data terms
Hi, is there an easy way to get the calculated weights in a regression equation? for e.g. if my model has 2 variables 1 and 2 with coefficient .05 and .6 how can I get the computed values for a test dataset for each coefficient? data var1,var2 10,100 so I want to get .5, 60 back in a vector. This is a one row example but I would want to get a matrix of multiplied out coefficients
2008 Dec 21
1
Trouble with 'smooth' using xyplot in lattice
Hello, I am fairly new to R am stumped on how to get the xyplot function in the lattice package to produce a scatter plot of count data versus time, such that the count data represent 8 different groups, and the plot produced has 8 unique "smoothed" lines for the different groups. This is the closest I can get to the desired plot: xyplot(masmean ~ mas, data = Pre96CR.masmeans, groups
2008 Oct 19
3
pairs plots in R
Hi, is there a way to take a data frame with 100+ columns and large data set to do efficient exploratory analysis in R with pairs? I find using pairs on the whole matrix is slow and the resulting matrix is tiny. Also the variable of interest for me is a binary var Y or N . Is there an efficient way to graphically view many variable relationships that does not look teeny ? I could do
2010 Mar 06
3
r code to generate interaction columns
Hi, is there a way to take a dataset and extract numeric columns and create interaction columns from it automatically? For e.g. there are 5 columns of data: A,B,C,D,E. CDE are numeric. Can someone provide code to automatically create more columns such as: 1) C*D, C*E, C*D*E, (C+E)/(D+.01 (to avoid divide by zero), (D+E)/(C+.01 (to avoid divide by zero), (C+D)/(E+.01 (to avoid
2008 Oct 02
2
aggregate empty row for pretty appearance also subtotal if possible
Hi, To pretty print aggregates by various dimensions I needed to add a empty row in output of aggregate. For example. d<-(aggregate(data[,cbind("x")], by=list(data$group1,data$group2), sum)) Group.1 Group.2 x 1 A N 3 2 A Y 2 3 B N 420164905 Is there a way to add an empty
2017 Jun 22
6
[Bug 101559] New: Displays fail to wake up when booting machine away from Display Port KVM switch
https://bugs.freedesktop.org/show_bug.cgi?id=101559 Bug ID: 101559 Summary: Displays fail to wake up when booting machine away from Display Port KVM switch Product: xorg Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority:
2008 Nov 20
1
rpart tuning question
Hi, In a binary classification dataset is there a way to tune rpart to now allow any false positives. I.e. is there some setting that will enforce no false positives (prior etc)? (and yet Without making the tree pick all 0 or 1 outcome) Dhruv [[alternative HTML version deleted]]
2008 Dec 23
1
sorting regression coefficients by p-value
Hi, Is there a way to get/extract a matrix of regression variable name, coefficient, and p values? (for lm and glm; which can be sort by p value?) thanks Dhruv [[alternative HTML version deleted]]
2008 Sep 29
1
persistence of model in R to a file
Hi, Is there a way to save R models (glm, lm , rpart etc) in a file that be read in later? I noticed models take up space. by space them off and removing them from memory it seems that would be useful. Also why do the models keep a copy of all columns in the original data set even those columns are not in the model. E.g. if I build a model on columns A, B even thought column C
2002 Oct 09
1
Problem with mails
I got a problem sending to this mail listing. Can someone pls figure it out? cheers` Elliot Williams IT Executive --------------------------------- ebius tagline. This is a moebius tagline. This is a mo
2008 Sep 22
1
R-help Digest, Vol 67, Issue 23
Warranty on Accuracy, Precision, Legality, ... of R in Research (These questions may well have been raised.) What is the implied warranty of using R for research & publications, consulting, etc.? Alternately, how does one obtain such a warranty? Your answers will be much appreciated. Perhaps you can point me to some websites which discussed this subject in the past. Thanks & regards
2009 Sep 12
1
[LLVMdev] Cache optimizations and data layout
Hello, I am new to LLVM. I am using an x86 code generator. I need to write a few passes based on cache blocks and data layout information. Does LLVM provide a way for me to see the data layout and analyze what are the cache blocks? If not is it possible to implement the same in the current framework? Thank You Dhruv Choudhary -- School of Electrical and Computer Engineering Georgia Institute
2010 Jan 20
0
Design the new Puppet t-shirt tagline and win a BUGbundle from Bug Labs
We have been running a contest for a week now and have some great entries so far. If you are interested in participating, you can get the details on our blog: http://reductivelabs.com/2010/01/13/design-the-new-puppet-t-shirt-tagline-and-win-a-bugbundle-from-bug-labs/. We will be choosing the winner for the BUGbundle by the end of the month so get your entries in before then. -- You received this
2010 Feb 17
2
How to provide a result from D(f(x), "x") to a curve(f'(x)) ???
Hi all, I want to provide the result from D() to curve(), because I want to plot the k-th derivative of some functions. Actually, I copy from console the result given by D() and paste inside curve(). With a lot of functions and high degree differentiation this process is tedious. Can I provide directly?? # what I actually have done (very simple function) D(expression(x^3), "x") # copy
2008 Oct 27
0
Displaying number of Y/N affected by tree in rule form RE: R question/request on rules from rpart
Hi Prof. Williams, thanks for your suggestion. The updated code is below. It turns out it was a matter of displaying the second column in yval to get the number of N and subtracting it from the n column in the frame to get the number of Y remaining in a binary example. once this is added now the function returns the rules along with Y and N count affected by the resulting rule. I am ccing
2007 Mar 05
4
Identifying points in a plot that have duplicate values
I have code like this: - #----------------------------------------------------------------------- ------------------------------------------------------ x=scan() 0 0 0 0 0 1 2 3 4 y=scan() 1 1 1 2 2 1 3 4 5 plot(x,y) identify(0,1,3) #Allows me to select manually to identify co-ordinate (0,1) as being duplicated 3 times identify(0,2,2) #Allows me to select manually to identify co-ordinate
2006 Jul 31
6
Unable to install Gems with RubyGems on Intel OSX with DarwinPorts
I followed Duncan Davidson''s Sandboxing Rails with Darwin Ports guide and everything went fine up till the part where I had to install gems using gem install. I would get this stacktrace: Attempting local installation of ''rake'' Local gem file not found: rake*.gem Attempting remote installation of ''rake''
2007 Aug 01
3
"Cut marks" on a plot's y-axis to indicate it is a truncated axis
Hi, I've plotted a Kaplan-Meier curve but the curves only range from 0.7 to 1 on the y-axis. Therefore I have used: - ylim=c(0.7,1) [although I think convention dictates that you plot 0.5 to 1 to show the median? A few papers I've read have done this]?? BUT, I would like a symbol like // (but rotated 90 degrees) to indicate that the y-axis has been truncated. I'd need to be able to
2007 Aug 16
1
(coxph, se) Obtaining standard errors of coefficients from coxph to store
Hi all, I'm wanting to be able to find and store the z-score of coxph below: - modz=coxph(Surv(TSURV,STATUS)~RAGE+DAGE+REG_WTIME_M+CLD_ISCH+POLY_VS, data=kidneyT,method="breslow") I know summary(modz) will give me this, but how do i extract the standard error or z-score values in a similar way to obtaining the coefficients by coef(modz) ? I think it must be something to do with