Displaying 20 results from an estimated 3000 matches similar to: "nlme package dependencies?"
2012 May 02
3
Consulta gráfica
Hola,
Por favor, ¿podríais indicarme qué recursos (librerías o ideas) pueden resultar de utilidad para crear un gráfico del estilo del de la figura 3.8 del siguiente link?
http://www.tsc.uvigo.es/BIO/Bioing/ChrLDoc3.html#3.5
Actualmente estoy utilizando funciones muy básicas y la verdad es que no me encuentro muy satisfecha con el resultado.
Muchas gracias.
Eva
[[alternative HTML
2006 Mar 13
2
Error Message from Variogram.lme Example
When I try to run the example from Variogram with an lme object, I get
an error (although summary works):
R : Copyright 2005, The R Foundation for Statistical Computing
Version 2.2.1 (2005-12-20 r36812)
ISBN 3-900051-07-0
...
> fm1 <- lme(weight ~ Time * Diet, BodyWeight, ~ Time | Rat)
Error: couldn't find function "lme"
> Variogram(fm1, form = ~ Time | Rat, nint =
2002 Nov 19
0
Help on variogram.gls (nlme package)
I am trying to use the nlme package in R following the book
"Mixed-Effects Models in S and S-Plus". I have the latest versions of R
(1.6.1) and nlme (3.1-33) for Windows (95 or later).
I had problems with the instruction Variogram using a gls class object
(Section 5.4, pg 261-262). Even when I use the scripts included in the
package, I get an error message and not the expected
2000 Jul 31
2
NLME 3 (R version) again!
Hi,
Well after trying to fix the assign commands in version 3.1.7 of your nlme package
I still cannot get the plot functions to work. Basically I have no other packages installed (apart from those provided with R) so nlme is the first.
my R version info is;
platform sparc-sun-solaris2.7
arch sparc
os solaris2.7
system sparc, solaris2.7
status
2007 Jul 25
1
how to use "replace" for efficiency
Hi
I think I have been struggling to use replace correctly, I usually
work my way around this using a loop, but I think this is in fact
inefficient.
I have a dataset with runoff from three plots and associated rainfall.
However either the datarecording was sloppy, or the rainfall very
patchy. So I am trying to remove data from my dataset for which the
runoff is larger than the rainfall on the
2005 Jul 15
1
nlme and spatially correlated errors
Dear R users,
I am using lme and nlme to account for spatially correlated errors as
random effects. My basic question is about being able to correct F, p, R2
and parameters of models that do not take into account the nature of such
errors using gls, glm or nlm and replace them for new F, p, R2 and
parameters using lme and nlme as random effects.
I am studying distribution patterns of 50 tree
2009 Mar 24
1
Variogram with Gstat
Dear all can you help me? i have this problem: i have a dataset in a text file
in a matrix of 3 columns: x, y, z where x and y are the coordinates and Z are
the mesurements. How can i do a variogram with R?
2008 Mar 23
2
(no subject)
Is there any way to use more than one color or shape in the same plot. I would like to make the points different colors for various levels of a variable. I have tried a simple 'if' statement in the plot command, but I get an error message. Here is what I have tried and the error message I get: > plot(test, if(test[,1]<8) col="steelblue2" else col="wheat2")Error
2004 Mar 09
2
corARMA and ACF in nlme
Hi R-sters,
Just wondering what I might be doing wrong. I'm trying to fit a multiple
linear regression model, and being ever mindful about the possibilities of
autocorrelation in the errors (it's a time series), the errors appear to
follow an AR1 process (ar(ts(glsfit$residuals)) selected order 1). So,
when I go back and try to do the simultaneous regression and error fit with
gls,
2013 May 03
1
A problem of splitting the right screen in 3 or more independent vertical boxes:
Hi,
Based on par function, I can split the screen into two parts left and
right.
I wish x occupies the half left screen, and all plants occupy half right
screen, which happens right now.
But I wish the right screen, to be split in 3 or more vertical parts
where each pair of the same type of plant, are together in its own block
of boxplot, because each plant has its own unit of measure.
2012 Jul 31
2
Spatial regression
Dear list members,
I have a large dataset with point data. Each data point has X, Y, number of
species present and values for one single explanatory variable. Each point
was generated from a polygon grid shapefile and they are at equal
distances.
I conducted GLS analyses introducing variance structures and correlation
structures to improve the model.
I plotted variograms before and after adding
2004 Dec 19
1
PBIB datataset
I'm looking at Pinheiro & Bates "Mixed-Effects Models in
S and S-PLUS" at the moment. Several datasets are used,
one of which is called "PBIB" (a partially balanced
incomplete block design).
All the other datasets can be found somewhere or other in R.
However, I cannot locate PBIB, and it does not seem to
be mentioned in the latest edition of the R Full Reference
2005 Nov 08
2
Variogram
Dear All,
Is there anybody has the experience in using variogram(gstat) ? Please kindly give me some hints about the results.
I used variogram() to build a semivariogram plot as:
tr.var=variogram(Incr~1,loc=~X+Y,data=TRI2TU,width=5)
then fir the variogram to get the parameters as:
v.fit = fit.variogram(tr.var,vgm(0.5,"Exp",300,1))
v.fit
model psill range
1 Nug 1.484879
2009 Jan 28
1
gls prediction using the correlation structure in nlme
How does one coerce predict.gls to incorporate the fitted correlation
structure from the gls object into predictions? In the example below
the AR(1) process with phi=0.545 is not used with predict.gls. Is
there another function that does this? I'm going to want to fit a few
dozen models varying in order from AR(1) to AR(3) and would like to
look at the fits with the correlation structure
2004 Feb 18
2
using names() as a variable in a formula
Greetings List,
I'm having some trouble with the use of the names function in a formula. Below is an example of something that works (i.e first line), and the second line is the same formula which doesn't. I want to be able to reference the column of the dataC table so I can run the variogram iteratively with a loop.
> v<-variogram(A1~1,loc=~x+y, dataC)
>
2005 Nov 17
1
anova.gls from nlme on multiple arguments within a function fails
Dear All --
I am trying to use within a little table producing code an anova
comparison of two gls fitted objects, contained in a list of such
object, obtained using nlme function gls.
The anova procedure fails to locate the second of the objects.
The following code, borrowed from the help page of anova.gls,
exemplifies:
--------------- start example code ---------------
library(nlme)
##
2008 Aug 05
4
LIDAR Problem in R (THANKS for HELP)
Hi All,
I am a PhD student in forestry science and I am working with LiDAR data set
(huge data set). I am a brand-new in R and geostatistic (SORRY, my
background it?s in forestry) but I wish improve my skill for improve myself.
I wish to develop a methodology to processing a large data-set of points
(typical in LiDAR) but there is a problem with memory. I had created a
subsample data-base but
2003 Oct 02
1
Are package maintainers responsible for name-mangling class names?
The following came up when Roger Bivand and I discussed
R's name spaces and overlap in packages, in the bus to the
field trip during StatGIS, last Tuesday:
If two packages create the same class, say "variogram", and both
are loaded, then using a method for an object of class "variogram"
cannot discriminate between them and will call the method in the
package loaded last.
2000 Mar 07
1
Problems with nlme (PR#471)
Dear R developers,
first of all let me join the chorus of congratulations for the release
of R 1.0.0. Well, done!
Unfortunately, I find it necessary to e-mail in a bug report regarding
the `nlme' package. On my office machine I experience the following
trouble:
bossiaea:/opt/R$ R CMD check -c nlme
Checking package `nlme' ...
Massaging examples into `nlme-Ex.R' ...
Running
2017 Sep 24
1
R version 3.3.2, Windows 10: gstat package: Error in fitting a variogram model using 'fit.variogram' function
Dear Members,
I am trying to fit a variogram model using fit.variogram function from the gstat package. The figure showing my experimental variogram can be seen here: https://i.stack.imgur.com/UZXw4.png
My code line for this operation is:
> c2.vgm.fit<-fit.variogram(c2.vgm.exp,vgm(nugget=0, psill=400,model="Exp",range =40000),fit.method = 7)
The system throws following error