Displaying 20 results from an estimated 10000 matches similar to: "changing format of y-axis (barplot)"
2008 May 19
1
three-dimensional (volumetric) estimation from x,y,z points
Dear all,
I have a set of x,y,z points obtained from
a lizard species and now I would like to
estimate the three-dimensional use of space
for this species. I know that 2D area I can
estimate using adehabitat packages, but
I don´t know how to estimate the volumetric
space.
Any help are welcome.
Miltinho
Brazil
[[alternative HTML version deleted]]
2008 Sep 20
2
AUC / ROC for presence only.
Dear all,
I have a probability of presence of distribution of a species of interest
(varying from 0 to 1 in continuous form) and I have a set of points
where I know that species really occurs. But I don´t have points of absence.
So, for each true presence I know the estimated presence.
I would like to know how can I compute AUC, taking account these
Available data.
Best wishes,
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]]
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 Jun 21
2
clicking on plot and recording XY coords
Dear all,
I need to run a interactive procedure where the user
will need click on the screen (over a XY plot)
and I need to record the XY coordinate which the
user clicked. Roughly I wrote a short code below.
You see that I suppose that the user will choose
four coordinates inside the region of intersection
between three segmentes. On each click, I would like to
record the position clicked in a
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
2009 Mar 18
1
time difference (from date function)
Dear all,
I have two variables which contents are date() function answers, like:
d1<-date()
d2<-date()
Now I need to compute the difference between d2 and d1 (in minutes).
Any help are welcome.
Best wishes
miltinho
brazil
[[alternative HTML version deleted]]
2012 Aug 22
3
Barplot with Secondary axis
Hi all,
I am trying to plot a bar chart and trying to plot a line as a secondary
axis as my scale is different for two y axis.
I am plotting a clustered bar chart by using besides = True option in
barplot function and my y coordinates are not plotted exactly at the center
on each two bars. Please help me.
I am pasting the code as follows.
x =
2008 Apr 22
4
Modeling presence only data in R
Dear All,
I have a set of environental maps and presence-only points for some species.
How can I generate distributions models on R using these presence-only data?
What packages and functions can I use to do so?
Kind regards,
Miltinho
Brazil
[[alternative HTML version deleted]]
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
2006 Dec 06
2
require(simecol) error
Hi there,
I´m trying to use "simecol" package but I got the error showed below. I´m runnig R version 2.4.0 (2006-10-03).
Kind regards,
miltinho
Brazil
---
> require(simecol)
Loading required package: simecol
Error in loadNamespace(package, c(which.lib.loc, lib.loc), keep.source = keep.source) :
in 'simecol' methods specified for export, but
2005 Nov 16
2
invert y-axis in barplot
Hi!
This is probably a very trivial question. Is there an easy way to invert the
y-axis (low values on top) when using the function barplot()?
Thanks,
Jörg
[[alternative HTML version deleted]]
2008 Jul 21
1
y-axis number format on plot, barplot etc.
I am trying to change the number format shown on the y-axis from scientific
5e05, to 500,000 etc. Does anyone know how to do this?
Is there something I can add as an argument to barplot, or would it be
through par?
barplot(data$Value, names.arg = as.vector(data$Field), main=strTitle)
[[alternative HTML version deleted]]
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
2010 Jul 07
1
xls.getshlib() error in xlsReadWrite package under W7
Dear all,
I installed xlsReadWrite package under Windows 7, and got error when trying
to run xls.getshlib().
Please, see the errors below:
> require(xlsReadWrite)
Loading required package: xlsReadWrite
xlsReadWrite version (cran shlib)
Copyright (C) 2010 Hans-Peter Suter, Treetron, Switzerland.
!! Your installation contains the cran placeholder shlib (dll/so).
Please get the regular shlib
2006 Dec 10
4
sample "n" random positions from a matrix
Hi there,
I have a binary matrix (dim 100x100) filled with values 0 and 1. I need select a record "n" positions of that matrix when values are 1. How can I do that?
Thanks for all,
Miltinho
Brazil
---------------------------------
[[alternative HTML version deleted]]
2011 Jan 18
2
Barplot and line x-axis positions
Hello all,
Hoping that there is a fairly simple solution to my query...
I'm trying to overlay a line plot of some data onto a barplot of different data. The y-axes are different for each set of data but the x-axes are the same (1:12, corresponding with 12 months of observations). The problem I'm having is that the centre of the bars and the points on line don't match up, which is
2008 Jul 31
1
multiple separators in scan() functions
Dear all,
Is there a way of I deal with more than one kind of separators
when reading a asc file using scan() function?
The separators could be ":", "\t" and ";".
Kind regards
miltinho
[[alternative HTML version deleted]]
2009 Dec 23
1
removing rows with NAs in anywere
Dear all,
I have a data.frame with some NAs that can
happens anywere, and I would like to keep
only rows without NAs. Thanks in advance
for your help, and Merry Xmas.
myvect<-runif(100)
myvect[sample(1:100)[1:5]]<-NA
myDF<-data.frame(matrix(myvect,ncol=5))
myDF
miltinho
[[alternative HTML version deleted]]