similar to: Split data frame and create a new column

Displaying 20 results from an estimated 200 matches similar to: "Split data frame and create a new column"

2012 Feb 13
1
MCMCglmm with cross-classified random effects
Dear R-users, I would like to fit a glmm with cross-classified random effects with the function MCMCglmm. Something along the lines: model1<-MCMCglmm(response~pred1, random=~re1+re2, data=data) where re1 and re2 should be crossed random effects. I was wondering whether you could tell me specifying cross-classified random effects in MCMCglmm requires a particular syntax? Are there any
2017 Sep 20
4
[PATCH 0/4] Replace some uses of the Str module with PCRE.
Str is a pretty ugly regexp module. Let's try to replace it with PCRE. This series of commits goes some small way towards that eventual goal. - - - I wonder if there was a deep reason why we had this? let unix2dos s = String.concat "\r\n" (Str.split_delim (Str.regexp_string "\n") s) I replaced it with what I think should be (nearly) equivalent: let unix2dos s =
2005 Aug 04
1
Where the error message comes from?
Hi all: I get the following error message that I am not able to resolve. Error in if (const(t, min(1e-08, mean(t)/1e+06))) { : missing value where TRUE/FALSE needed It appears right before the last data.frame statement. Below is the program that simulates data from one way random effects model and then computes normality and bootstrap confidence interval for
2007 Sep 18
10
Routes
hi all, I want to move some routing tasks out of the router and into the controller. The goal is to make Merb feel less like mod_rewrite and give the user more control at the controller. The new Router is simple: it takes the path_info (not the whole request) then outputs a controller class and some parameters from the path matching. The rest of the routing would be done at the controller level.
2006 Feb 11
1
Spammers on the mailing list?
In respose to my "when is update 3 coming out?" I received the following mail from brian.trudeau at eastek-intl.com offlist. Thank you for submitting a ticket to support. Your ticket number is [04E-0B7CC3CC-3842]. Please keep this ticket number for your records and include it in the subject (including brackets) of all future emails regarding this issue. Thank You, Support Staff
2008 Jan 02
2
Invalid extensions
Hi all First I want to wish for everone a happy new year... Well... I have run asterisk 1.4.16.1 in a server. I have this IVR, in extensions.conf: [ura] ;exten => s, 1, Wait,1 exten => s, 1, Answer() exten => s, n, Noop() exten => s, n(debug),DumpChan() exten => s, n, Set(LANGUAGE()=pt_BR) exten => s, n, Set(CALLFILENAME=/var/spool/asterisk/monitor/entrada/) exten => s,
2006 Aug 31
2
Postfix won't relay after update to CentOS 4.4
Hi Everyone, My CentOS 4.4 mail server is having problems sending mail after updating it to 4.4 Before the update, I did not have any problems. My ISP requires that email clients must authenticate to their mail servers before mail can be sent out. I setup smtp auth to get postfix to relay mail through the ISP's mail servers. Here's my config: main.cf -------- relayhost =
2007 Apr 04
1
sun x2100 gmirror problem
Hi, We're using gmirror on our sun fire x2100 and FreeBSD 6.1-p10. Some days ago I found this in the logs: Apr 1 02:12:05 x2100 kernel: ad6: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=612960533 Apr 1 02:12:05 x2100 kernel: ad6: FAILURE - WRITE_DMA48 status=51<READY,DSC,ERROR> error=10<NID_NOT_FOUND> LBA=612960533 Apr 1 02:12:05 x2100 kernel: GEOM_MIRROR:
2007 Feb 13
1
RE2: Suddenly "Subscript out of bounds"
If you tell me how to update R itself automatically, I will go for your advice. I am not aware of any method to do it... Bye Rick "ONKELINX, Thierry"
2003 Aug 08
2
Re2: Problem -ATA-711-723-Oh323-Asterisk(BACKTRACK INFO]
Hello Michael, Here is the BackTrace of the program which i forgot to attach BACKTRACE OF Asterisk -vvc #0 0x42074d60 in _int_realloc () from /lib/tls/libc.so.6 #1 0x420738c4 in realloc () from /lib/tls/libc.so.6 #2 0x47c7da89 in PAbstractArray::SetSize(int) () from /home/sip/pwlib/lib/libpt_linux_x86_r.so.1.5 #3 0x47c7cf4d in PContainer::SetMinSize(int) () from
2024 Dec 02
1
Identify first row of each ID within a data frame, create a variable first =1 for the first row and first=0 of all other rows
OK. (Note: I am ccing this to the list so that others can correct any mistakes, misunderstandings, or misstatements that I may make; and also give you more and better advice about how to proceed. For example, there may be environmental packages ( see the environmetrics task view, https://CRAN.R-project.org/view=Environmetrics) that already do everything you want from your data source that someone
2017 Sep 21
18
[PATCH v2 00/18] Replace many more uses of the Str module with PCRE.
v1 was here: https://www.redhat.com/archives/libguestfs/2017-September/msg00135.html This is a more complete evolution of the earlier patch. It replaces most important uses of Str with PCRE throughout the code. It also extends the bindings with some useful features like case-insensitive regexps. The main places I *didn't* touch are the generator (GObject uses Str extensively); and
2010 Jun 29
1
ZFS on Caviar Blue (Hard Drive Recommendations)
Hi list, I googled around but couldn''t find anything on whether someone has good or bad experiences with the Caviar *Blue* drives? I saw in the archives Caviar Blacks are *not* recommended for ZFS arrays (excluding apparently RE3 and RE4?). Specifically I''m looking to buy Western Digital Caviar Blue WD10EALS 1TB drives [1]. Does anyone have any experience with these drives? If
2009 Aug 04
3
Yum - which repo did a package come from
guys, i have installed mailscanner, spamassassin, etc on my machine. This was done sometime ago. Some of these rpms i got not frm centos repos. What command ( or yum command ) can i use to find out which repo did this installled package come from. yum info packagename just says; repo : installed i was hoping for something like repo:rpmforge or something similiar. i have these 3 rpms
2017 Sep 22
27
[PATCH v3 00/22] Replace almost all uses of the Str module with PCRE.
v1: https://www.redhat.com/archives/libguestfs/2017-September/msg00135.html v2: https://www.redhat.com/archives/libguestfs/2017-September/msg00158.html v3 is almost identical to v2, but I have added 4 extra commits to almost finish the job of replacing Str everywhere possible (note it's not possible to replace Str in common/mlstdutils or the generator because those are pure OCaml). As
2007 Dec 14
3
GUI for Asterisk: Call Flow
Hi All; Is there an GUI for Asterisk that can help in showing the call flow (who is in progress, who is connected, called number, ...)? I was think in AsteriskNow does this? Any advise? Regards Bilal ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
2012 Feb 13
2
finding and describing missing data runs in a time series
Hi - I am trying to find and describe missing data in a time series. For instance, in the library openair, there is a data frame called "mydata": library(openair) head(mydata) date ws wd nox no2 o3 pm10 so2 co pm25 1 1998-01-01 00:00:00 0.60 280 285 39 1 29 4.7225 3.3725 NA 2 1998-01-01 01:00:00 2.16 230 NA NA NA 37 NA NA NA 3 1998-01-01 02:00:00
2006 Feb 28
2
Conference bridge dimensioning
We are using an Asterisk box to do conferencing right now. I have had about sixteen active lines in conference and the quality was acceptable. We now have a need for 50 people to conference at one time. Does anyone have enough experience doing this to give me some pointers. Will it even be reasonable to try this? Is the mixing done on the the hardware, I plan on using a quad span t-1 card from
2013 Jan 15
1
Using system() to dump HDF to text file?
Hi all -- I am working on 64-bit Windows XP. I'm not a very technical person when it comes to the command line stuff, so please forgive me if this is a stupid question. I have a bunch of HDF files, and I want to dump a single PM25 data layer from each file to .txt by invoking ncdump.exe from system(). Here's a sample command string: "C:/ncdump -v PM25 C:/01aug2010.hdf >
2015 Dec 02
3
[PATCH 0/3] [FOR COMMENTS ONLY] Rework inspection.
This is something I've been working on: Reworking inspection so it's not a big mess of ad hoc C code, but instead uses a well-defined domain-specific language to describe how we inspect guests. The best introduction to this is the manual page, which I include below (it's also included in patch 2/3). Rich. ---------------------------------------------------------------------- NAME