Displaying 20 results from an estimated 600 matches similar to: "Why are the number of coefficients varying? [mgcv][gam]"
2013 Mar 21
1
[mgcv][gam] Odd error: Error in PredictMat(object$smooth[[k]], data) : , `by' variable must be same dimension as smooth arguments
Dear List,
I'm getting an error in mgcv, and I can't figure out where it comes
from. The setup is the following: I've got a fitted GAM object called
"MI", and a vector of "prediction data" (with default values for
predictors). I feed this into predict.gam(object, newdata = whatever)
via the following function:
makepred = function(varstochange,val){
for
2023 Apr 03
2
Let R compile for libcurl8 ?
Hi!
The same Inar reported for rawhide
(https://stat.ethz.ch/pipermail/r-devel/2023-March/082482.html)
is true for SuSE's distros.
Right now R does not compile with libcurl8, but SuSE Tumbleweed/Factory
switched to 8 a week ago.
Would be great, if the patch Inar provided could be applied to
main.
Detlef
--
"Wozu leben wir, wenn nicht dazu, uns gegenseitig das Leben
einfacher zu
2023 Apr 03
1
Let R compile for libcurl8 ?
On 03/04/2023 14:07, Detlef Steuer wrote:
> Hi!
>
> The same Inar reported for rawhide
> (https://stat.ethz.ch/pipermail/r-devel/2023-March/082482.html)
> is true for SuSE's distros.
>
> Right now R does not compile with libcurl8, but SuSE Tumbleweed/Factory
> switched to 8 a week ago.
>
> Would be great, if the patch Inar provided could be applied to
>
2023 Apr 03
1
Let R compile for libcurl8 ?
Am Mon, 3 Apr 2023 15:13:58 +0100
schrieb Prof Brian Ripley <ripley at stats.ox.ac.uk>:
> On 03/04/2023 14:07, Detlef Steuer wrote:
> > Hi!
> >
> > The same Inar reported for rawhide
> > (https://stat.ethz.ch/pipermail/r-devel/2023-March/082482.html)
> > is true for SuSE's distros.
> >
> > Right now R does not compile with libcurl8, but
2010 Nov 19
2
autocorrelation in count data
hello,
I try to model traffic accidents with the following model:
glm.nb(y~j+w+m+sf+b+ft,data=fr[]). the problem is that there exist
autocorrelation in the data. one possibility is to model traffic
accidents with inar(1)-models. has anyone an idea how to change this
model in order to abtain an integer valued time series model?
thanks
nazli
2008 Nov 11
2
strsplit (regex)
#how do I break these up into first two letters (RM), number, and then
the last part
#is there an easily accessible regex tutorial on the internet?
v = (structure(1:122, .Label = c("RM215Temp", "RM215SpCond", "RM215DO.Conc",
"RM215Depth", "RM215pH", "RM215ORP", "RM215Turbidity.", "RM215Battery",
"RM215DO.",
2010 Nov 15
0
first-order integer valued autoregressive process, inar(1)
Hello,
in my doctoral thesis i try to model time series crash count data with
an inar(1)-process, but i have a few problems in writing the r-code.
is there someone, who works with inar-processes. i would be very
grateful, if someone gives me some ideas in writing the code.
nazli
2010 Nov 17
0
inar(1), time series of count data
Hello,
is there anyone, who works with modelling of time series of count
data. I try to model traffic accidents with inar(1)-models, but I have
a lot of problems with the R-Code. I would be very grateful, if
someone helped me.
Nazli
2023 Apr 03
1
Let R compile for libcurl8 ?
On 03/04/2023 15:24, Detlef Steuer wrote:
> Am Mon, 3 Apr 2023 15:13:58 +0100
> schrieb Prof Brian Ripley <ripley at stats.ox.ac.uk>:
>
>> On 03/04/2023 14:07, Detlef Steuer wrote:
>>> Hi!
>>>
>>> The same Inar reported for rawhide
>>> (https://stat.ethz.ch/pipermail/r-devel/2023-March/082482.html)
>>> is true for SuSE's
2012 May 29
1
Simply Auto Increment A Number
Hi,
I have a template which looks like this
<% scope.lookupvar(''openldap::params::ldapservers'').each do |var| -%>
olcSyncrepl: {0}rid=001 provider="ldap://<%= var %>:389"
type=refreshAndPer
sist retry="5 5 300 +" searchbase="<%=
scope.lookupvar(''openldap::params::searchbase'') %>" attrs="*,+"
bindmeth
2001 Nov 20
0
Time Series Event Count: Great Responses So Far!
In case more of you come across my request from this morning, I've
already gotten several great tips, which I summarize here since one or
two of these did not come across R-help as well.
A team of fellow political scientists is on this problem like
"white-on-rice"!
Brandt, Patrick, John T. Williams Benjamin O. Fordham, and Brian
Pollins.
2000. "Dynamic Modeling for Persistent
2009 Apr 05
1
Time series forecasting
Dear all:
I'm a newbie and an amateur seeking help with forecasting the next in a non-stationary time series, with constraints of 1 (low) and 27 (high) applicable to all.
What I need help with is the solution concept. The series has 439 observations as of last week. I'd like to analyze obs 1 - 30 (which are historical and therefore invariate), to solve for 31.
The history:
Obs 1
2009 Jul 15
1
Error in simulation R-code
Dear List,
I have got error message when I run the R-code. Can anyone has a suggestion?
v.code <- df.bm7[,c(10:31)]; v.code[1:3,]
names(v.code)
CM = v.code # variable binomial code
sim.sp <- function(data,CM,n,N)
{
C <- matrix(rep(NA,N),ncol=1)
for(i in 1:N)
{
j <- n
xx <- which(colSums(CM[j,])==1)
V <- names(xx)
V <- paste(V,
2012 Feb 03
1
incomplete final line found on <name of my sourced function file>
Dear R-ers,
I hope there is a really simple solution to my problem.
I've written a function that I saved in an .r file. I source this file
in my code. For a while it worked fine. But then when I run the line:
source("F mylineplot.r")
I started getting a warning:
In readLines(file) : incomplete final line found on 'F mylineplot.r'
I have no idea why - I tried to check and
2018 Dec 14
4
LLVM Backend for a platform with no (normal) stack
Thanks, no malloc or free equivalents either (no heap).
So, there are no others (to your knowledge) who have built an LLVM backend for a platform with no “normal” stack? I found a presentation about some FPGA work (using LLVM) but it doesn’t seem to apply to my platform. Perhaps someone else on the mailing list will have come across this rarity?
Thank you again for your time and
1998 Sep 18
0
Locking issue
I know this has come up before....but..
I've got a locking issue I can't get over.
Situation:
---------
Unix writes a file to the /tmp directory
MS-DOS (WFW 3.11) copys over the file (copy d:\file.txt ), locking it, and
not releasing the lock.
If Unix subsequently changes the file a re-issuing of the MS-DOS 'copy'
command will appear to work ... but the MS-DOS file is
2018 Dec 14
2
LLVM Backend for a platform with no (normal) stack
Thanks for your response. Please see below.
From: Bruce Hoult [mailto:brucehoult at sifive.com]
Sent: Thursday, December 13, 2018 5:58 PM
To: jjones at prc-hsv.com
Cc: LLVM Developers Mailing List <llvm-dev at lists.llvm.org>
Subject: Re: [llvm-dev] LLVM Backend for a platform with no (normal) stack
Do you have a register that you can store a memory address
>> yes
in and
2018 Dec 17
2
LLVM Backend for a platform with no (normal) stack
For a machine like an FPGA with no stack, you have to ensure that you have an optimization that rewrites the alloca into either registers (such as PromoteMem2Reg) or that you rewrite the alloca by declaring a static local, and rewriting the code to use that instead of the alloca result.
Mark Mendell
From: llvm-dev <llvm-dev-bounces at lists.llvm.org> On Behalf Of Bruce Hoult via llvm-dev
2007 Jun 14
2
Difference between prcomp and cmdscale
I'm looking for someone to explain the difference between these
procedures. The function prcomp() does principal components anaylsis,
and the function cmdscale() does classical multi-dimensional scaling
(also called principal coordinates analysis).
My confusion stems from the fact that they give very similar results:
my.d <- matrix(rnorm(50), ncol=5)
rownames(my.d) <-
2018 Dec 17
2
LLVM Backend for a platform with no (normal) stack
Yes, thank you, specifically and all. On this platform, we call what I will use a "frame stack" (it's actually not a stack, but that's really not relevant). Special thanks to Mr. Mendell--I promise to make good use of the contents of lib/Transforms/Utils/PromoteMemoryToRegister.cpp.
To All, I'm sorry I wasn't clear in my original posting. In hindsight, it was clearly