Displaying 20 results from an estimated 63 matches for "lawr".
Did you mean:
lar
2013 Feb 21
4
Getting htmlParse to work with Hebrew? (on windows)
Hello dear R-help mailing list.
Looks like the same issue in Russian:
library(RCurl)
library(XML)
u = " http://www.cian.ru/cat.php?deal_type=2&obl_id=1&room1=1"
a = getURL(u)
a # Here - the Russian is fine.
a2 <- htmlParse(a)
a2 # Here it is a mess...
None of these seem to fix it:
htmlParse(a, encoding = "windows-1251")
htmlParse(a, encoding =
2006 Dec 11
1
cohen kappa for two-way table
Greetings,
I am a bit confused by the results returned by the functions:
cohen.kappa {concord}
classAgreement {e1071}
when using a two-way table.
for example, if I have an matrix A, and a similar matrix B (same
dimensions), then:
matrix A and B can be found:
http://casoilresource.lawr.ucdavis.edu/drupal/files/a_40.txt
http://casoilresource.lawr.ucdavis.edu/drupal/files/b_40.txt
A <- matrix(unlist( read.table('a_40.txt'), use.names=FALSE), ncol=14)
B <- matrix(unlist( read.table('b_40.txt'), use.names=FALSE), ncol=14)
# compute cohen's kappa, default s...
2010 Sep 16
2
parallel computation with plyr 1.2.1
...0))
}
mean(m)
}
system.time(ddply(d, .(id), .fun=f, .parallel=FALSE))
# user system elapsed
# 2.740 0.016 2.766
system.time(ddply(d, .(id), .fun=f, .parallel=TRUE))
# user system elapsed
# 2.720 0.000 2.726
--
Dylan Beaudette
Soil Resource Laboratory
http://casoilresource.lawr.ucdavis.edu/
University of California at Davis
530.754.7341
2008 Jun 04
2
estimate phase shift between two signals
...e or output from
spectrum() here? If so, is there a general procedure for estimating a
phase-shift between two noisy signals? Would I first have to fit a smooth
function in order to solve this analytically?
Thanks in advance,
--
Dylan Beaudette
Soil Resource Laboratory
http://casoilresource.lawr.ucdavis.edu/
University of California at Davis
530.754.7341
2007 Oct 08
1
do not plot polygon boundaries with spplot {sp}
...), xlab="Easting
(m)", ylab="Northing (m)")
... seems to work well. However the polygon boundaries are colored black. If
possible I would like the boundaries to not be drawn at all.
any tips?
cheers,
Dylan
--
Dylan Beaudette
Soil Resource Laboratory
http://casoilresource.lawr.ucdavis.edu/
University of California at Davis
530.754.7341
2005 Jul 07
1
Orthogonal Distance Regressions
...with experience
doing this type of regression. Thanks in advance!
Peter
Peter J. Hernes, Ph.D.
Land, Air and Water Resources - Hydrology
University of California
One Shields Avenue
Davis, CA 95616-8628
Tel: 530-752-7827
Fax: 530-752-5262
E-mail: pjhernes at ucdavis.edu
Faculty webpage: http://lawr.ucdavis.edu/faculty/hernes/
2008 Jun 09
3
piper diagram
...ing that two calls to triax.plot (plotrix) along with some kind of
affine-transformed standard plot would do the trick. Not so sure about the
final layout, or a nice generalized version for something like lattice.
Cheers,
Dylan
--
Dylan Beaudette
Soil Resource Laboratory
http://casoilresource.lawr.ucdavis.edu/
University of California at Davis
530.754.7341
2008 Aug 19
4
converting coordinates from utm to longitude / latitude
Hi,
is there a function in R to convert data read with read.shape and which is originally in UTM coordinates into longitude / latitude coordinates?
I found the convUL() function from the PBSmapping package but I have no idea how I could apply that to the read.shape object.
Many thanks,
Werner
__________________________________________________
Do
sragenden Schutz gegen Massenmails.
2009 Jul 09
3
Stratified data summaries
Hi All,
I'm trying to automate a data summary using summary or describe from the
HMisc package. I want to stratify my data set by patient_type. I was
hoping to do something like:
Describe(myDataFrame ~ patient_type)
I can create data subsets and run the describe function one at a time,
but there's got to be a better way. Any suggestions?
Rachel
[[alternative HTML
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
2008 Feb 13
1
use of poly()
....poly.raw))
-0.1025114 1.5265248 2.0617970 2.7393995
When using continuous data in both Y and X, does the difference between "raw"
and "orthagonal" polynomials have any practical meaning?
Thanks,
Dylan
--
Dylan Beaudette
Soil Resource Laboratory
http://casoilresource.lawr.ucdavis.edu/
University of California at Davis
530.754.7341
2008 Mar 05
1
testing for significantly different slopes
...not the two
slope terms (InsulBefore:Gas and InsulAfter:Gas) were different. However, is
there a formal test for this sort of question, and can it be generalized to
differences between more than 2 slope terms?
Thanks,
Dylan
--
Dylan Beaudette
Soil Resource Laboratory
http://casoilresource.lawr.ucdavis.edu/
University of California at Davis
530.754.7341
2008 Aug 29
7
model II regression - how do I do it?
An embedded and charset-unspecified text was scrubbed...
Name: n?o dispon?vel
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20080829/57df9fc7/attachment.pl>
2010 Feb 17
1
strangeness in Predict() {rms}
...mgcv_1.5-5 RColorBrewer_1.0-2 nlme_3.1-94
[5] rms_2.1-0 Hmisc_3.7-0 survival_2.35-6 lattice_0.17-25
loaded via a namespace (and not attached):
[1] cluster_1.12.0
Any ideas?
Thanks!
Dylan
--
Dylan Beaudette
Soil Resource Laboratory
http://casoilresource.lawr.ucdavis.edu/
University of California at Davis
530.754.7341
2007 Sep 20
2
Superimposing vector polygons over raster grid in a plot
Hello:
I would like to superimpose vector polygons (state outlines) from a
Shape file on top of a satellite image,
imported into a SpatialGridDataFrame from GEOTIFF via gdal_translate and
readGDAL.
When I plot polygon and point shape files in R, into
SpatialPointDataFrame and SpatialPolygonDataFrame,
the two feature sets line up geographically, so it seems logical that a
SpatialGridDataFrame
2009 Oct 23
2
interpretation of RCS 'coefs' and 'knots'
...s this interpretation of RCS coefficients even possible? If not, would
forcing knot locations make it a possibility? Or, would modeling both knots
and RCS coefs with external variables lead to sensible predictions?
Cheers,
Dylan
--
Dylan Beaudette
Soil Resource Laboratory
http://casoilresource.lawr.ucdavis.edu/
University of California at Davis
530.754.7341
2008 Jul 16
2
gstat problem with lidar data
? stato filtrato un testo allegato il cui set di caratteri non era
indicato...
Nome: non disponibile
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20080716/338e44b9/attachment.pl>
2009 Jun 30
2
odd behaviour in quantreg::rq
...ker')
# without weights
# note error message
summary(rq(sand ~ method, data=x, tau=0.5), se='ker')
# without weights, no error message
summary(rq(sand ~ method, data=x, tau=0.5, method='fn'), se='ker')
--
Dylan Beaudette
Soil Resource Laboratory
http://casoilresource.lawr.ucdavis.edu/
University of California at Davis
530.754.7341
2009 Jun 04
2
RPostgreSQL segfault with LEFT JOIN
...stats graphics grDevices utils datasets methods base
other attached packages:
[1] RPostgreSQL_0.1-4 DBI_0.2-4
----------------------------------------------------------------------------------------------------
--
Dylan Beaudette
Soil Resource Laboratory
http://casoilresource.lawr.ucdavis.edu/
University of California at Davis
530.754.7341
2006 Nov 07
0
evaluation of 2 matrices: categorical comparison
...#39;s Kappa (using the cohen.kappa function from
the 'concord' package) :
# a and b are vectors with the 'factor-ized' matrices, stored as vectors
cohen.kappa(table(a,b), type='count')
A lengthy summary of this small adventure has been recorded here:
http://casoilresource.lawr.ucdavis.edu/drupal/node/275/
Please note that I am looking for a *better?* way to compare these two
matrices. It could be that the Cohen's Kappa, and difference maps are the
best that I am going to get.
Thanks in advance,
--
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
Univer...