Displaying 20 results from an estimated 120 matches similar to: "nls confidence intervals"
2003 Jun 18
3
finding contours in a matrix
Hi,
I have matrix of sea bottom depths that I am plotting in R with the function
'image'.
I am particularly interested in the 200m depth contour (I'm using 'distance
from this feature' as a covariate in a model) and would like to extract the
data at evenly
spaced points along it. I can easily superimpose a line at 200m using the
function 'contour'. What I
want to
2003 Jun 22
1
Using weighted.mean() in aggregate()
Dear R users, I have a question on using weighted.mean() while aggregating a
data frame. I have a data frame with columns Sub, Length and Slope:
> x[1:5,]
Sub Length Slope
1 2 351.547 0.0025284969
2 2 343.738 0.0025859390
3 1 696.659 0.0015948968
4 2 5442.338 0.0026132544
5 1 209.483 0.0005304225
and I would like to calculate the weighted.mean of Slope, using Length
2007 Dec 17
2
more structure than 'str'?
How can I see more of the structure than displayed by 'str'?
Consider the following:
tstDF <- data.frame(a=1, row.names='b')
> str(tstDF)
'data.frame': 1 obs. of 1 variable:
$ a: num 1
The object 'tstDF' has row.names, but I have to suspect they are
there -- AND know a function like 'row.names' or 'dimnames' -- to see
2004 Dec 04
1
AIC, AICc, and K
How can I extract K (number of parameters) from an AIC calculation, both to
report K itself and to calculate AICc? I'm aware of the conversion from AIC ->
AICc, where AICc = AIC + 2K(K+1)/(n-K-1), but not sure of how K is calculated
or how to extract that value from either an AIC or logLik calculation.
This is probably more of a basic statistics question than an R question, but I
thank
2005 Oct 12
2
functions available for use with aggregate?
What are the functions available for use with “aggregate”? Where can a reference to them be found?
---------------------------------
[[alternative HTML version deleted]]
2011 Mar 11
1
Error in plot.lm
I am encountering an error with plot.lm:
> tstdf <- data.frame( y=c(1.01,1.98,3.02,3.99),x=c(1,2,3,4))
> plot(lm(I(y) ~ x, data=tstdf))
Hit <Return> to see next plot:
Hit <Return> to see next plot:
Error in object$coefficients : $ operator is invalid for atomic vectors
Obviously I don't need the I() in this example, but I have been working
with regressions that involve
2005 Jun 17
3
Fit values for NA's in linear regression
Hi,
To obtain estimates for some missing values in my data I fitted a
linear regression and then used the command fitted(model) to get the
fitted values from the model, but R doesn't return any values for the
NA's. I can calculate the fitted values from the estimates obtained
from the summary of model, but that's not very handy. Is there a way to
include the missing values in the
2005 Jul 15
1
2D contour predictions
Hi All
I have been fitting regression models and would now like to produce some
contour & image plots from the predictors.
Is there an easy way to do this? My current (newbie) experience with R
would suggest there is but that it's not always easy to find it!
f3 <- lm( fc ~ poly( speed, 2 ) + poly( torque, 2 ) + poly( sonl, 2 ) +
poly( p_rail, 2 ) + poly( pil_sep, 2 ) + poly( maf, 2
2002 Nov 04
1
Installing R under Unix (Solaris 2.6).
Hi,
I'm having trouble installing R. I'm sure this is a very simple problem but
I'm stuck. When running the ./configure script, to install R (version 1.6)
on Solaris 2.6, I get an error message at the end of the configuration
process "WARNING: f77 and cc
disagree on int and double. configure: error: maybe change CFLAGS or
FFLAGS?"
However, I have seen no documentation on
2003 Jun 03
1
S+ style implementation of GAM for R?
Hi,
I've got the R library "mgcv" for GAM written by Simon Wood which works well
in many instances. However, over the years I
got attached to the S+ implementation of GAM which allows loess smoothing in
more than 1 dimension as well as spline smoothing.
Has anyone ported the S+ GAM library to R?
Regards,
Doug Beare.
Fisheries Research Services,
Marine Laboratory,
Victoria Road,
2004 Jun 12
1
[OT] search for implementation of GetThreadTimes
Hello,
I would like to ask a question which is not related to wine, but i think
that wine developpers could answer it, or maybe help me a bit.
I am working on the linux port of a win32 program. This one uses two
functions about win32 threads:
GetCurrentThread
GetThreadTimes
I have found in nt2unix an implementation of the first one. But not for
the latter.
I have seen that 2 years ago,
2012 Feb 23
1
how to draw crossing circles to show relationship?
Dear list,
To make it easier, let me start with an example.
Say I have 20 different cookies. Dave likes 7 of them, Evan likes
14 of them and Torri likes 11 of them. The data is
cookies<-cbind(c(1:20), c(1,0,0,1,0,1,0,0,0,0,1,1,1,0,0,0,1,0,0,0),
c(1,1,1,0,0,1,1,1,1,1,0,1,1,0,1,0,1,0,1,1),
c(1,1,0,1,0,0,1,0,1,1,0,0,1,0,1,0,1,1,1,0))
2002 Sep 10
3
wine initialising... then nothing
I installed WPO2000 on RedHat 7.2 - it worked fine for a while. I used the
updated install scripts and Mr. Torrie's CorelWine rpm. It has been
working fine for a couple of weeks (and continues to do so on another
machine). Now when I start the WP application, I get a window that says
"Wine initializing...", then it goes away (a little too quickly, I think),
and then...
2011 Feb 24
1
Samba with multiple domains with LDAP backend
Hi.
I need to setup a single Samba server with multiple domains.
I did more than one setup with single domain, but I'm having troubles finding info about multiple domain, especially with LDAP.
Can anyone point me to a link, possibly with examples, on how to configure such a setup?
many thanks
--
Lorenzo Milesi - lorenzo.milesi at yetopen.it
YetOpen S.r.l. - http://www.yetopen.it/
Via Carlo
2008 Jan 22
1
Duncan's MRT: limitations to qtukey() function?
Dear all,
I'm using R to perform multiple comparison testing on agriculture
genotype trials. To perform the Duncan's MRT, I use the qtukey()
function with the following syntax:
qtukey(p = ((1 - 0.05) ^ (pos - 1)), nmeans = pos, df = ni)
I experience a strange behaviour when the number of means in the trial
and the number of residual degrees of freedom (ni) becomes high
2003 Aug 14
0
Bug in numericDeriv (was: [R] nls confidence intervals) (PR#3746)
Moved from r-help:
On Thu, 14 Aug 2003 09:08:26 -0700, Spencer Graves
<spencer.graves@pdf.com> wrote :
>p.s. The following command in S-Plus 6.1 seems to work fine but
>produces an error in R 1.7.1:
>
>nls(y~a, data=tstDf, start=list(a=1))
>Error in nlsModel(formula, mf, start) : singular gradient matrix at
>initial parameter estimates
This looks like a bug in
2002 Nov 04
1
CFLAGS
I'm sure this is a very simple problem but I'm stuck. When running the
./configure script, to install R (version 1.6) on Solaris 2.6, I get an
error message at the end of the configuration process "WARNING: f77 and cc
disagree on int and double. configure: error: maybe change CFLAGS or
FFLAGS?" However, I have seen no documentation on these flags' options,
syntax, and how
2001 Feb 27
1
printing with wine thru ghostscript
The printing howto is a little vague in this area. How do I go about
printing through ghostscript from windows? I know how to teach
ghostscript to print the ttfs (generate the appropriate afms, add them
to the fontmap). Where do I place the afms for wine to use? If I
provide afms for each truetype font for wine, and then use a postscript
printer ppd file, and set lpt1 to be |lpr, will this
2012 Aug 06
2
Problem in sharing printers
Hi.
I've configured a Samba PDC controller on which I've configured a couple of printers using Cups.
I've set up the relevant config according to the documentation, so:
load printers = Yes
printing = cups
printcap name = cups
[print$]
comment = Printer Drivers
path = /dati/samba/drivers
browseable = yes
guest ok = no
read only = yes
2001 Dec 03
6
smbpasswd and ldap
I've compiled samba with the --with-ldapsam option and have setup up an
ldap server. When I try to change the password of a user, say
Administrator, get the following stuff with full debugging turned on (-D
255):
New SMB password:
Retype new SMB password:
ldap_open_connection: connection opened
ldap_connect_system: succesful connection to the LDAP server
ldap_search_one_user: searching