search for: leninski

Displaying 17 results from an estimated 17 matches for "leninski".

Did you mean: leninsky
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
2003 Jul 23
1
lattice: how to format axis labels?
Dear r-help, I draw graphics with xyplot() function. Labels on the y axis are appearing as follows: "1.5, 1, 0.5, 0" I'd like to have them to be "1.5, 1.0, 0.5, 0.0", i.e. with fixed number of digits after the dot (one in this case). Is there any way to do this without implicit specifying labels? And some questions about font. Unfortunately I cannot
2003 May 13
1
several regression lines in panel of xyplot (trellis graphics)
Dear r-help, I need to draw xyplot() graphs with several regression lines: one line for the whole range of x (the variable on the horizontal axis) and two additional lines for subranges of x. Is it possible to make first regression line (panel.lmline(x,y,...);) to be drawn on the whole graph and regression lines of the subsets to be drawn only over their subsets? I have defined
2003 Apr 16
2
layout.show()
Dear r-help, Please, be so kind, tell me what does mean the parameter of layout.show()? I use R 1.6.2... Windows NT 4.0 Unfortunately I cannot understand phrases from the help "n: number of figures to plot." what figures? "`layout.show(n)' plots (part of) the current layout, namely the outlines of the next `n' figures." what figures?
2007 Apr 18
1
Slackware-11.0, Kernel-2.6.20, lguest-137.patch : compiling problem
Please, explain me, what is the problem in compiling kernel-2.6.20 patched with lguest-137.patch in Slackware-11.0: LD [M] drivers/kvm/kvm-intel.o LD [M] drivers/kvm/kvm-amd.o CC drivers/lguest/lguest_bus.o LD drivers/lguest/built-in.o AS [M] drivers/lguest/hypervisor.o drivers/lguest/hypervisor.S: Assembler messages: drivers/lguest/hypervisor.S:162: Error: bad expression
2003 Apr 23
0
MySQL
Dear laurent, > But there are lots of commands I found in R docs which are "not found", > such as getTable. Deprecated (I successfully used dbListTables) or do I > simply miss a package ? >From RMySQL\NEWS: * added (almost) trivial convenience RS-DBI functions getTable(), assignTable(), existsTable(), and removeTable(). They all mimic the corresponding R/S get(),
2003 Apr 24
1
RMySQL
Dear laurent, > This is what I did to make the connection : > > drv <- dbDriver("MySQL") > > con <- dbConnect(drv) Here's the error. You should give the database name. drv <-dbConnect(drv, dbname="dfghdfgsdfgsdfgsdfgsdfgsdfgsdf") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Then I should be able to send requests. But when I
2003 May 16
1
substitute
Dear r-help, 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
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 <-
2007 Apr 18
1
Slackware-11.0, Kernel-2.6.20, lguest-137.patch : compiling problem
Please, explain me, what is the problem in compiling kernel-2.6.20 patched with lguest-137.patch in Slackware-11.0: LD [M] drivers/kvm/kvm-intel.o LD [M] drivers/kvm/kvm-amd.o CC drivers/lguest/lguest_bus.o LD drivers/lguest/built-in.o AS [M] drivers/lguest/hypervisor.o drivers/lguest/hypervisor.S: Assembler messages: drivers/lguest/hypervisor.S:162: Error: bad expression
2003 Jul 21
1
Lattice: how to draw some text outside the panel?
Dear r-help I draw plots with xyplot() function. Each plot contains also a line of regression. I want to write the trend value and its significance (obtained with lm()) below each panel. I use ltext() for this. But the 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,
2003 May 27
2
R doesn't remove temporary dirs and about bugreport
Dear r-help, 1. I always find in TEMP directory subdirs named like Rtmp##### where ##### denote a number. Obviously, they are created by R and are not removed by it after finish. Why? I use R 1.7.0 and Windows NT Workstation 4.0, English. SP 6a. 2. Is it possible to get known whether my bug report was received? I've sent to r-bugs at biostat.ku.dk the following but it seemed
2005 May 20
2
Lattice: it seems, a bug in draw.key function
Dear r-help, Now I am drawing graphs with xyplot function. In order to place a legend under the plots I use the key argument in the xyplot function. One of the 'key' components is 'divide', which defines a number of points on the each line of the legend. The default is 3 points. I would like a single point, so I set divide = 1. Call to xyplot didn't produce
2005 Apr 27
3
libz library missing while installing RMySQL
Hello Trying to install the MySQL package, I get the following error. The help archive contains something on this issue but did not help. I work on linux suse 9.3 Configuration error: Could not locate the library "libz" required by MySQL. The library libz however is not on any mirrors I checked. ------------------------------------------------ Sebastian Leuzinger web
2005 Jul 17
1
Strange problems with lattice plots
Dear r-help, I need to draw some lattice plots and have stuck in strange problems. I have a data frame of 405 rows: > str(dframe) `data.frame': 405 obs. of 4 variables: $ year : num 1990 1990 1990 1990 1990 1990 1990 1990 1990 1990 ... $ month: num 1 2 3 4 5 6 7 8 9 10 ... $ V_A2 : num NA NA NA NA NA ... $ V_A3 : num NA NA NA NA NA ... Variable month changes from 1 to 27
2003 Apr 15
2
troubles with displaying legend on the plot
Dear colleagues, I have troubles while trying to display legend on the plot. I have data.frame fr > fr year M1 M2 1 1979 58.85198 56.77303 2 1980 57.59725 55.93749 3 1981 57.32133 55.55232 4 1982 54.69320 53.10566 5 1983 56.58973 55.03811 6 1984 58.81363 56.97641 7 1985 58.35583 56.82091 8 1986 60.41842 58.45457 9 1987
2003 May 06
5
xyplot (lattice), strip.default
Dear r-help, I've got data of the following structure 1979 93.428747 0 1979 87.298608 20 1979 78.506340 40 ... 1979 45.567890 340 1980 60.815289 0 1980 49.630904 20 1980 24.981362 40 ... The first column is year and the last one is the longitude. I need a set of graphs showing the dependence of the middle value on the longitude, for each year, situated one blow the other.