Displaying 20 results from an estimated 2000 matches similar to: "FW: Question about making active a previously opened graphic device - SOLVED"
2008 Jan 18
1
Question about making active a previously opened graphic device
Hi,
I have opened 2 different graphic devices on screen with windows(3) and Windows(4) (I already have had an other graphic on screen opened in device 2).
Now device 3 is inactive and device 4 is active. How i can make device 3 active to plot in device 3 and after make device 4 active to have a different plot in it?? For what i am doing it is important to first open the graphic devices -
2008 Jan 28
2
sub-plot in a plot
From: lamac_k em hotmail.comTo: r-help-request em r-project.orgSubject: sub-plot in a plotDate: Mon, 28 Jan 2008 15:43:40 +0000
Dear all, how can I do these sub-plots in a plot (see file attached) in R. Best regards.
Receba GR?TIS as mensagens do Messenger no seu celular quando voc? estiver offline. Conhe?a o MSN Mobile! Crie j? o seu!
2008 May 23
0
Pros and Cons of R :GUI
R has very good GUI packages that I have used -
R Commander RCmdr and Rattle rattle . Since I work on multiple packages with
constraints of time, I almost always use the GUI rather go through the
intricacies of command line .
The log of these GUIs shows the relevant R command that was used, so you can
actually learn the language also.
I have written about the ease of learning R , if you begin
2008 Aug 04
0
SOLVED - memory problem - failing to load rgl in R 2.7.1 patched
Hi,
Sorry for that ..... Today R did load both ca and rgl packages with no problems ... the single thing i've done since Friday was to put "defrag" on drive C, i even didn't re-start the computer ...actually it was re-started several time with same weird problem ... so i suppose something was segmented badly on the hard drive.
Monica
> From: pisicandru at hotmail.com
>
2007 Mar 06
0
Performance of the acoustic echo canceller
All,
Wonder why all my posts has no line breaker when it displayed the forum... I used Hotmail(Windows Live Mail)
with FireFox 2.0. I am posting this msg with IE 7.0 and see if it make any difference. Anybody experienced the
same issue and how to workaround it?
Thanks a lot!
Regards,
William
From: espzzh@hotmail.comTo: jean-marc.valin@usherbrooke.caCC: speex-dev@xiph.orgSubject: RE:
2008 Apr 18
2
Correspondence and detrended correspondence analysis
Hi,
I hope someone knows the answer to this or has a real good reference about it (I am using Legendre & Legendre, Numerical Ecology, 1998).... My data is a data.frame with locations as rows and vegetation assemblages / species as columns. I've done a PCA, a correspondance analysis (CA) using ca in ca package and a detrended correspondance analysis (DCA) using decorana from vegan package.
2009 May 26
3
split strings
Hi everybody,
I have a vector of characters and i would like to extract certain parts. My vector is named metr_list:
[1] "F:/Naval_Live_Oaks/2005/data//BE.tif"
[2] "F:/Naval_Live_Oaks/2005/data//CH.tif"
[3] "F:/Naval_Live_Oaks/2005/data//CRR.tif"
[4] "F:/Naval_Live_Oaks/2005/data//HOME.tif"
And i would like to extract BE, CH, CRR, and HOME in a
2009 May 26
3
split strings
Hi everybody,
I have a vector of characters and i would like to extract certain parts. My vector is named metr_list:
[1] "F:/Naval_Live_Oaks/2005/data//BE.tif"
[2] "F:/Naval_Live_Oaks/2005/data//CH.tif"
[3] "F:/Naval_Live_Oaks/2005/data//CRR.tif"
[4] "F:/Naval_Live_Oaks/2005/data//HOME.tif"
And i would like to extract BE, CH, CRR, and HOME in a
2007 Dec 13
6
spliting strings ...
Hi everyone,
I have a vector of strings, each string made up by different number of words. I want to get a new vector which has only the first word of each string in the first vector. I came up with this:
str <- c('aaa bbb', 'cc', 'd eee aa', 'mmm o n')
str1 <- rep(1, length(str))
for (i in 1:length(str)) {
str1[i] <- strsplit(str, "
2007 Sep 06
2
larger decimal numbers get rounded ....
Hi,
I am sure there is a reason but ...... why larger decimal numbers get rounded to the nearest integer?
Example:
a <- 3308000.5
a
[1] 3308001
I would like my numbers to be decimals .... since they do represent coordinates and i don't want them rounded .... how can i keep them as they are?
Thanks,
Monica
_________________________________________________________________
2011 Nov 22
5
x, y for point of intersection
Hi everyone,
?
I am trying to get a point of intersection between a
polyline and a straight line ?.. and get the x and y coordinates of this point.
For exemplification consider this:
?
?
set.seed(123)
?
k1 <-rnorm(100, mean=1.77, sd=3.33)
?k1 <- sort(k1)
q1 <- rnorm(100, mean=2.37, sd=0.74)
q1 <- sort(q1, decreasing = TRUE)
plot(k1, q1, xlim <- c((min(k1)-5),
2007 Aug 02
6
- round() strange behaviour
Hi,
I am getting some strange results using round - it seems that it depends if the number before the decimal point is odd or even ....
For example:
> round(1.5)[1] 2> round(2.5)[1] 2
While i would expect that round(2.5) be 3 and not 2.
Do you have any explanation for that?
I really appreciate your input,
Monica
2009 Oct 08
2
intersection of 2 density curves
Hi,
I would like to find out the coordinates of the intersection points of 2 density curves. I did a search but i didn't get any significant results. I really hope some of you have some ideas. here it is an example:
set.seed(123)
x1 <- rnorm(100, 1, 1)
x2 <- rnorm(100, 0, 1)
d1 <- density(x1)
d2 <- density(x2)
plot(d1, col = 2)
lines(d2, col = 4)
Now i would like to know
2010 Nov 08
2
Error: could not find function "extract" in package raster
Hi,
I would like to use the function "extract" from package raster and i get the following error:
m01e <- extract(marsh01, p)
Error: could not find function "extract"
marsh01 is a raster object and p is an intersectExtent object that is not null.
The package is installed and loaded, i use a Windows machine 64 bit and R x64 2.11.0. Do i really need to update my R to use
2010 Nov 24
3
Custom ticks on x axis when dates are involved
Hi,
I have a set of irregular time series and i want to produce a simple plot, with dates on x axis and attribute value of y axis. This is simple enough but my x axis is divided automatically by ticks every 5 years. I would like to have a tick every year at January 1st. I am not sure how i can do that - i end up with something very close to what i want, but it is clunky and not very correct. I
2008 Aug 11
2
: bquote inside legend()
Hi,
I have a graph and I would like to write some values inside the legend that were saved in a variable. Please revise the code below in which I've wrote 2 different legends, but I am not happy with either of them. What I want is a legend with tile "Legend" and underneath a line with a name and a value like that: value = 2.
#Code begin:
# -------------------
a = 2 # result of a
2008 Mar 13
4
a more elegant way to get percentages?
Hi,
I am trying to get percentages in a more elegant way. I have a data.frame with locations and values (counts) of species at that location. Each location is repeated for each species i have values for and i would like to get percentages of each species at that location. I am not sure if i am clear in my explanations so i will paste my code below:
#####################
> x
locat val
1
2007 Sep 05
1
geotiff or tiff files with world files
Hi,
I have a matrix of data which i can vizualize as an image - for example. I would like to save this image as a geotiff file or at a tiff file with a world file which holds the projection of my data (ultimately the data represent a map of some sort). I know i can save the data as an ESRI grid, but i am not interested in that.
I wonder if anybody knows about any code which will help me do
2008 Feb 01
1
as.numeric rounds up
Hi list,
It seems that as.numeric is rounding up my numbers that are in a character format.
Example:
a
[1] "776554.45" "776985.31" "776076.03" "776092.01" "776151.42" "776276.97"
b <- as.numeric(a)
b
[1] 776554.4 776985.3 776076.0 776092.0 776151.4 776277.0
I've tried as.numeric(a,2) and as.numeric(a, digits = 2) but it
2008 Jan 27
1
titles with superscript and variale value
Hi everyone,
I am trying to write a title for a plot which has a superscript like D^2 and a value of a variable stored in that variable..... i am not sure if i am clear so i will try an example:
Suppose i want my title to be like: Family: Gaussian; D^2 = 0.45
where i have the value 0.45 stored in variable d2 (which comes from some previous calculations, and depending which actual variables