Displaying 20 results from an estimated 400 matches similar to: "barplot with multiple columns"
2005 Oct 06
5
Interpolation in time
Can anybody help me write a code on the following data example, which
fills out all NA values by using a linear interpolation with the two
closest values?
Doy is day of year (%j).
Code example:
yr<-c(rep(2000,14))
doy<-c(16:29)
dat<-c(3.2,NA,NA,NA,NA,NA,NA,5.1,NA,NA,NA,NA,NA,4.6)
ta<-cbind(yr,doy,dat)
ta
yr doy dat
[1,] 2000 16 3.2
[2,] 2000 17 NA
[3,] 2000 18 NA
2005 Sep 04
1
time series graphs
About time series graphs, I need help to move on:
A time series of data directly from a data logger comes in the dat
format created below:
year<-c(rep(2005,10))
doy<-c(rep(173,5),rep(174,5))
time<-c(15,30,45,100,115,15,30,45,100,115)
dat1<-c(0.022128,0.035036,0.051632,0.071916,0.081136,0.07837,0.083902,0.
126314,0.080214,0.117094)
dat2<-
2010 Feb 15
1
"EstimableS" in R
Hi
I've just installed the R version 2.10.1 on my new PC and unfortunately I have problem to use the function Estimables. I have downloaded gmodels succesfully but have problems when I activate the package. I get following meassage;
> utils:::menuInstallLocal()
package 'gmodels' successfully unpacked and MD5 sums checked
> local({pkg <-
2003 Jun 16
0
chan_capi and hanging channels
hi
using chan_capi, I get _lots_ of hanging channels after a while. This was
first beleived to be SIP related, but I doubt it. below, 'roy' is on MGCP,
and 'fax' is just a bridged dial if someone dials in, it's re-routed to
another external number
roy
asterisk1*CLI> show channels
Channel (Context Extension Pri ) State Appl. Data
2010 May 09
3
Plotting log-axis with the exponential base to a plot with the default logarithm base 10
Hello!
I have a problem which I have tried to solve for several days now..
I have plottet a lineplot.CI in the library "sciplot", and I am trying to
plot it with a logaritmic y-axis (with exponential base).
The problem is that; when I type "log "y"", the axis transforms into the
logaritmic of base 10.
I wonder if someeone could tell me how to specify that I would
2013 Feb 09
3
help on plotting series with different x-axis values on a graph with one x-axis
Hi,
I have run into this problem a couple of times now and hope you can help!
If I want to plot mulitiple series with differing x-axis values (however, all in the same range) in 1 plot with one common axis R obstruses the plots.
E.g. if I plot water content against time and I start with the sampler at 5 cm depth, it plots that one right.
But the next depth, 15 cm, is measured at slightly
2012 Jun 08
3
Rose plot (like a windrose)
Dear R Gurus,
I spent some time in looking for help but didn't find a way to do what I
want.
I do have a vector (in Degrees) containing of 360 elements, one element per
degree on a circle.
The data is dimensionless and in the range of -0.2 to 0.5.
An Example:
Wind Dir [degrees], Value
1, 0.1
2 , 0.3
3 , 0.01
.,.
.,.
180,-0.01
181,-0.2
.,.
.,.
.,.
359,.0.3
360,.0.5
Now I want to have
2001 Sep 27
2
ugly in plotmath: frac(1, sqrt(...)) (PR#1101)
Sometimes (dependent on device and settings of 'cex' and 'lwd') the line
of a square root symbol plottet in the denominator of a fraction appears
to be in or above the line of the fraction.
Examples:
### Choose one of these:
# pdf("test.pdf", height=6, width=8)
# bmp("test.bmp", width=1100, height=800, pointsize=12)
# bitmap("test.tif",
2012 Aug 28
4
barchart with 3 Arguments
Hi @ all,
I have a problem concerning the barplot (barchart lattice) of a dataframe. I
work with the attached dataframe.
When I try to plot this dataframe I only get two rows plottet. When I try
to plot the whole dataframe, there is message, that it is 'height' must be a
vector or a matrix.
On the y-axis, the "amount_cattle" should be displayed and on the x-axis the
2009 Feb 24
1
biplot.princomp - changing score labels
Dear R helpers,
When producing a PCA biplot, vectors of environmental variables (as red
arrows with labels) and scores of the observations (black labels
(observation names)) are plotted by default. How can I change the
graphical output? Let's say I would like that the scores are plottet
only as symbols and not text. The only solution I found was this post in
the help archive
2005 Jun 22
2
Subsetting across a frame for plotting
I have a huge frame holding holding model results for a number of
locations and time series:
> str(tonedata)
`data.frame': 434 obs. of 339 variables:
$ VALUE : int 101 104 105 106 111 118 119 121 122 123 ...
$ COUNT : int 2443 184 1539 1016 132 1208 1580 654 864 560 ...
$ AREA : num 6.11e+08 4.60e+07 3.85e+08 2.54e+08 3.30e+07 ...
$ D1_1958 : num 470 446 452 457 407 ...
2009 Nov 26
1
Arrhenius Plot 2 with lattice
Hello,
sorry for incomplete code...
with this I read the file and calculate my stuff. I have a plenty of
them 80-300K every 5 Kelvin. I start with 79K, 80K...300K
test<-read.table("T300_both.txt",header=FALSE,sep="")
RH2<-c(RH2,2.5e7*.32e-4/100e-6/5100*(test$V3[c(2)]-test$V3[c(1)]+test
$V3[c(4)]-test$V3[c(3)]))
n2<-c(n2,-1/(RH2[c(46)]*1.60217e-19))
2002 Dec 13
2
A beginner's problems with plotting
Hi,
How would I go about plotting all 8 columns of a data.frame on a simple line
graph. i.e. eight lines and sets of points, differentiated by line pattern or
colour)?
An what further arguments would I need to invoke a log scale on the y-axis of
that same plot (normal x-axis)?
Cheers, Jeremy
2010 May 10
2
[Fwd: Re: Plotting log-axis with the exponential base to a plot with the default logarithm base 10]
Hello!
Thank you for answering!
What I am trying to do is to plot my raw values (biomass of different
species) on a logaritmic y-axis with the base of e. When I type "log="y"",
the axis transforms into a logaritmic axis with the base of 10.
Best regards,
Elisabeth
> Dear Elisabeth,
>
> I'm not sure if I have understood your question -- are you trying
> to
2010 May 09
1
Plotting log-axis with the exponential base to a plot wi
Hello Ted!
Thank you a lot for your reply!!!
I will try to explain again; what I want is a logarithmic scaled y-axis
with the base of e (not 10). And the values I would like to use in the
plot are the raw values (not transformed in any way). Do you still think
that the base of log does not matter in this case (wheather it is e or 10
as a base)?
Elisabeth
> On 09-May-10 18:10:27, Elisabeth
2009 Mar 09
2
[LLVMdev] [llvm-testresults] cfarm-x86-64 x86_64 nightly tester results
This nightly tester is now using an llvm-g++ that produces the new ODR linkage
types. This means that many more functions are being considered by the
inter-procedural optimization passes (for example, "linkonce" functions defined
in a header). The result seems to be pretty huge swings (both good and bad) in
the C++ tests in the testsuite, see below. Note that this tester is often
2012 Feb 03
3
Cannot get "==" operator to return TRUE
I have a data.frame named "df". The dput of df is at the bottom of this e-mail.
What I'd like to do is replace the "n/a " values with NA. On Mac OSX, it works
to do this:
df[df == "n/a"] <- NA
However, it does not work on Ubuntu. See below.
Thanks in advance,
Garrett
> x <- df[27, 4] # complete data.frame dput is below
> dput(x)
"n/a?"
2012 Nov 07
3
HELP! Excel and R give me totally different regression results using the exact same data
Hallo,
I am totally confused why Excel and R give me totally different regression
results for the data below. If you know the solution, please enlighten me.
In Excel I used LINEST() and Data>Data Analysis>Regression and both
(fortunately) gave the same result.
The coefficients were:
/b0=1.16, b1=0.957, b2=0.024, R2=0.0027, adjusted R2=-0.017/
In R I used
2001 Nov 08
3
Size of .journal file for embedded linux
Hi
I am running kernel 2.4.13 with ext3 support on an embedded system with 64
MB Flash and
the .journal file takes size as 4 MB.
Is it possible to minimize the .journal file ?
With best regards/ Med venlig hilsen
John Nørgaard
2008 Jul 02
1
Insert text in data.frame
Dear R-helper,
I wonder if anyone can help me. I am trying to convert a dataset to a
format recognizable by a software onboard a research vessel but I am
having problems with some steps.
I have a data frame as follows:
Conc Lat Lon Depth
Point0000 56.25 -5.65 70
Point0001 56.55 -5.35 85
Point0002 56.25 -5.65 65
Point0003 56.37