Displaying 20 results from an estimated 3000 matches similar to: "changing plot font for Times new roman"
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 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
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 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 Sep 17
3
Need help creating spatial correlation for MC simulation
I want to create a dataset in R with spatial correlation (i.e. clustering)
built in for a linear regression analysis. Any tips on how to do this?
Thanks.
--
View this message in context: http://www.nabble.com/Need-help-creating-spatial-correlation-for-MC-simulation-tp19542145p19542145.html
Sent from the R help mailing list archive at Nabble.com.
2008 Jul 19
1
wroung groupedData despite reading Bates and Pinheiro 3 times
Hi everyone. I am trying to add a formula to my data using the groupedData
function.
My experiment consists of randomized block design using fruits, vegetation
and time as factors. The idea is to see if fruits, vegetation and time
explain the abundance of mice. I am using tree density as a covariate.
So I tried to fit the following structure to my data.
>
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
2008 Sep 28
1
Kernel Estimate for the Intensity Function
To anyone who can help me:
I found that the function "smooth.ppp" in the package "spatstat" provides
the kernel estimate for the intensity function of a "two-dimensional" point
process with marks.
Does anyone know that which package can do this for simply a "one-
dimensional" point process with marks?
I've been searching all over the R site but still
2008 Feb 27
4
plot y1 and y2 on one graph
Dear all
I have a code like
x<-1:10
y1<-x+runif(10)*2
y2<-seq(0,50,length.out=10)+rnorm(10)*10
par(mfrow=c(1,2))
plot(y1~x)
plot(y2~x)
Now I would like to plot y1 and y2 on the same graph, with its two scales
(y1 on left and y2 on rigth side).
Any help are welcome.
Kind regards
Miltinho
Brazil
[[alternative HTML version deleted]]