similar to: r code to generate interaction columns

Displaying 20 results from an estimated 8000 matches similar to: "r code to generate interaction columns"

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
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
2013 Mar 06
8
Understanding lm-based analysis of fractional factorial experiments
All, I have just returned to R after a decade of absence, and it is good to see that R has become such a great success! I'm trying to bring Design of Experiments into some aspects of software performance evaluation, and to teach myself that, I picked up "Experiments: Planning, Analysis and Optimization" by Wu and Hamada. I try to reproduce an analysis in the book using lm, but
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
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
2002 Dec 12
1
rsync error with novell server
Hi guys! I'm using rsync to update my work and mail from my Unix-workstation to my home directory on a Novell-Server... This is what I get as a message after the rsync is finished rsync error: partial transfer (code 23) at main.c(578) I understand that rsync was trying to chown a directory on the server which Novell doesn't support (or our admin doesn't :}) ... however, I
2005 Jun 23
5
[PATCH] Fix vnc-dryrun option interaction
A patch that was applied yesterday tried to turn the vnc option off if dryrun was set. Unfortunately, the way it was actually coded turned vnc ON if dryrun was not set! I think this patch should fix it (someone who actually uses vnc & dryrun should test it, though). -George +-------------------+---------------------------------------- | dunlapg@umich.edu |
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:
2007 Oct 30
6
Newb to puppet - Solaris svcadm question
I''m new to puppet so this might be a foolish question. I''m using Solaris 10, server is Sparc, my client is x86. I created a ''file chown'' manifest as a test ... /etc/puppet/manifests/classes/puppet.pp class puppet { file { "/etc/puppet.txt": owner => "root", group => "root",
2018 Nov 10
2
Red Hat is Planning To Deprecate KDE on RHEL By 2024
On Fri, Nov 2, 2018 at 9:03 PM Frank Cox <theatre at sasktel.net> wrote: > https://www.theregister.co.uk/2018/11/02/rhel_deprecates_kde/ > > That's still several years in the future, of course. > > I use Mate on all of my machines rather than Gnome or KDE and I'm sure > many of you fine folks do the same. > > But it's interesting nonetheless. >
2006 Aug 17
2
Creating function name from variables..
I have a situation where I have a number of fields and a rating for the field. So, in a DRY way, this works fine: <%= [''abc'', ''def'', ''klm''].each do |e| %> <tr><td><%= @result[e] %></td> <td> <%= @result[e+''rating''] %></td> </tr> <% end %> Now, I
2018 Nov 19
3
Grettings!
Dear colleagues, I signed up for this list to learn more about CentOS and the language. I ask you to understand me and help me to better understand the language and the system. For most phrases I'm using Google Translate but I've been struggling to read and understand without it. Whats is CDE? This word was written in "Red Hat is Planning To Deprecate KDE on RHEL By
2005 Dec 21
2
Random numbers
Hi All. I have R code whose functionality is being replicated within a C+ program. The outputs are to be compared to validate the conversion somewhat - however (as is always the case) I have stuffed my code with random number calls. Random uniform numbers in C+ are being produced using the (Boost) mersenne-twister generators (mt11213b & mt19937) - which is the default type of generator
2006 Jan 27
2
How to rsync PULL multiple files/dirs
Hi all, I am wondering how do I pull data from a remote host without running a daemon. PUSH command I would like the below statement be turned into a PULL from remote host instead. /usr/bin/rsync -e ssh --archive --sparse --compress --update --verbose --stats --progress --exclude=cdersync.tar.gz --exclude=*.bz2 --exclude=*.jpg --exclude=*.mp3 --exclude=ZDE --exclude=*.rpm --exclude=*.sit
2019 Sep 24
4
Centos 8 Mate?
On Tue, 24 Sep 2019 21:27:07 +0100 Liam O'Toole wrote: > If the availability of a particular desktop environment is a > showstopper, then perhaps RHEL and CentOS are not the best choice for > you. That may be, but in view of the fact that you can even get a version of CDE that works (very well) on Centos 7 (https://github.com/dcantrell/cderpm if you're interested), I find it
2010 Feb 28
3
Change the scale on a barplot's y axis
I have grades data. I read them from a csv in letter-grade format. I then converted them to levels levels(grades$grade)=c('A+','A','A-','B+','B','B-','C+','C','C-','D+','D','D-') And then to numbers grades$gp=grades$grade levels(grades$gp)=c(4.3,4.0,3.7, 3.3,3.0,2.7, 2.3,2.0,1.7, 1.3,1.0,0.7)
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
2018 Feb 09
3
[PATCH]Add address overflow check
Hi, I came into a crash when using 32-bit `speexdec` and found that there's an address overflow in function `print_comments()`: static void print_comments(char *comments, int length) { char *c=comments; int len, i, nb_fields; char *end; if (length<8) { fprintf (stderr, "Invalid/corrupted comments\n"); return; } end = c+length;