Hi
I would like to display the trendline and the R-square value in a xy scatter in
R. For example if I want to plot f vs g I add the trendline using the commands
below
>library(quantreg)
>plot(f,g)
>abline(rq(g~f))
however I don't know how to display the R2 in the graph.
Thank you in advance.
Hallo,
I am trying to plot dates in x-axis. The format of my dates are in dd/mm/.
At first I install zoo package. After R reads my file, I change the default
format of dates to the format that I have,
>myfile<-read.csv
>DATE<-as.Date(DATE,format="%d/%m/%Y")
up till now everything goes ok;
Dear all
I am doing some plots in R.
I want to have as label in y-axis Temperature (oC). I have used
ylab=expression(paste({Temperature} ^o*C)) but what I get is TemperatureoC.
How can I have a space between Temperature and the units and also the units to
be in brackets?
Many thanks
Maria
Dear all
I would like to run in R an uncertainty/sensitivity analysis. I know that these
two are performed together. I have a geochemical model where I have the inputs,
the water variables (e.g. pH, temperature, oxygen ect) and as well an output of
different variables. What I would like to do i
Dear all,
I want to make a plot where I can specify the range of y axis. I am using the
interaction.plot command and because the values of y axis are from 2 to 500, I
am using a logarithmic scale.
>interaction.plot(speclong$Date,speclong$time2,speclong$outcome,xaxt="n",type="l",pch=20,xlab="",
Dear all,
I want to plot 8 chemical variables in the same plot. I have used the
interaction.plot command:
> interaction.plot(speclong$Date,speclong$time2,speclong$outcome,xaxt="n",type="l",pch=20,xlab="",
> log="y", ylab="Concentration (ug/L)",trace.label="",col=rainbow(8))
However, what it giv
Dear all
I am trying to do a multiple pairwise comparison test with Tukey-Kramer test as
I have unequal sample sizes and variance. I have downloaded the DTK package
from CRAN website in my computer for Windows, however I have difficulties in
installing it in R.
I have unzipped the compressed f
Dear all
I have a dataset of how metal concentrations change through time. I have made a
plot of date versus metal concentration. However I want to add error bars in
the plot.
Could you help me?
Thanks
Maria
[[alternative HTML version deleted]]
___
Dear all
I have six variables of the average metal concentrations
Var1 4.77
Var2 23.5
Var3 5.2
Var4 12.3
Var5 42.1
Var6 121.2
I want to plot them as a barplot with error bars. Could you help me?
Cheers
Maria
[[alternative HTML version deleted]]
Dear all
I have the following code to produce a graph of 5 different variables in the
same graph; however when I follow it in the end it produces the plot of the 5
variables and a legend in right but the problem is that the legend is too close
to the margin of the plot and when I try to write t
Dear all,
I am ploting two boxplot of two chemical variables using the format
boxplot(Alkalinity, logAlkalinity, log="y", col=c("lightblue"), lwd=0.6,
boxwex=0.3)
However when I plot like this, the distance between the two boxplots is very
big and as well the distance of each boxplot from the p
d...@yahoo.ca]
Sent: 13 March 2011 13:19
To: r-help@r-project.org; Lathouri, Maria
Subject: Re: [R] how to change the margins of a plot area
Hi Maria,
I think we need some sample data and code to really be ablo to help.
in the meantime have have a look at ?par for general plotting info.
--- On
2011 18:24
To: Lathouri, Maria
Subject: Re: [R] how to change the margins of a plot area
Please read the Posting Guide and note that ".csv" files are NOT
mentioned as one of the acceptable formats for attachments to postings!
On Mar 13, 2011, at 1:00 PM, Lathouri, Maria wrote:
> D
Dear all,
I need to plot an cumulative distribution plot of a variable and then to fit a
distribution to that, probably a weibull or lognormal.
I have plotted the ecdf as
> plot(ecdf(x))
but I haven't managed to fit the distribution. I have as well attached the data.
I would appreciate if you
To: Lathouri, Maria
Cc: r-help@r-project.org
Subject: Re: [R] fitting a distribution to a ecdf plot
On Mar 15, 2011, at 12:00 PM, Lathouri, Maria wrote:
> Dear all,
>
> I need to plot an cumulative distribution plot of a variable and
> then to fit a distribution to that, probably
Hallo
yes I tried it as well and it works;
Thank you a lot
Maria
From: Dennis Murphy [djmu...@gmail.com]
Sent: 15 March 2011 21:36
To: Lathouri, Maria
Cc: r-help@r-project.org
Subject: Re: [R] fitting a distribution to a ecdf plot
Hi:
The fitdistrplus package
Dear all
I am trying to make an interaction plot among 6 variables; e.g. PH to be in
the x axis and the rest 5 variables in the y axis. The code that I am using is
the below:
The name of my file is e.g. spec so
> spec<-read.csv("spec.csv")
>head (spec)
>str(spec)
>names<-names(spec)[
o hearing from you.
Sincerely yours
Lathouri Maria
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and
Dear all,
I am trying to make boxplots in one diagram but it is not working. Actually I
have a large dataset, around 35 water quality variables with different units
and of course in different ranges (some are orders of magnitude bigger than
others). I want to produce one diagram with all the b
What can I do?
Yours
Lathouri Maria
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provid
20 matches
Mail list logo