search for: eremeev

Displaying 20 results from an estimated 64 matches for "eremeev".

2003 May 13
1
several regression lines in panel of xyplot (trellis graphics)
...:23],...); panel.grid(h=-1,v=-1,...); }; then I draw plots: xyplot(<blah-blah-blah>,panel=plot.panel,<...>) This command draws graphics, but all regression lines on them are drawn from the left side to the right side, i.e. over the whole x range... -- Best regards Wladimir Eremeev mailto:wl at eimb.ru ========================================================================== Research Scientist Leninsky Prospect 33, Space Monitoring & Ecoinformation Systems Sector, Moscow, Russia, 119071, Institute of Eco...
2003 May 08
3
again troubles with lattice
...e("a.R") it works and after its running I've got file a.png in the working directory. But it contains only white background field and no graphs. If I try copy commands of the script in clipboard and paste them to the R console the graphs appear in the file. -- Best regards Wladimir Eremeev mailto:wl at eimb.ru
2003 Apr 16
2
layout.show()
...nts(... axis(1,at=c(1979:2002)); draw a beautiful graph. but call to layout.show(1) (or any other parameter instead of 1) destroys it. what should I say to the R to make it keep already drawn graphs and show a legend on the other "panel" of the layout? -- Best regards Wladimir Eremeev mailto:wl at eimb.ru ========================================================================== Research Scientist Leninsky Prospect 33, Space Monitoring & Ecoinformation Systems Sector, Moscow, Russia, 119071, Institute of Eco...
2003 May 27
2
R doesn't remove temporary dirs and about bugreport
...g, v.names = NULL, timevar, idvar, ids = 1:NROW(date), times, drop = NULL, new.row.names = NULL) { I suspect the expression ids=1:NROW(date) is erroneous. The 'date' variable doesn't appear anywhere else in this function. Maybe, 'data' ? ==== -- Best regards Wladimir Eremeev mailto:wl at eimb.ru
2003 May 11
2
what does boxplot draw?
...5)),quantile(x3,probs=c(0.75)))) draw lines with y values of quantiles. Lines ends are close to the box edges but not exactly on them. While command lines(c(median(x1),median(x2),median(x3))) puts lines with ends exactly on the middle line of the box-and-whisker plots. -- Best regards Wladimir Eremeev mailto:wl at eimb.ru
2005 May 20
5
getting the unique values and counts from a vector
Hi all, >From a vector, I want to get the unique values and the counts of these unique values in the vector. For example, x<-c(2 ,1 ,2, 1, 4 ,2 ,1, 4 ,1 ,1) xu<-unique(x) xn<-numeric(length(xu)) for (i in 1:length(xu)) {xn[i]<-length(which(x==xu[i]))} There must be a very much simpler method of doing this. Can somebody direct me to the functions that I must read in order to do
2005 Aug 16
3
how to reshape an array avoiding for loops
Dear r-help, I have an array a1 with dimensions [1:660,1:65,1:25] I would like the first dimension to be the last one. That is I want and array [1:65,1:25,1:660] The only way to do this, I know, is tmp.a<-array(dim=dim(a1)[c(2,3,1)]) for(i in 1:dim(a1)[1]) tmp.a[,,i]<-a1[i,,] a1<-tmp.a rm(tmp.a) Is it possible to avoid 'for' loop here? Thank you! ---
2003 May 06
5
xyplot (lattice), strip.default
...e: Error in trellis.device(device = getOption("png"), color = FALSE, bg = "white") : couldn't find function "device.call" Where's the problem? I use R 1.7.0 and Windows NT 4.0 workstation. Thank you for attention and help! -- Best regards Wladimir Eremeev mailto:wl at eimb.ru ========================================================================== Research Scientist Leninsky Prospect 33, Space Monitoring & Ecoinformation Systems Sector, Moscow, Russia, 119071, Institute of Eco...
2003 Apr 15
2
troubles with displaying legend on the plot
...r(op); ===8<=== Legend doesn't appear. I tried different coordinates, (1979,0), (0,0), different colors, etc... Nothing helps. What should I do to make the legend to appear? I'm using R 1.6.2 for windows. OS: Windows NT workstation 4.0. Thank you in advance. -- Best regards Wladimir Eremeev mailto:wl at eimb.ru ========================================================================== Research Scientist Leninsky Prospect 33, Space Monitoring & Ecoinformation Systems Sector, Moscow, Russia, 119071, Institute of Eco...
2003 Apr 24
1
RMySQL
...^^^^^^^^ > Then I should be able to send requests. But when I try this : > > dbListTables(con) > character(0) Of course. Tables are stored in the database. You didn't provide its name. Function dbListTables doesn't know which tables should it list. -- Best regards Wladimir Eremeev mailto:wl at eimb.ru ========================================================================== Research Scientist Leninsky Prospect 33, Space Monitoring & Ecoinformation Systems Sector, Moscow, Russia, 119071, Institute of Eco...
2003 May 13
1
SD
Dear r-help, Function sd calculates the standard deviation 'with (n-1) denominator'. Are there any alternatives with n denominator? Thank you very much. -- Best regards Wladimir Eremeev mailto:wl at eimb.ru
2003 May 16
1
substitute
...elp, I have troubles with 'substitute'. I have the data frame with vectors data$area.0, data$area.20, etc... Command substitute(data$area.lon,list(lon=20)) returns data$area.lon but is expected to return data$area.20 Where did I do mistakes? -- Best regards Wladimir Eremeev mailto:wl at eimb.ru ========================================================================== Research Scientist Leninsky Prospect 33, Space Monitoring & Ecoinformation Systems Sector, Moscow, Russia, 119071, Institute of Eco...
2003 Jul 23
1
lattice: how to format axis labels?
...entation how to make the axis labels bold. What's the difference between fonts 1, 2, 3 and 4? I have tried them all (trellis.par.set("par.xlab.text",list(font=4));), but haven't seen any difference. I use R 1.7.1 on WindowsNT. Thank you! -- Best regards Wladimir Eremeev mailto:wl at eimb.ru ========================================================================== Research Scientist Leninsky Prospect 33, Space Monitoring & Ecoinformation Systems Sector, Moscow, Russia, 119071, Institute of Eco...
2005 May 20
3
Why does this give a syntax error?
Hi I'm generating the following in a file and getting a syntax error: bryansAtHeaderLevel <- c(0,1,1,1,1,0,0,0,0,0,0,1,0,0,1,1,1,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,1,0,0,1,0,1,0,1,1,1,1,1,1,0,0,1,1,1,0,0,1,1,0,0,1,1,1,1,1,1,1,1,1,0,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,0,0,1,0,1,0,0,0,) finnsAtHeaderLevel <-
2003 Jul 21
1
Lattice: how to draw some text outside the panel?
...text is cut, when it comes outside a panel. Moreover (obviously), it doesn't appear at all when its coordinates are outside a panel. Could you, please, be so kind to give me a direction to walk in order to have a text written below a panel. Thank you! -- Best regards Wladimir Eremeev mailto:wl at eimb.ru ========================================================================== Research Scientist Leninsky Prospect 33, Space Monitoring & Ecoinformation Systems Sector, Moscow, Russia, 119071, Institute of Eco...
2007 May 15
3
qr.solve and lm
Dear R experts, I have a Matlab code which I am translating to R in order to examine and enhance it. First of all, I need to reproduce in R the results which were already obtained in Matlab (to make sure that everything is correct). There are some matrix manipulations and '\' operation among them in the code. I have the following data frame > ABS.df Pro syn
2007 Jan 24
2
how to trace what crashes R
I am writing bindings to the C library (neural network simulator SNNS). DLL was produced with the command R CMD SHLIB [source with C-wrappers, callable from R with .C and all sources from the snns kernel] I used latest MinGW. The problem is. R crashes with the "segmentation violation". Tracing with the insight and with simple Rprintf's gave me that crash occurs on the call of the
2006 Oct 18
1
strange error in mtrace
Dear useRs, I am experiencing very strange error with Mark Bravington's package "debug". I haven't seen them before. Here is the sample session > library(debug) Loading required package: mvbutils MVBUTILS: no "tasks" vector found in ROOT Loading required package: tcltk Loading Tcl/Tk interface ... done > x<-function() return(1) > mtrace(x) > x() Error
2003 May 16
1
data.frame contents are not displayed
...t;data7902" in the R console. [1] year area lon <0 rows> (or 0-length row.names) For the same time typing "data7902$year" gives the list of years for all rows in data frame. Why contents of the newly created and filled data frame are not displayed? -- Best regards Wladimir Eremeev mailto:wl at eimb.ru
2007 May 22
2
Please, remind a function name
Sorry, I'm stuck. :) I am writing a function, which would fit either one linear model or another one, depending on its argument model.type. And I don't want to use several if's, because R allows doing it with much more beauty. That is I am looking for prettier alternative to the following AB2C<-function(a,b,model.type="S") { # or HK, and return NULL if this argument has