Displaying 20 results from an estimated 3000 matches similar to: "adding labels above bars in a barplot"
2010 Aug 24
2
how do R calculates the number of intervals between tick-marks
Hello,
I want to know how do R calculates the number of intervals between
tick-marks in the y axis in a plot.
I'm making a three y-axes plot and this information would help me a lot.
Thanks in advance.
Antonio Olinto
----------------------------------------------------------------
Webmail - iBCMG Internet
http://www.ibcmg.com.br
2010 Oct 21
1
printing a variable during a loop
Hello,
About looping, consider the example:
for (i in 1:23194) {
dat.stat[i,c(2:8)]<-quantile(dat.bat[BL==block[i],2],prob=c(0,0.025,0.25,0.5,0.75,0.975,1))
print(i)
}
I'd like to have the value of "i" printed for each loop (step). As I
could see the values of "i" are shown on screen only after all the
work is done.
Thanks in advance for any suggestion.
Best
2010 Aug 24
4
how to plot y-axis on the right of x-axis
Dear List,
I have a richness data distributing across 20 N to 20 S latitude. (120 E-140
E longitude).
I would like to draw the richness in the north hemisphere and a regression
line in the plot
(x-axis: latitude, y-axis: richness in the north hemisphere).
The above demand is done using plot.
Then, south hemisphere richness and regression are required to be generated
using
the same y-axis above
2005 Apr 13
1
barplot usage
Hi,
I?m trying to make a barplot with the following dataframe, with information on
relative frequency per sediment type (ST) for some species:
Species ST1 ST2 ST3
SP_A 10 60 30
...
At x-axis are (should be ...) the species names and at y-axis the frequency per
sediment, in stacked bars.
I tried to use barplot command but with no results. Could anyone help me on this?
Thanks in
2001 Sep 23
1
plot and lm (2)
Thanks for your reply Nassar.
What I really want is to overlay (like add=TRUE) the plots 1 and 2. With
plots "at the same screen" I meant overlaid and not one beside the other,
i.e., only one plot with all the points (1 to 10) in blue (or any other
color), the points 5 to 9 in red and a regression line from points 5 to 9.
Best regards,
Antonio Olinto
----- Original Message -----
2004 May 19
3
greek letters in plots
Hi,
I want to write in x axis label "fitted value of lambda" (lambda in greek
letter).
xlab=expression(lambda) gives the "lambda", I tryed things like xlab=paste
("fitted value of ", expression(lambda)) but I didn't get the greek letter.
Thanks in advance for any hint.
Antonio Olinto
-------------------------------------------------
WebMail Bignet - O seu
2002 May 21
3
how to extrac one coef from lm at a time
Hello R-Users,
I have I simple question that I could not solve:
How to extract the elevation and the slope values from a linear model (lm)
separately?
coef(model.lm) gives both of them.
Thanks,
Antonio Olinto
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
2012 Dec 28
3
Merging data tables
Hi all,
I am trying to merge several data sets and end up with a long data
format by date & time so I can run correlations and plots. I am using
Deducer as an R GUI but can just use the R console if easier.
The data sets are weather with wind speed, relative humidity and
temperatures by date and minute and bat activity with date, time, label,
and an activity index number. The bat
2006 Aug 07
2
finding x values to meet a y
Hi,
I'd like to find which values of x will give me a y.
In other words, in the example of a gaussian curve, I want to find the values of
x that will give me a density, let's say, of 0.02.
curve(((1/(sqrt(2*pi)*10))*exp(-((x-50)^2)/(2*10^2))),xlim=c(0,100))
Thanks for any help,
Antonio Olinto
-------------------------------------------------
WebMail Bignet - O seu provedor do
2009 Jan 20
2
Stacked barplot with two stacked bars besides each other
Hi,
I have a particular barplot I would like to generate, but I am having
trouble getting it to work. What I would like is in effect two barplots
with stacked bars merged into one. For example, I have two samples
(yoda1,yoda2) on which I measure whether two variables (var1,var2) are
present or absent for a number of measurements on that sample.
> var1 <- data.frame(yoda1=c(3,7),
2001 Sep 07
3
fitting models with gnls
Dear R-list members,
Some months ago I wrote a message on the usage of gnls (nlme library) and here I come again.
Let me give an example:
I have a 10 year length-at-age data set of 10 fishes (see growth.dat at the end of this message) and I want to fit a von Bertalanffy growth model, Li= Linf*(1-exp(-k*(ti-t0))) where Li = length at age i, Linf= asymptotic length, k= curvature parameter, ti=
2012 Dec 04
4
partial analisys of a time series
Dear list members
I want to analyze separately the months of a time series. In other words, I
want to plot and fit models for each month separately.
Taking the example of
http://a-little-book-of-r-for-time-series.readthedocs.org/en/latest/src/timeseries.html
births <- scan("http://robjhyndman.com/tsdldata/data/nybirths.dat")
birthstimeseries <- ts(births, frequency=12,
2009 Jun 15
4
books on Time series
Dear list fellows,
I want to study time series and use R to analyse time series of fishing
data from several species (landings and cpue) investigating the
correlation between them and with environmental factors (water
temperature, wind, etc.).
Searching at Amazon I found three books with examples in R:
Time Series Analysis: With Applications in R by Jonathan D. Cryer and
Jonathan D. Cryer
2001 Mar 28
4
fitting growth curves
Dear R-list members,
Cynthia M. Jones wrote a paper (Fitting growth curves to retrospective
size-at-age data, Fisheries Research 46(2000):123-129; abstract at
http://www.elsevier.nl/gej-ng/10/19/44/70/24/37/abstract.html)where the
SAS procedure MIXED, Macro NLINMIX (Littell et. al., 1996)was used to
estimate the von Bertalanffy growth function parameters assuming that
data from the same fish are
2013 Feb 08
3
On p-values presented in the summary of Linear Models
Dear list members
I have a doubt on how p-values for t-statistics are calculated in the
summary of Linear Models.
Here goes an example:
x <- rnorm(100,50,10)
y <- rnorm(100,0,5)
fit1<-lm(y~x)
summary(fit1)
summary(fit1)$coef[2] # b
summary(fit1)$coef[4] # Std. Error
summary(fit1)$coef[6] # t-statistic
summary(fit1)$coef[8] # Pr(>|t|
summary(fit1)$df [2] # degrees of freedom
#
2016 Dec 18
1
llvm (the middle-end) is getting slower, December edition
On Sat, Dec 17, 2016 at 6:39 PM, Mehdi Amini <mehdi.amini at apple.com> wrote:
>
>> On Dec 17, 2016, at 1:35 PM, Davide Italiano via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>>
>> First of all, sorry for the long mail.
>> Inspired by the excellent analysis Rui did for lld, I decided to do
>> the same for llvm.
>> I'm personally very
2011 Aug 31
2
VisualBasic "select case" commad in R
Hello
I'm translating a Visual Basic routine to R.
Which command in R is similar to "select case" in VB?
See the example:
select case int(AG)
case 0, 5, 8, 10
VAR = 37
case 1, 4
VAR = 70
case 3, 6, 9
VAR = 90
case 2, 7
VAR = 112
end select
A chain of "if else" would not be very elegant. Is there another option?
Thanks in advance. Best regards.
Antonio
2004 Dec 06
1
using subset
Hi,
I have doubts in using subset command. I have a list of, lets say, 15 species
and I want to make a subset with only 2 of them. I??m the command
data2 <- subset(data1, species=="sp1"|species=="sp2")
Nevertheless, when I ask for the summary (summary(data2)) the others species
names still apearing. Also I tried
data2<-data1(data1$species %in%
2006 Mar 15
1
filtering in aggregate
Hello all,
I have a data frame with year, month, species, fishing gear and catch
(Y, M, S, F, C) and I want the sum of C by Y for species "A" and fishing
gear "trawl".
I tried things like aggregate(C[S=="A" & F=="trawl"], list (Year =
Y[S=="A" & F=="trawl"]), fun=sum), but it didn't worked.
To overcome this problem I did
2007 Nov 14
1
label plotting on nmds diagram
Hi,
I'm using nmds command (library vegan) to analyze some fishing data.
I'd like to plot not only points, but also the names of species and stations in
a specified position.
I used the command
text(nmds$points[,1], nmds $points[,2],labels=row.names(nmds
$points),pos=3,cex=0.5)
But the labels are sometimes overlapped.
Is there any way to use identify, or a similar command, to plot the