similar to: lattice.device in loop

Displaying 20 results from an estimated 6000 matches similar to: "lattice.device in loop"

2003 Dec 19
2
generic/method consistency
Hi, I realize the answer is very likely in the section Generic functions and methods (or Adding new generics), but I'm not clear what to do with the following. Running R CMD check, I get the following warnings for my generic functions. Does this mean I need the argument * checking generic/method consistency ... WARNING leps: function(x, ...) leps.default: function(x, pred, titl,
2004 Mar 04
2
lattice, different plotting symbols
Hi, I am trying to plot different variables from a data.frame using lattice's xyplot using code like that below. How do I specify a symbol and color for the variable 'prob' and different one's for 'll.prob'? Thanks, Matt xyplot( prob + ll.prob ~ time.eff |stat.id + time.out ,data = OUT, allow.multiple = TRUE, layout = c(6,3), as.table = TRUE ,
2002 Dec 09
2
netcdf
Hello, I have been having difficulties opening netcdf files using the netcdf library. I am able to successfully open the file and I can determine the names and size. However, when I try to read it I receive an error. Reading the documentation, I am wondering if this might be due to a difference between netcdf version 2 and more recent netcdf format? I've tried using different values for the
2005 Sep 22
2
Survey of ROC AUC / wilcoxon test functions
Hi, I was lately debugging parts of my 'colAUC' function in caTools package, and in a process looked into other packages for calculating Areas Under ROC Curves (AUC). To my surprise I found at least 6 other functions: * wilcox.test * AUC from ROC package, * performance from ROCR package, * auROC from limma package, * ROC from Epi package, * roc.area from verification
2004 Jul 28
2
lattice variable by page
Hi, Using lattice's xyplot, is it possible to specify a variable to group plots by page. For example, if I have xyplot(y~x|A*B*C) could I get a page created for each unique value in variable C ? I am hoping to avoid having pages with the same strip above each plot on a page. Thanks, M Matt Pocernich NCAR - Research Applications Program 303-497-8312
2004 Oct 04
0
verfication package announcement
The verification package has recently been posted to CRAN. This package was initially developed by people in the Verification Group at the National Center for Atmospheric Research to verfiy and study weather models and forecasts. It has been written in general terms to be applicable to other fields of study. Functions include receiver operating characteristic curves attribute diagrams
2004 Oct 04
0
verfication package announcement
The verification package has recently been posted to CRAN. This package was initially developed by people in the Verification Group at the National Center for Atmospheric Research to verfiy and study weather models and forecasts. It has been written in general terms to be applicable to other fields of study. Functions include receiver operating characteristic curves attribute diagrams
2003 Jan 22
1
Convert numeric value to POSIXct
Hi, How do I convert a numeric value indicating the time since 1970, back into a POSIXct class object? I have tried format.POSIXct and as.POSIXct without success. For example > ccc [1] "1945-01-01 15:00:00 MDT" > ddd<- as.numeric(ccc); > ddd [1] -788842800 > format.POSIXct(ddd) Error in format.POSIXct(ddd) : wrong class > as.POSIXct(ddd) Error in
2003 Jun 06
1
layout problem
Hello, I have a question about using the layout command within a function. I've written function that uses layout to create a figure from 2 plots. This works fine to create a figure. When I use par(mfrow = c(2,2)) to create multiple plots, it seems that the layout command resets the mfrow parmeter. Is there a way for me to avoid this problem? For example practice<- function() {
2001 Aug 13
2
printing lattice plots
Hi I'm trying to print several plots to a multi-page postscript file. Some plots are output of basic commands, some are produced by "trellis" commands (from the package lattice). Right now I'm not able to get a straightforward black and white color scheme for the latter kind: when I open the postscript file the "trellis" plots are invisible, or parts of them are
2013 Sep 10
1
Problema con filtros de datos en un data.frame
Muchas gracias por la explicación Isidro! El 10 de septiembre de 2013 08:19, Isidro Hidalgo <ihidalgo@jccm.es>escribió: > Cuando utilizas "==" estás comparando el vector "graph$NCar" (longitud 892) > con otro de longitud 2: c("160s","180s"). > Es decir, comparas el primer valor de "graph$NCar" con el primer valor de >
2013 Sep 06
2
Problema con filtros de datos en un data.frame
Estimados, tengo el siguiente problema: estoy trabajando con un data.frame que tiene 892 filas y 9 columnas, el cual adjunto para que puedan probar. Cuando consulto por las filas que cumplen una cierta condicion, por ejemplo, ... graph[graph$NCar==c("160s"),] obtengo el siguiente conjunto de datos: sol con dia NCar NIns isom area rep tipo 1 con 0.001 1 160s 0 s
2013 Sep 06
3
Problema con filtros de datos en un data.frame
Me funciono perfecto, muchas gracias Carlos ... si no es mucha la molestia, alguien podria explicarme la diferencia tecnica entre ambos signos, y porque == produce el resultado que produce ? en que casos deberia usar == y en que casos %in% ... cual es el significado de cada uno ? Disculpen que no me conforme solo con obtener el resultado adecuado, es solo que no me suena logico que == no
2000 Mar 17
2
Windows Memory
I'm sure this question is answered in the help file, but likely I'm not reading it corrected. Running windows version 1.00.0, loading a table (35K rows by 10 columns) from Excel using the read.table command I receive the following message. Error: cons memory (350000 cells) exhausted See "help(Memory)" on how to increase the number of cons cells. >From reading the
2001 Feb 10
3
Scatterplot - symbols coded by factor
Hi - I would like to create a scatterplot with the symbols coded by a factor in each record. Is their a better way than what I have used below? I attempted to use the plot.factor, but cannot force it to make a scatterplot instead of boxplots. I have considerd making a function with a 'for' statement for each level of the factor. Is there a better way for when I am dealing with more
2003 Sep 18
1
lattice, trellis.device, dev.off() within a condition (seems t o be a bug)
Hi, I have a strange issue under W2K; consider these two code extracts: 1) if(condition a){ trellis.device(png,filename = filename_a,... xyplot(... dev.off() } 2) if(condition a){ trellis.device(png,filename = filename_a,... xyplot(... } dev.off() In 1), The png file is generated, but empty; in 2), where I've taken the dev.off clause out of the condition block, my plot is
2004 Jun 24
2
More problems with lattice and postscript
Dear List members, I am trying to produce some trellis graphics and to save them in a postscript file but I only get blank files. R behaviour is certainly strange because I use a loop to generate the graphics (see code below). When I change the loop variable myself the postscript graphics are OK. I am using R 1.9.1 (2004-06-21) on Debian GNU/Linux which I try to keep updated on a daily basis. I
2002 Nov 11
3
Wind roses
Are there any R function or packages that generate wind roses? These are ``star''-like plots that summarize the frequency, direction and magnigude of windspeeds. Thanks, Matt -- Matt Pocernich University of Colorado - Denver Department of Mathematics -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2005 Oct 18
2
Upgrade=Broken x86_64
I just completed the upgrade of everything, and after a reboot, I have got some broken software. I am getting error messages from the NCAR command language that "Specified Workstation is NOT Open. In addition, a system call to opngks_() could not open "wrf_mass_plots.ncgm" which is the file it needs to read to produce the metafile. What changed that would cause software to
2001 Nov 07
2
Filtering data
Hello, I am having difficulty filtering data. I am working with flow data collected at a stream gage. For each record, I have a date and flow value. I have filtered this data to only include days when flow values exceed a given threshold. Here is my problem. Within this subset of data, I often have several consecutive days above the threshold. From this group of days, I wish to select the