search for: casoilresourc

Displaying 20 results from an estimated 59 matches for "casoilresourc".

Did you mean: casoilresource
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, def...
2010 Sep 16
2
parallel computation with plyr 1.2.1
...(sample(x$y, 100)) } 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
...rpreting the use 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}
...les=list(draw=T), 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
2008 Jun 09
3
piper diagram
...jpg I am thinking 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()
...s.vector(coef(l.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
...into whether or 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}
...lyr_0.1.9 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'
...rcs(x)] ~ z. Is 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
...=0.5), se='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
...e packages: [1] 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
...ation of Cohen'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...
2007 Dec 05
2
how to interpolate a plot with a logistic curve
hello, I have this simple question. This is my dataset size 1 57 2 97 3 105 4 123 5 136 6 153 7 173 8 180 9 193 10 202 11 213 12 219 13 224 14 224 15 248 16 367 17 496 18 568 19 618 20 670 21 719 22 774 23 810 24 814 25 823 I plot it with: plot(generalstats[,1], type="b", xlab="Mesi", ylab="Numero di vertici", main=""); and try to interpolate with a
2007 Dec 09
1
spatstat questions
Um texto embutido e sem conjunto de caracteres especificado associado... Nome: n?o dispon?vel Url: https://stat.ethz.ch/pipermail/r-help/attachments/20071209/130cf9d6/attachment.pl