Displaying 20 results from an estimated 800 matches similar to: "GAM for non-integer proportions"
2010 May 20
1
Strange behaviour when using diff with POSIXt and POSIXlt objects
Dear list,
I´m calculating time differences between series of time stamps and I noticed
something odd:
If I do this...
> time1=strptime("2009 05 31 22 57 00",format="%Y %m %d %H %M")
> time2=strptime("2009 05 31 23 07 00",format="%Y %m %d %H %M")
>
> diff(c(time1,time2),units="mins")
Time difference of 10 mins
.. I get the correct
2006 Sep 13
1
reshaping a dataset
Hi,
I'm trying to move to R the last few data handling routines I was
performing in SAS.
I'm working on stomach content data. In the simplified example I
provide below, there are variables describing the origin of each prey
item (nbpc is a ship number, each ship may have been used on
different trips, each trip has stations, and individual fish (tagno)
can be caught at each
2005 Jan 19
2
recoding large number of categories (select in SAS)
Hi,
I have data on stomach contents. Possible prey species are in the
hundreds, so a list of prey codes has been in used in many labs doing
this kind of work.
When comes time to do analyses on these data one often wants to regroup
prey in broader categories, especially for rare prey.
In SAS you can nest a large number of "if-else", or do this more
cleanly with "select"
2010 Sep 16
4
help me understand how things work.
Hello I have some strange output from R and I try to understand how R works.
Could you please help me with that?
temp <- rbind (c(10,1),c(99,98))
> temp
[,1] [,2]
[1,] 10 1
[2,] 99 98
> dist(temp)
1
2 131.6435
> sqrt(dist(temp))
1
2 11.47360
so far so good.
until the nex line: when I try to do what i did before but adding the 1/(what I
did
2011 Jan 26
0
post-hoc comparisons in GAMs (mgcv) with parametric terms
Dear list,
I?m wondering if there is something analogous to the TukeyHSD function
that could be used for parametric terms in a GAM. I?m using the mgcv
package to fit models that have some continuous predictors (modeled as
smooth terms) and a single categorical predictor. I would like to do
post hoc test on the categorical predictor in the models where it is
significant.
Any suggestions?
2009 Sep 14
1
ggplot2 legend text....a basic question
Hello fellow R's,
I?ve been learning to use the ggplot2 library, and after a full day of
work I still have a couple of basic questions.
Here is an example:
mydata=data.frame(x=runif(20),y=runif(20),n=runif(20))
mydata2=data.frame(x=c(0.4,0.6,0.5),y=c(0.4,0.4,0.6))
ggplot(mydata, aes(x, y)) + geom_point(aes(size = n)) +
geom_polygon(data=mydata2,aes(x,y,alpha=0.5))
In this plot, the
2011 Jun 11
0
problems with geom_vline, histograms, scale=free and facets in ggplot
Dear list,
I?m having a little trouble with adding vertical lines to a histogram.
I need to draw a matrix of histograms (using facets), and in each
histogram add a vertical line indicating the mean value of the data in
each facet. According to the last example in the geom_hline help, to
display different lines in each facet I need to provide a data frame.
I modified this example to make a plot
2014 Apr 15
3
[LLVMdev] local lambdas: request for coding standard clarification/judgement call
Do local lambdas get named like variables or like functions?
E.g.
void foo() {
auto helper = [](...){...};
// or
auto Helper = [](...){...};
}
My gut is that it should be lowercase (named like a function) since I got a
weird feeling in my stomach seeing an upper-case name being called like a
function in new code.
-- Sean Silva
-------------- next part --------------
An HTML attachment
2017 Jun 09
0
Urgent :) Procedure for replacing Gluster Node on 3.8.12
On 9 June 2017 at 17:12, <lemonnierk at ulrar.net> wrote:
> Heh, on that, did you think to take a look at the Media_Wearout indicator ?
> I recently learned that existed, and it explained A LOT.
>
Yah, that has been useful in the past for journal/cache ssd's that get a
lot of writes. However all the stats on this boot SSD were ok, it just gave
up the ghost. Internal controller
2012 May 11
2
[LLVMdev] Request for Help: Teach ARM target to auto-detect cpu / subtarget features
Hi all,
I've just filed PR12794: Add ARM cpu / subtarget features auto-detection. And I would very much appreciate the community's help to implement this.
What motivated this? Well this:
http://www.phoronix.com/scan.php?page=news_item&px=MTA5OTM
I believe one of the reason the benchmark numbers are totally bogus is that the compilation are done on ARM hosts. Given the benchmarks are
2009 Jul 15
3
Axes origins and labeling
I have re-labeled tick marks on the x axis. The problem is that by using
axes=FALSE, the axes disappears and when they are called back using
axis(side=1)..etc. the axis on sides 1 and 2 do not meet at the bottom left
corner of the graph. I would also like to have the 3rd and 4th axes in
there as well, all meeting in their respective corners.
par(mfrow=c(1,2))
gut<-c("Full",
2010 Jun 18
1
Latex problem in Hmisc (3.8-1) and Mac Os X with R 2.11.1
Dear all,
I did post this more or less identical mail in a follow up to another
question I posted, but under another heading. I try again, but now
under the correct header.
upon running this code (from the Hmisc library-latex function) I
believe the call to summary.formula is allright and produces wonderful
tables, but the latex command results in a correct formatted table but
where all the
2008 Apr 25
2
Cisco to Asterisk migration
Hi Guys,
I have client with a Cisco 2690 call manager solution that wants to upgrade
but cannot stomach the costs of continuing with Cisco
The installation will go up to 100 users
The client currently has about 40 Cisco phones and would like to continue
with these phones with the odd Polycom
I'm looking at plugging in an Asterisk box and using the existing Cisco box
as a PSTN gateway only
2012 May 11
4
[LLVMdev] Request for Help: Teach ARM target to auto-detect cpu / subtarget features
On 11/05/12 04:56, 陳韋任 wrote:
>> I've just filed PR12794: Add ARM cpu / subtarget features auto-detection. And I would very much appreciate the community's help to implement this.
>>
>> What motivated this? Well this:
>> http://www.phoronix.com/scan.php?page=news_item&px=MTA5OTM
>>
>> I believe one of the reason the benchmark numbers are totally
2007 May 25
1
[LLVMdev] LLVM Developer Meeting
Hi folks,
I am very sorry, but I'll not be able to attend the developer's meeting.
I came down with a nasty stomach bug yesterday, and am frankly in no fit
state to do anything much.
Many apologies,
Sarah Thompson
2012 May 11
0
[LLVMdev] Request for Help: Teach ARM target to auto-detect cpu / subtarget features
> I've just filed PR12794: Add ARM cpu / subtarget features auto-detection. And I would very much appreciate the community's help to implement this.
>
> What motivated this? Well this:
> http://www.phoronix.com/scan.php?page=news_item&px=MTA5OTM
>
> I believe one of the reason the benchmark numbers are totally bogus is that the compilation are done on ARM hosts.
2014 Apr 12
1
rsync's usage of ssh
I am trying to understand how rsync uses ssh. From what I understand of
the source, it simply opens a ssh connection and then simply pipes
rsync's data. But somehow my stomach tells me that this is not the whole
story.
For one, that would mean the whole (?) of rsync's protocol is only used
for not-ssh transmission. The biggest question for me right now is,
whether rsync, when transmitting
2009 Sep 23
1
any advice on web interfaces to R?
I saw http://cran.r-project.org/doc/FAQ/R-FAQ.html#R-Web-Interfaces
and I'm still not sure yet which platform (Linux, Windows, etc.) I'll
be working on -- and no, it's not under my control to pick.
I was wondering if anyone out there had good advice, that would save
me time and stomach acid, on how to set up a web browser to send a
list of commands to an R and put the resulting table
2011 Mar 10
2
Not sure how to handle hazard in my survival model
Hi R experts :)
I'm trying to carry out a survival model on my data, but I am unsure of
whether it's appropriate or if I should do something specific in regards to
hazard.
My data is time to death by predator where I have 8 prey and one predator in
the setting. This means that two prey can't possibly die at the same time
and I can't quite get my head around how to include this in
2013 Aug 21
1
keeping correct time in guest
Hello,
I know, often asked, often discussed .. No recommendation from Citrix.
What is the better solution?
1) use ntp in the XEN host and synchronize the guests with the clock
running on the control domain (independent_wallclock=0, what the
default is)
2) or use ntp in host and guest (and independent_wallclock=1)
I ask, because the XEN host (bare metal) has a more stable clock and
if the ntp