similar to: Monmonier algorithm

Displaying 20 results from an estimated 600 matches similar to: "Monmonier algorithm"

2006 Mar 29
1
Monmonier algorithm
Hello list, does anyone know if Monmonier algorithm is available in R? I've checked several spatial libraries, but I didn't find anything related to it. However, there is a huge documentation and I may have missed it. Before coding it, I'd like to be sure it doesn't already exist. Cheers, Thibaut Jombart. -- ###################################### Thibaut JOMBART CNRS UMR
2008 May 23
1
seeing an S4 method, not using it
Dear list, here is a problem I met when trying to use a method for an S4 object, without loading the package in which the method was defined. I do not know if this is a bug, or a mistake of mine. Normally, I think the package in which the appropriate method is defined is loaded automatically when calling the method. The problem is that if the package is indeed loaded automatically, the
2010 May 21
1
S4 method defined but not used
Dear R developers, I am having a slightly weird issue with a S4 method defined in my package adegenet 1.2-4, with R 2.11.0. As far as I know, the problem is new, and the code implementing the method has not changed for more than a year and worked well so far. The problem is the following. I define, in the package, a method "[" for the S4 class 'genind'. The method's
2013 Jun 05
1
conflicting imports despite using importFrom in NAMESPACE
Dear all, It is my understanding that using 'importFrom' in the NAMESPACE of a package allows to avoid conflicts between different packages defining objects with identical names. However, I can still see conflicts while loading the package using 'library'. Here is a toy example, with a package 'foo' importing 'as.igraph' from the igraph package, and 'nj'
2010 Feb 18
0
Sweave in PNG: driver online
Dear R addicts, Back in 2006, I posted the proposition for a tweak of the Sweave driver so that PNG figures can be produced instead of eps/pdf : https://stat.ethz.ch/pipermail/r-help/2006-March/102122.html The amount of code modified is tiny (it was designed to induce minimal changes to the official code), but so far the driver seems to have been useful to a number of users. From 2006 on,
2010 Feb 18
0
Sweave in PNG: driver online
Dear R addicts, Back in 2006, I posted the proposition for a tweak of the Sweave driver so that PNG figures can be produced instead of eps/pdf : https://stat.ethz.ch/pipermail/r-help/2006-March/102122.html The amount of code modified is tiny (it was designed to induce minimal changes to the official code), but so far the driver seems to have been useful to a number of users. From 2006 on,
2006 Mar 24
1
Sweaving in png
Hello list, despite I already posted a mail on this topic on R help, I guess this place may be more appropriate. I'll make it shorter this time. Sorry for posting twice. I found that using pixmap pictures in a Sweave document was sometimes almost impossible, due to the huge size of the pdf pictures produced. The first solution I found was to save pictures in png, when too heavy in pdf.
2006 Mar 22
0
Sweave in png
Hello list, Here is a problem I had. I write this to the list in case the solution I found would be useful to anyone else. I had to Sweave document including pixmap pictures, which are very heavy when converted into pdf pictures. In practice, this eventually led to very heavy pdf, sometimes impossible to read. So the first solution I found was to save pictures in png, when too heavy in pdf :
2015 Aug 26
2
declaring dependencies of shiny app in inst/
Dear all, I have a package implementing a shiny app, putting the R code of the app (server.R and ui.R) in inst/... and then having a simple function merely starting the app with something along the lines of: runApp(system.file("inst/...")) However, the app itself uses functions from packages which are not used elsewhere in the code. What is the best way to declare these dependencies
2007 Mar 07
3
possible bug in model.frame.default
Dear list, I may have found a bug in model.frame.default (called by the lm function). The problem arises in my R dev version but not in my R 2.4.0. Here is my config : > version _ platform x86_64-unknown-linux-gnu arch x86_64
2005 May 10
1
inserting R code in a latex document
Hello, I'm trying to insert R source code (functions) in an appendix of a latex document. I guess the easiest way to do so is to use the package Sweaved (file : Sweaved.sty) provided with the latest R version. Latex succeeds in loading the package, but my problem comes from the use of this very package. I tried to use the 'Schunk' environment, but '#' characters generate
2011 Dec 20
0
trends for georeferenced spatial global grid
Hello, There is a task to derive a linear trend, for ex. 5 units/month for values located at the georeferenced global latidute-longitude grid. There are several grids corresponding to time steps, say for a month with 6 hour interval. Sure, one can create a loop and derive a trend value for each data point. Is there a better practice for this task to express it in a line or two or a dedicated
2008 Feb 25
3
How to include the documentation of a function in a Sweave document?
Dear R-help, I would like to include the documentation of an R function in an *.rnw document processed by Sweave. Because I'm sharing my *.rnw files with colleagues under Linux and Windows (I'm on Mac OS X), I would like a pure R solution. The naive approach doesn't work, because Sweaving this *.rnw file: -------- tmp.rnw -------- \documentclass{article} \begin{document}
2011 Jul 28
3
R
Good afternoon. I am a master student in University of Porto in Portugal. At this moment I’m starting to use R, so I have some doubts. The aim of my analysis is: calculate a pairwise FST matrix from fasta file and creat a principal component analyses with adegenet package (I use seqinr and ape package to read this file, then I convert this file into a genind object with DNA2genind function
2007 Oct 26
1
Help needed on calculation of Moran's I
Hi, I am trying to calculate Moran's I test for the residuals for a regression equation, but I have trouble converting my coordinates into nb format. I have used the dnearneigh() funtion now with an arbitrarily high upper distance to make it include all plots. However, when I do the lm.morantest() I get a Moran's I value which is the same as the expected value and a P-value of 1. I
2007 Nov 21
3
shrink a dataframe for plotting
I get tables with millions of rows. For plotting to a screen-size jpg, obviously just about 1000 points are enough. Instead of feeding plot() the original millions of rows, I'd rather shrink the original dataframe, using some kind of the following interpolation: -- split dataframe into chunks of N rows each, e.g. 1000 rows each -- compute average for each column -- issue one new row
2008 Oct 13
2
Using an image background with graphics
I would like to use a map or aerial photo as a background to plotting solid lines and text, and semi-transparent color contours, in base and lattice graphics. Plot coordinates need to be consistent with the georeferenced background. For example, a color contour plot would have an gray-toned aerial photograph as a background for overprinted semi-transparent color contours of some spatially
2007 Nov 21
1
problem with nb2listw
Hi, I am a new student to R and I was hoping someone could help me with the error message I keep getting when I try to use the nb2listw() function. I have 45 sites and I want to get an autocorrelation value for sites within 1000m of each other. coords<-cbind(EAST,NORTH) coords<-as.matrix(coords) nb1000<-dnearneigh(coords,0,1000,longlat=TRUE) then when I try to run the
2012 Dec 10
1
Creating a geographical grid
I would like to create a geographical grid to have a sort of a reference grid for my georeferenced survey data. The grid should be in a xy format, wgs1984 with a 0.025 degree, alternatively 10km, resolution covering -14 to -24 S and 24 to -34 E (Zimbabwe). Additionally I need to be able to export it as a .dbf Hope someone can help an R- novice ! [[alternative HTML version deleted]]
2008 Oct 09
1
GWR Predictions' standard deviation
Dear all, I would like to use a GWR model in order to spatially predict food insecurity in Africa. I have a georeferenced village data-bases and I've run a "classic" regression model (taking into account the spatial dependence of the errors) that works fairly well for Niger that is a quite homogenous country. Now, I would like to make the same thing for countries where it should be