similar to: Need help creating spatial correlation for MC simulation

Displaying 20 results from an estimated 4000 matches similar to: "Need help creating spatial correlation for MC simulation"

2009 Apr 20
8
R graph into MS Word: which format to use?
Hello, The journal I am publishing in requires MS Word files. What is my best option for getting a high quality image of a graph done in R into Word? JPEG? Postscript? Thanks. -- View this message in context: http://www.nabble.com/R-graph-into-MS-Word%3A-which-format-to-use--tp23133745p23133745.html Sent from the R help mailing list archive at Nabble.com.
2009 Feb 10
2
What is the R equivalent of STATA's 'drop' command?
Hello, I am trying to do some data cleaning in R. I need to drop observations that take on certain values of a variable. In STATA I might type something like: drop if <variable name> == 3 drop if <variable name> == 4 Is there an R equivalent of this? I have tried playing around with the subset command, but it seems a bit clunky. What would an advanced R user's approach be for
2008 Jul 06
4
Numbers as Points in Graphs
I am trying to produce a simple plot where the points in the plot are actually integers from my data. That is, I am making a length/width plot and I would like the points, rather dots or triangles, appear as different numbers corresponding to a column in my data. I have tried using this: ...,pch="column title" but this merely returns the first letter of the column title, B. Is there
2008 Sep 29
3
replicating dataframe rows
Dear all, I have a data.frame like the sample below, and I would like to expand my data.frame using "population" variable. So, for each line of my data.frame I would like that the new data.frame have many rows as the population collumn. place<-c("place1", "place2", "place3", "place4", "place5") population<-c(100,200,300,50,30)
2008 Aug 18
2
changing plot font for Times new roman
Dear all, I know that it is a know issue, but I would like to change the type of font on my plot, and I am not sure the rigth way. I would like to use Times New Roman font, but according to the "par()" help, some device allow we choose an family of fonts. I tryed par(family="times") without success. Surfing on R archieve I got an suggestion of use par(font.lab=6), but when I
2008 Jul 23
5
Histogram
Hi, how can I treat data organised in classes and frequencies? Ex. class frequency 20-23 9 23-25 7 26-28 5 29-31 5 32-34 3 Thanks Angelo Scozzarella
2008 Oct 07
1
Ecological Niche Modelling on R
Dear all, I have strong interest on Ecological Niche Model, which in general use a set of environmental variables (continuous, categorical etc) and Presence (or Presense/Absence) records for species. I think that "grasp" and "adehabitat" packages could help me on these tasks. My input layers are on ASC format, and the record of species is a data-frame with X, Y, name of
2007 Jun 02
2
spatial simulation
Dear R-users, I'm trying to do some spatial simulation. I have two covariates, Z and C. I want to examine their relationship under different spatial distribution. I have no problem simulating completely spatial random process but I'm totally stuck on poisson (cluster) pattern. I already have a dataset with Z and C (obs=575) and I know the relationship between them. Using these 575
2008 Jul 08
1
package segmented problem
Hi, while using package "segmented" (version 0.2-4) by Vita Muggeo to investigate a possible change point (around time = 222) in admissions for a specific medical condition I had the following error message: fit2.seg<-segmented(fit2, seg.Z=~time,psi=222) Error in segmented.lm(fit2, seg.Z = ~time, psi = 222) : (Some) estimated psi out of its range "fit2" is a simple
2009 Feb 24
2
Leave one out Cross validation (LOO)
Dear R user, I am working with LOO. Can any one who is working with leave one out cross validation (LOO) could send me the code? Thanks in advance Alex [[alternative HTML version deleted]]
2008 Jul 23
1
an extremely simple question
Hi! What is the difference between using data(somedataset) vs. attach(somedataset), please? thanks, Edna Bell
2008 Jul 23
1
Sample on dataframe
Hi I'm looking for solution or function which I can use to sample data frame, to obtain new (smaller) data frame similar to sample() function Jarek Jasiewicz
2008 Jul 25
2
How to preserve the numeric format and digits ?
Instead of > m <- c(400000000, 50000000000) > paste("A", m, "B", sep="") [1] "A4e+08B" "A5e+10B" I want "A400000000" and "A50000000000"
2008 Jul 25
1
Insert rows into a pre-existing data frame
Hi, I'm sorry if this is a simple question. How do you insert a blank row into a data frame? I basically need to do this: old table: new table: C1 C2 C3 C1 C2 C3 1 32 34 1 32 34 2 52 23 54 2 52 23
2008 Jul 26
2
response surface analysis
Hi, Is there a package that could do response surface analysis equivalent to SAS RSREG procedure? Thanks! Regards, Jinsong
2008 Aug 27
1
How to create additional columns?
I do have some data of dim 100*3 (i.e 100 rows and 3 columns ) stored in a txt file. I want to read the data into R, Perform the same operation in each row and store the result in a forth column( that I should create). I do not know how I can create a forth column to store the result of the operation for each row? -- View this message in context:
2008 Aug 30
4
remove levels from a factor
Hi,   how to remove levels that have less than a specific number such as 2. i.e..   > f<-as.factor(c("a","b","a")) > f [1] a b a Levels: a b I want to remove level b because level b has less than 2. > f [1] a a Levels: a   [[alternative HTML version deleted]]
2008 Sep 12
1
point with change of tendecy
Hi, As I can obtain, of a temporary series, if it has some point where a significant change of tendency takes place. Tank's Ramón Hidalgo [[alternative HTML version deleted]]
2008 Sep 15
1
modifying this barplot
Here is an example barplot that needs some tweaking: library(gplots) ratios <- data.frame(c(0.05,0.10,0.9),c(0.06,0.15,0.76)) rownames(ratios) <- c("T1","T2","T3") colnames(ratios) <- c("A1","A2") ratios <- as.matrix(ratios) myplot <- barplot2(ratios, beside = TRUE,col = c("blue",
2008 Sep 24
1
climatological standard deviation
Hello R users, I have a montly time series over a several year period. It's easy to compute a monthly climatology (12 values), Now, I would like to calculate the corresponding standard deviation, ie the 12 values calculated from the january values, february values, etc. What's the best way for such a calculation ? Regards, Yogesh -- Yogesh K. Tiwari (Dr.rer.nat), Scientist, Indian