similar to: data-frame adding/deleting column

Displaying 20 results from an estimated 1300 matches similar to: "data-frame adding/deleting column"

2007 May 07
4
creating a new column
hie l would like to create a 6th column "actual surv time" from the following data the condition being if censoringTime>survivaltime then actual survtime =survival time else actual survtime =censoring time the code l used to create the data is s=2 while(s!=0){ n=20 m<-matrix(nrow=n,ncol=4)
2007 Mar 26
5
Listing function
Hallo, I build a list by the following way: Lst = list(name="Fred", wife="Mary", no.children=3, cild.ages=c(4,7,9)) I know how I can extract the information one by one. But now I want to add a new entry which looks like name="Barney", wife="Liz", no.children=2, cild.ages=c(3,5) How can I add this information to Lst without overwriting the first entry?
2002 Jul 13
2
Win98s and Samba
Hello Everyone, I am relatively new to linux and Samba and I am having some difficulties setting Samba up as a Primary Domain Controller. Ihave read the Pdf document called "Using Samba as a PDC" by developrWorks and I have read most of the Howto documents relating to Samba. When I try to connect to my samba server with Win98se I get the message "no Domain server was able to
2007 Nov 07
1
Aggregate with non-scalar function
R-Helpers, I'm sorry to have to ask this -- I've not used R very much in the last 8 or 10 months, and I've gotten rusty. I have the following (ff2 is a subset of a much, much larger dataset): > ff2 hostName user sys idle obsTime 10142 fred 0.4 0.5 98.0 2007-11-01 02:02:18 16886 barney 0.5 0.2 94.6 2007-10-25 19:12:12 8795 fred 0.0 0.1 99.8
2008 Oct 13
2
Subset based on items in a list.
R-help: I have a variable ("ID_list") containing about 1800 unique numbers, and a 143066x29 data frame. One of the columns ("ID") in my data frame contains a list of ids, many of which appear more than once. I'd like to find the subset of my data frame for which "ID" matches one of the numbers in "ID_list." I'm pretty sure I could write a function
2009 Jan 15
3
Bar Plot ggplot2 Filling bars with cross hatching
#I am putting a test together for an introductory biology class and I would like to put different cross hatching inside of each bar for the bar plot below color <- c("Brightly Colored", "Dull", "Neither") lizards <- c(277, 70, 3) liz.col <- data.frame(color, lizards) qplot(color, lizards, data=liz.col, geom="bar", ylab="Observed Matings",
2006 Sep 05
1
em watchdog timeout on UP, 6-stable
Updated my Athlon-xp 6-stable system last night, got an em watchdog timeout for the first time a few hours later, during a fairly high-traffic period. System is UP but does have device apic in the config. Any chance this is the recent race condition? Workaround? ifconfig em0 down, ifconfig em0 up seemed to cure it, at least for the moment. Thanks, Barney Wolff -- Barney Wolff I never
2005 Dec 26
5
linux install of RR
Hi. I''ve installed ruby, gems, rails into a user directory according to the installation instructions (for linux). I haven''t setup any path information nor setup any symlinks or any compilation options. When I try rails, I find that the system accesses controllers but that the corresponding views are not displayed. I wonder if there is something that I forgot to configure
2006 Feb 25
3
Compaq R1500 UPS and Linux
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! Has anyone gotten it working at all with Linux :) I picked one up for thiry bucks and would love to monitor it! Liz - -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFD/5fEIACpLcG4dhwRAmeCAJ9+8FGXqKoOlZdkw/KFXb9n0PEemwCdHaoD NVnv7JjmBAjNsExK6WzAdnA= =pcPX - -----END PGP
2005 Jul 06
3
Seeking help with Samba shares & OPLOCKS & Quickbooks databases
I thought I had things figured out, but guess not. I have multi-user Quickbooks databases that functioned fine on a Novell server but are behaving badly on a Samba share. I have created a separate share for the Quickbook databases, users are running Win XP Pro, latest patches, and the Quickbooks application installed on the desktop. It is a multiuser version. Server is RedHat ES 3, Samba
2005 May 20
3
SMB service not starting automatically
The smb service is not starting automatically. I can type service smb start at the prompt and it loads, and I can then connect, but its not loading automatically as it used to. Can someone point me in the right direction as what file I need to change to make it load at startup. Thanks! Liz
1998 Jun 03
1
R-beta: offset and glm again
I guess I understand it now (although it is surprising to me). The following is a valid model formula fred ~ wilma + offset(barney) that sets the model offset to barney. Given that this works, it would seem that one could remove the offset = argument from the glm call (and document the offset feature somewhere). Too bad that one can't set weights the same way. The anova bug when offsets
2017 Nov 19
2
Changeing logarithms
Hi! I'm using a large panel data, and now I have faced some difficulties with my analysis. The predictors are not normally distributed and there are quite many outliers (some of them are influential though). I have tried to change the logarythm, but i'm not sure, how to do that. I want also draw a plot picture in which logarythms of predictors x and y are changed. How could I do that?
2012 Apr 27
1
Wrap names.arg text in barplot
Hello! Does anyone know of a handy way to wrap the names.arg text in a barplot? I'm creating a bar plot with rather long labels; I can adjust the margins, but I'd also like to have the text wrap to about 4cm. Thanks! Kyle H. Ambert Doctoral Candidate, Bioinformatics Oregon Health & Science University ambertk@gmail.com [[alternative HTML version deleted]]
2006 Aug 31
1
differnce between lme and proc mixed
Hey, I was using lme and proc mixed in SAS to run a empirical bayesian model. I used the same method for both lme and proc mixed (the default REML). I got very similar, but not identical results. I am just wondering if anyone knows what the differneces may be between proc mixed and lme. Any thoughts would be appreciated! Thanks, Liz
2009 Apr 16
1
Graphics help
Hi, I would like to draw a graph as follows: A simplified example is that on the X axis are different countries, I have several temperature measurements taken from each country and would like to plot these linearly above each country. So one would imagine that cold countries would have lots of points at lower temperatures and the opposite for higher countries with a few outliers. I am not sure
2011 Feb 08
2
Frequency plot --- stacked symbols
Hi, We were wondering how we could make a stacked frequency diagram such as this one: http://msemac.redwoods.edu/~darnold/math15/liz.pdf We don't necessarily need the shaded "balls", other characters would be fine, such as stacks of x's. David
2017 Sep 19
3
what do you think about write.table(... qmethod = "excel")?
Last week one of our clients reported trouble with a csv file I generated with write.table. He said that columns with quotes for character variables were rejected by their data importer, which was revised to match the way Microsoft Excel uses quotation marks in character variables. I explained to them that quoted character variables are virtuous and wise, of course, but they say Microsoft Excel
2008 Nov 07
4
Installing application with 2 cd's
Hi. I've tried to find this solution and have not been successful. Never used wine before and am just getting into Linux. Opensuse 10.3. Wine is installed. Using Wine-door. I have an application that has 2 CD's. the first CD installs then asks for the 2nd CD. Unable to eject the first cd. Get error message media is busy and can't eject. Can't figure out how to get it to
2006 Feb 16
1
Too Many Ace Entries for file
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Greetings, I am encountering a problem with Samba and setting acl's for files/directories from the security dialog on my Windows clients. I can easily toggle the file permissions. However, it am not able to add/remove user/groups from the GUI interface on my windows clients. I have also noticed when I add access with setfacl it doesn't not