similar to: specifying interactions in a gam model with "by"

Displaying 20 results from an estimated 3000 matches similar to: "specifying interactions in a gam model with "by""

2009 Jul 28
3
selecting vector elements using matrices and combining the results
I've been scratching my head over this one for too long. I'm hoping someone out there can solve this riddle. I have two vectors of characters, v1 and v2, both of length L, and two matrices of logicals, m1 and m2, both of dimension N*L. The first matrix of logicals corresponds to the first vector of characters, and the second to the second. The matrices are telling me which of the
2012 Oct 11
2
struggling with R2wd or SWord? Try rtf!
I have been looking for a way to write R-generated reports to Microsoft Word documents. In the past, I used the package R2wd, but for some reason I haven't been able to get it to work on my current set up. R version 2.15.0 (64-bit) Windows 7 Enterprise - Service Pack 1 Microsoft Office Professional Plus 2010 - Word version 14.0.6123.5001 (32-bit) I gave the package
2017 Jun 16
0
ASA Conference on Statistical Practice - deadline Thursday
R Users, Abstracts are now being accepted for the ASA Conference on Statistical Practice February 15-17, 2017 Portland, Oregon USA The deadline for submission is Thursday June 22. Presentations will be 35 minutes long and fall into four broad themes: Communication, Collaboration, and Career Development Data Modeling and Analysis Data Science and Big Data
2011 Sep 27
2
inset one map on top of another map
I want to overlay a small inset map on top of another map, but I can't figure out how to do it. For example, here are two different maps: # map 1 - Ohio map("state", region= "ohio") # map 2 - US with Ohio darkened map("state") map("state", region="ohio", fill=T, add=T) I would like to add map 2 as a small inset in the corner of map 1. I
2011 Sep 29
1
efficient coding with foreach and bigmemory
I recently learned about the bigmemory and foreach packages and am trying to use them to help me create a very large matrix. Without those packages, I can create the type of matrix that I want with 10 columns and 5e6 rows. I would like to be able to scale up to 5e9 rows, or more, if possible. I have created a simplified example of what I'm trying to do, below. The first part of the
2010 Mar 17
3
Are loops handled differently in newer versions of R?
Hi gang, I'm perplexed- I have some code that uses for() loops that works fine in R version 2.8 on my mac, worked fine in version 2.8 on my old windows machine, but doesn't work in version 2.10 on windows. The loop implements a function over a data frame (code is included below). In Mac (running version 2.8), the results of the loop are what I expect: > p_unadj [1] 0.034939481
2002 Jun 29
0
电脑配件惊爆抢购价 samba
̨ʤÏòÄãÎʺÃ! ÎÒ¹«Ë¾³¤ÆÚ´Óʹú¼ÊóÒ×,ΪÍÚ¾òÊг¡Ç±Á¦¡¢À©´ó¾­Óª¹æÄ£,ÒâÔÚ¹óµØ Ñ°ÕÒÁôÒ×´°¿Ú,Ìؽ«´Ë¼Ûͬ±í³Ê¹óµ¥Î»²Î¿¼.ÎÒ˾ÌṩһÁ÷Æ·ÖÊ,Ò»Á÷·þÎñ,ËÍ»õÉÏÃÅ, »õµ½¸¶¿î, ÅúÁí¾ù¿É.»¶Ó­¸÷½çÅóÓÑÀ´µç´¹Ñ¯¼°Ö§³Ö.¶àл!!! ̨ʤ¹«Ë¾ ÖйúITóÒײ¿ :ÇØ Áú ͼ ÇëÎðÖ±½Ó»Ø¸´£¬ÓÐÒâÕßÇëÀ´µç ------0139-59726696 Ò»:±Ê¼Ç±¾µçÄÔ(È«ÇòÁª±£µ¥,ÈýÄê) ±Ê¼Ç±¾µçÄÔÊÖ»úÉÏÍøרÓÃPC¿¨----------1450Ôª A . Ë÷Äá SONY SR/27K(4500Ôª)
2002 Jul 23
0
电脑配件惊爆价 samba
̨ÕýÏòÄãÎʺÃ! ÎÒ¹«Ë¾³¤ÆÚ´Óʹú¼ÊóÒ×,ΪÍÚ¾òÊг¡Ç±Á¦¡¢À©´ó¾­Óª¹æÄ£,ÒâÔÚ¹óµØ Ñ°ÕÒÁôÒ×´°¿Ú,Ìؽ«´Ë¼Ûͬ±í³Ê¹óµ¥Î»²Î¿¼.ÎÒ˾ÌṩһÁ÷Æ·ÖÊ,Ò»Á÷·þÎñ,ËÍ»õÉÏÃÅ, »õµ½¸¶¿î, ÅúÁí¾ù¿É.»¶Ó­¸÷½çÅóÓÑÀ´µç´¹Ñ¯¼°Ö§³Ö.¶àл!!! ̨ÍåÕýÈÙ¹ú¼ÊóÒ×¹«Ë¾ ÖйúITóÒײ¿ :Áø½ðÃú ÇëÎðÖ±½Ó»Ø¸´£¬ÓÐÒâÕßÇëÀ´µç ------0138-50738839 Ò».µçÄÔÅä¼þ(RMB.Ôª): A:Ö÷°å: ΢ÐÇ 845Pro2-LE(Socket,i845,SDRAM,AC97Éù¿¨)---530 845Pro
2008 Sep 01
0
Plotting significance level
I am a new user of R package and I needed a help regarding plotting confidence limits for FFT ( chisquare based) and spectrum using the monte carlo simulations of background red noise . How do I do it in R can any one help in this issue? sudheer º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤º¤ø,¸¸,ø¤º Sudheer Joseph Scientist Indian National Centre for Ocean Information Services
2004 Aug 06
0
Öйú±±¾©¹ú¼Ê¿Æ¼¼²©ÀÀ»áôßÖйú±±¾©¸ßм¼Êõ²úÒµ¹ú¼ÊÖÜ
µÚÎå½ì±±¾©¡°¹ú¼ÊÖÜ¡±³ÏÑûÄúµÄ(¹«Ë¾¡¢ÆóÒµ)²Î¼Ó -- Öйú±±¾©¹ú¼Ê¿Æ¼¼²©ÀÀ»áôßÖйú±±¾©¸ßм¼Êõ²úÒµ¹ú¼ÊÖÜ ¡°ÊÀ½ç500Ç¿CEOÓëÖйú¶¥¼¶ÆóÒµÊ×ÄÔÂÛ̳¡± »áÒé˵Ã÷£º ¾­ÖлªÈËÃñ¹²ºÍ¹ú¹úÎñÔºÅú×¼£¬ ÖлªÈËÃñ¹²ºÍ¹ú¿Æѧ¼¼Êõ²¿¡¢Í⾭󲿡¢½ÌÓý²¿¡¢ÐÅÏ¢²úÒµ²¿¡¢Öйú¹ú¼ÊóÒ×´Ù½øίԱ»á¡¢¹ú¼Ò֪ʶ²úȨ¾ÖºÍ±±¾©ÊÐÈËÃñÕþ¸®¹²Í¬Ö÷°ì£¬ ±±¾©ÊÐó´Ù»á³Ð°ìµÄ¡ª¡ªµÚÎå½ìÖйú±±¾©¸ßм¼Êõ²úÒµ¹ú¼ÊÖÜ(ÒÔϼò³Æ¿Æ²©»á(¹ú¼ÊÖÜ)£¬
2004 Aug 06
0
Öйú±±¾©¹ú¼Ê¿Æ¼¼²©ÀÀ»áôßÖйú±±¾©¸ßм¼Êõ²úÒµ¹ú¼ÊÖÜ
µÚÎå½ì±±¾©¡°¹ú¼ÊÖÜ¡±³ÏÑûÄúµÄ(¹«Ë¾¡¢ÆóÒµ)²Î¼Ó -- Öйú±±¾©¹ú¼Ê¿Æ¼¼²©ÀÀ»áôßÖйú±±¾©¸ßм¼Êõ²úÒµ¹ú¼ÊÖÜ ¡°ÊÀ½ç500Ç¿CEOÓëÖйú¶¥¼¶ÆóÒµÊ×ÄÔÂÛ̳¡± »áÒé˵Ã÷£º ¾­ÖлªÈËÃñ¹²ºÍ¹ú¹úÎñÔºÅú×¼£¬ ÖлªÈËÃñ¹²ºÍ¹ú¿Æѧ¼¼Êõ²¿¡¢Í⾭󲿡¢½ÌÓý²¿¡¢ÐÅÏ¢²úÒµ²¿¡¢Öйú¹ú¼ÊóÒ×´Ù½øίԱ»á¡¢¹ú¼Ò֪ʶ²úȨ¾ÖºÍ±±¾©ÊÐÈËÃñÕþ¸®¹²Í¬Ö÷°ì£¬ ±±¾©ÊÐó´Ù»á³Ð°ìµÄ¡ª¡ªµÚÎå½ìÖйú±±¾©¸ßм¼Êõ²úÒµ¹ú¼ÊÖÜ(ÒÔϼò³Æ¿Æ²©»á(¹ú¼ÊÖÜ)£¬
2012 Jul 02
2
using "na.locf" from package zoo to fill NA gaps
Hi everybody, I have a small question about the function "na.locf" from the package "zoo". I saw in the help that this function is able to fill NA gaps with the last value before the NA gap (or with the next value). But it is possible to fill my NA gaps according to the last AND the next value at the same time? Actually, I want R to fill my gaps with the method of
2002 Jan 13
0
vorbis-dev´Ô ¾È³çÇϼ¼¿ä? *^^*((¿µ¾î & ÀϾî mailing service È«º¸))*^^*
:::Happy mail::: Happymail ¹× ±âŸ ¹®ÀÇ 02-588-0510 2002³â 1¿ù ¢Ã Ä£±¸ÀÇ Ãæ°í ¢Ñ [¿µ¾î·Î ¿ô¾î¿ä] ¿ø¹®º¸±â A man and his friend were travelling on a train. They decided they were hungry and each took out a banana. Just as the first man took a bite of his, the train entered a tunnel and everything went dark. The man said to
2002 Jan 13
1
vorbis´Ô ¾È³çÇϼ¼¿ä? *^^*((¿µ¾î & ÀϾî mailing service È«º¸))*^^*
:::Happy mail::: Happymail ¹× ±âŸ ¹®ÀÇ 02-588-0510 2002³â 1¿ù ¢Ã Ä£±¸ÀÇ Ãæ°í ¢Ñ [¿µ¾î·Î ¿ô¾î¿ä] ¿ø¹®º¸±â A man and his friend were travelling on a train. They decided they were hungry and each took out a banana. Just as the first man took a bite of his, the train entered a tunnel and everything went dark. The man said to
2013 Jun 18
0
Fwd: offset en bucle
Amigos de la erre. He creado mi primer bucle con for para entrenar unos modelos con GAM. La respuesta es quasipoisson porque estoy trabajando con densidades de peces. Sin embargo, tengo un problema, no se muy bien como añadir el offset a la formula siguiente cuando creo el bucle. GAM.A1 <-gam ((DYO)~s(DMA,k=4)+ s(WOD,k=4)+s(CIN,k=4)+s(DRA,k=4)+s(DBR,k=4)
2001 Oct 15
1
ogg file header?
hello, i'm developing a vorbis ogg comment editor and i have run into some problems. first of all it is a windows program writen in Delphi 4. ok so i can read the comments and i can write out the new comments but the new ogg file will not play. i think the problem is that i do not understand what needs to be changed in the 1st header. right now i am copying the first header, writing
2011 Sep 30
1
last observation carried forward +1
Hi R-helpers I'm looking for a vectorised function which does missing value replacement as in last observation carried forward in the zoo package but instead of a locf, I would like the locf function to add +1 to each time a missing value occurred. See below for an example. > require(zoo) > x <- 5:15 > x[4:7] <- NA > coredata(na.locf(zoo(x))) [1] 5 6 7 7 7 7 7 12 13
2013 Jun 18
2
offset en bucle
Amigos de la erre. He creado mi primer bucle con for para entrenar unos modelos con GAM. La respuesta es quasipoisson porque estoy trabajando con densidades de peces. Sin embargo, tengo un problema, no se muy bien como añadir el offset a la formula siguiente cuando creo el bucle. GAM.A1 <-gam ((DYO)~s(DMA,k=4)+ s(WOD,k=4)+s(CIN,k=4)+s(DRA,k=4)+s(DBR,k=4)
2004 May 18
0
.(±¤.°í) Áú¿°,³Ã´ëÇÏ,»ý¸®Åë µî ¿©¼º°í¹ÎÀÌ ÀÖÀ¸¼¼¿ä? LCS°¡ ÀÖÀݾƿä. ÀáÀÚ±âÀü¿¡ Áú¾ÈÂÊ¿¡ ³Ö°í ÀÚ¸é ºÒ¼ø¹°ÀÌ »ý¸®Ã³·³ ³ª¿À°í ¿©¼º°í¹ÎÀÌ »ç¶óÁý´Ï´Ù[[RANDOM]]
<head> <meta http-equiv="content-type" content="text/html; charset=euc-kr"> <title> L.C.S</title> </head> <body> <table align="center" border="1" width="468" bgcolor="#F9DEDE" bordercolorlight="red"> <tr> <td width="462" height="211"
2013 Mar 18
2
data.frame with NA
I have this little data.frame http://dl.dropbox.com/u/102669/nanotna.rdata Two column contains NA, so the best thing to do is use na.locf function (with fromLast = T) But locf function doesn't work because NA in my data.frame are not recognized as real NA. Is there a way to substitute fake NA with real NA? In this case na.locf function should work Thank you