similar to: Plotting contour & filled.contour in one graph

Displaying 20 results from an estimated 1000 matches similar to: "Plotting contour & filled.contour in one graph"

2006 Jan 19
2
Legend Outside Plot Dimension
Dear All, I'm trying to attach a legend outside the plot (Inside plot OK), but failed. Any help is very much appreciated. Thanks. Abd. Rahman Kassim, PhD Forest Management & Ecology Program Forestry & Conservation Division Forest Research Institute Malaysia Kepong 52109 Selangor MALAYSIA ***************************************** Checked by TrendMicro Interscan Messaging Security.
2005 Nov 09
2
Sort a dataframe
Dear All, How can I sort a data frame (using one of the column)? Thanks for your support. Regards. Abd. Rahman Kassim (PhD) Head Forest Ecology Branch Forest Management & Ecology Program Forestry and Conservation Division Forest Research Institute Malaysia Kepong 52109 Selangor, Malaysia ***************************************** Checked by TrendMicro Interscan Messaging Security. For any
2005 Nov 10
2
polynomials transformation
Dear All, Need some help in polynomials transformation to get the coefficients. I have tried "poly.transform" as applied in S-plus but it does not work. Thanks in advanced for any helps. Regards. Abd. Rahman Kassim (PhD) Head Forest Ecology Branch Forest Management & Ecology Program Forestry and Conservation Division Forest Research Institute Malaysia Kepong 52109 Selangor,
2006 Mar 29
2
write.table command
Dear All, I'm trying to save a dataframe using write.table command. It works, but when I retrieved, there's an error message as shown below: > write.table(soil.dat,file="C:/soil.rdata") > load("C:/soil.rdata") Error: bad restore file magic number (file may be corrupted)-- no data loaded I can figure out the error message. Any assistance to solve the
2006 Mar 17
1
Adding axis limit to log-log plot
Dear All, I've tried to add axis limit ( e.g. ylim=c(0,50)) to the log-log plot, but it turn out to be error (see below). Any solution is much appreciated. > plot(maxsd$tph,maxsd$qdbh,log="xy",xlab="Stand density(trees per ha)",ylab="Quadratic mean dbh (cm)",ylim=c(0,50)) Error in plot.window(xlim, ylim, log, asp, ...) : Infinite axis extents
2013 Jun 12
1
Question on Simple Repeated Loops
Dear R-User, Appreciate any helps. It looks simple, but I don't have a clue. Given that I have a dataframe of tree population with three variables: sp=species , d0=initial_size grow=growth increment from initial size per year How can I calculate the future growth increment of each tree for the next 3 years. The following Rscript was written, #---------- a0 <-
2006 Apr 25
10
www.r-project.org
Dear R users and developpers, My question is adressed to both of you, so I choose R-help to post it. Are there any plans to jazz up the main R website : http://www.r-project.org The look it have now is the same for a long time and kind of sad compared to other statistical package's website. Of course, the comparison is not fair, since companies are paying web designers to draw lollipop
2010 Jul 15
1
Proper use of grep
I just need to confirm something with pattern matching folks. I have a factor with the following levels in a very large data set: > levels(all$Classical.Statistic) [1] "" "AB;ABD" "CollapsedSteps" "CR_P" "CR_Prop;CR_P;AB" [6] "NMK"
2006 May 09
3
remove Punctuation characters
Hi, I want to remove all punctuation characters in a string. I was trying it use a regular expressions but it doesn't work. Here is a sample os what i want: str <- 'ABD - remove de punct, and dot characters.' str <- gsub('[:punct:]','',str) str "'ABD remove de punct and dot characters" is there any function that do this kind of thing? Thanks to
2006 Apr 13
1
bash-like history mechanism and prompt settings
Hi, I have a couple of questions: * would it be possible to add more information on the history, for example the number of the command and a timestamp. With the number of command, one could do some stuff like in a terminal to recall a specific command : $ !45 and with the timestamp, one could imagine to ask for commands that were typed in a given interval of time. For example : R>
2010 Aug 04
6
applying strsplit to a whole column
I am sorry, I'd like to split my column ("names") such that all the beginning of a string ("X..") is gone and only the rest of the text is left. x<-data.frame(names=c("X..aba","X..abb","X..abc","X..abd")) x$names<-as.character(x$names) (x) str(x) Can't figure out how to apply strsplit in this situation - without using a
2006 Jan 23
4
Transition between effects
Peepz, I was looking into how script.aculo.us handles effect to write a tutorial and for a current project I wanted to make transition between PAIR effects possible. These PAIR effects are (Appear/Fade, SlideUp/SlideDown, BlindUp/BlindDown) the effect that toggle can handle. script.aculo.us calls queue.loop each 40 milliseconds, and that calls all the effect.loop for all effects in the
2006 Jan 12
3
hello World problem
Hi, I'm trying to build a simple R package 'helloWorld' with just one function that prints 'hello World' on the C side. I agree that it is completely useless, but I just start mixing R and C. My C file is as follows : #include <stdio.h> void helloWorld() { printf("hello world !\n") ; } When I call it from R, here is what happens : R>
2012 Mar 11
2
Matrix negative fraction power
Dear list, I understand that to raise matrix A to power (-1/2) we should use something like this: eigen(A)$vectors%*%diag(1/sqrt(eigen(A)$values))%*%t(eigen(A)$vectors) [from previous discussions: http://r.789695.n4.nabble.com/matrix-power-td900335.html] But this will only do it for negative sqrt of the matrix not for other fraction powers like (-3/2). Seeing that these things be can done
2005 Dec 13
8
superimpose density line over hist
Hi all, I'm trying to superimpose a rchisq density line over a histogram with something like: hist(alnlength) lines(density(rchisq(length(alnlength), 4)),col="red") But the rchisq line won't appear anywhere, Anyone knows what I am missing here? Thanks in advance, Albert.
2006 Feb 06
5
lme4: Error in getResponseFormula(form) : "Form" must be a two sided formula
I'm sure I'm being stupid so flame away... R2.2.1 on Windoze (boohoo) latest updates of packages. I'm exploring a dataset (land) with three variables looking at an narrowly unbalanced two group (GROUP) ANCOVA of a randomised controlled trial analysing endpoint score (SFQ.LOCF.ENDPOINT) entering the baseline score (SFQ.BASELINE) as covariate and the following work fine: > res.same
2012 May 30
2
Sorting a data set
I am a novice user of R and am stumbling on how to order a dataset produced during my session. I have a 1863 row X 14 column dataset that I want to put out to a file. I want the output sorted by the first column and then by the second column both in ascending order. The first column is character and the second is numeric (I hope). I used an "as.numeric" function to assign that
2003 Jul 17
3
how to divide a string into characters? - for comparing strings that is
Hi I am searching for a way to do something like "ABC" -> c("A","B","C"). How can this be accomplished? I tried cut() and split(), but they do something else, it seems. The purpose for doing this is to find the number of common (and uncommon) characters, i.e. ultimately I want something like this: > foo("ABD","ADE") c(2,1) # 2
2006 Jan 20
5
Height problem after interrupting SlideDown/SlideUp effects
Hi, i have a problem with the the SlideDown and SlideUp effects. Since a similiar problem is also visible on the script.aculo.us homepage, i''m going to explain it this way. - Go to http://script.aculo.us/ - On the main site below "visual effects", click "Advanced options", the sub panel will scroll down. - Hit the close button, and while the panel is still
2006 May 11
1
[Globalize] Enhancement - zip code regexes for each country
Was just playing around with trying to sort out validation of zip/postcodes depending on what country the user lived in, and was wondering if anyone has done this in a nice way? Seems to me that it would be a relatively simple addition to Globalize to add a regex for zip code validation to the things already in there? Or am I missing a trick? Thanks geoff -------------- next part --------------