Displaying 20 results from an estimated 600 matches similar to: "rbind"
2002 Jul 03
2
Adding text to a plot
Dear R-users,
again two question...
# Question 1
Adding two lines of text to a plot, I am using:
# -------------------------------
plot(k[,1], k[,2], pch=16,
ylim=range((min(k[,2])-0.2):(max(k[,2])+1)))
a <- paste("Cor.:" ,cor(k[,2],k[,1]))
b <- paste(nrow(k), "Countries")
text(90, max((k[,2])-0.51), a)
text(90, max((k[,2])-0.83), b)
#
2002 Jun 09
1
Logical operators
Hello,
I have a csv-file which looks like:
#### pwt6_r.csv ####
code;year;rgdpch
AGO;1998;1234
ALB;1998;3576
ARG;1998;#NA
SVN;1996;13439
SWE;1996;21492
AGO;1960;#NA
ALB;1960;2345
ARG;1960;4634
#### pwt6_r.csv ####
To import this file i call:
pwt6<-read.csv("d:/pwt6_r.csv",header=T,na.strings="#NA",sep=";")
Now I want to generate a new data.frame which include
2002 Jun 14
1
data.frame - transform
Hi there,
I have a data.frame (pwt6) which I would like to transform:
country year gdp
MEX 1950 2
MEX 1951 5
BOL 1950 4
BOL 1951 12
ITA 1950 45
ITA 1951 2
This should be the result:
year MEX.gdp BOL.gdp ITA.gdp
1950 2 4 45
1951 5 12 2
Right now I have this code (better - no code):
country.label<-names(table(pwt6$country))
result<-data.frame(year=NULL)
for(i in country.label)
?
2002 Jun 28
1
Transpose a dataframe
Hello,
I would like to switch this dataframe:
> k
country 1960 1961 1962 1963
99 ARG 7493 7733 7581 7108
246 AUS 10484 10342 10809 11357
295 AUT 7438 7808 7938 8212
393 BDI 587 502 555 608
442 BEL 8223 8638 9021 9311
in this structure:
year ARG AUS AUT BDI BEL
1960 7493 10484 7438 587 8223
1961 7733 10342 7808 502 8638
1962 7581 10809 7938 555
2002 May 26
3
Read a Time Serie CSV
Hi,
I want to read some Times Series of GDP from OECD-Countrys.
First I call:
> oecd96<-ts(read.csv("oecd96.csv",header=T,sep=";"),start=1950,freq=1)
> summary(oecd96)
gdpcausb gdpcautb gdpcbelb gdpccanb
Min. : 8567 Min. : 4533 Min. : 6616 Min. : 8966
1st Qu.:10771 1st Qu.: 8717 1st Qu.: 9440 1st Qu.:11694
Median
2002 Jun 30
0
Loop and 3D-Densityplot
Dear list,
I've got some more question.
# Number 1:
If I run this:
#----------------------------
Per.Start <- c(1950,1973)
Per.End <- c(1973,2001)
for(i in 1:2) {
age <- Per.End-Per.Start
}
age
#----------------------------
I'm getting:
[1] 23 28
But I want to save the result in two different
variables. Something like this:
#----DON'T WORK-------------
Per.Start
2002 Jul 03
3
latex
Hi,
i'm a newbie with latex and postscript but recognize
the power in combination wit R .
...current i don't now how i have to "inform" R1.5.0(patched) about my
MikeTex installation on windows 2000 and get following
latex(table)
Warning messages:
1: cat not found
2: cd not found
3: xdvi not found
P.S. maybe i must define in Rprofile something ???
Thanks for help and
2003 Jun 17
1
Re: R: Problem from Philippe Glaziou
On Mon, 16 Jun 2003 09:56:07 +0200
Patrick Hausmann <p.hausmann at mr-regionalberatung.de> wrote:
> Dear Frank,
>
> I can reproduce the problem from Philippe Glaziou (see attachment).
> Maybe this can help.
> Best,
> Patrick
>
> Am Wollelager 11
> 27749 Delmenhorst
> Tel. 04221 96373-0
> Fax 04221 96373-29
>
> http://www.mr-regionalberatung.de
>
2007 Nov 13
2
Getting mean in a dataframe
Sorry to hijack this thread. I have a similar but slightly different
situation. Using the original poster's example, how to elegantly get
the mean of column V2 when column V1 is either A or C and F1 is 0?
Thanks,
Gang
On Nov 13, 2007, at 5:30 AM, Petr PIKAL wrote:
> Hi
>
> r-help-bounces@r-project.org napsal dne 13.11.2007 10:59:09:
>
>> Dear list,
>>
>> I
2011 Jan 17
2
How to still processing despite bug errors?
Hi, everybody.
I am working processing EEG data from 1000 pacients. I have a specific
syntax to perform the Spectral Analysis and a loop to analyse all subjects.
each subject data are in separate folders (P1, P2 P3...)
My question is: in some cases, some errors can appear in one subject. I want
to know if is possible to jump to the next subject and perform the same
syntax , exibiting an error
2005 Feb 18
0
single equation IV estimation in R using systemfit
Hello,
I see on the systemfit manual that you can estimate one-equation IV - I have
a variable, and need to test if it's endogeneous, but do not need to
estimate a system.
Does anyone have any examples of this? Do you just run OLS with the
endogenous variable, and then run a Hausmann to test endogeneity of OLS
resid. vs. IV resid?
Thanks in advance,
DM
[[alternative HTML
2007 Nov 16
0
Odp: R: ave and quantile
Hi
Patrick Hausmann <c18g at uni-bremen.de> napsal dne 15.11.2007 18:59:06:
> Hello Petr,
>
> one question solved, the next is standing in front of me... If you
> have a minute to look .... great!
>
> > x
> V1 V2 F1
> 1 A 2 0.1552277
> 2 A 3 0.1552277
> 3 A 4 0.1552277
> 4 B 3 0.8447723
> 5 B 2 0.8447723
> 6 C 6 0.2500000
2008 Mar 03
0
Fwd: R: Studdy Missing Data, differentiate between a percent with in the valid answers and with in the different missing answers
Begin forwarded message:
> Subject: R: Studdy Missing Data, differentiate between a percent
> with in the valid answers and with in the different missing answers
> take a look at the Website from Dirk Enzmann:
> http://www2.jura.uni-hamburg.de/instkrim/kriminologie/Mitarbeiter/
> Enzmann/Software/Enzmann_Software.html
> He provides a function called "freq.r" - maybe
2008 Jun 30
2
Smbd internal error and panic with nfs-mounted share
We're trying to share a directory that's mounted via NFS from another
server; when we connect to that share, smbd panics and tries to dump
core.
This is samba-3.0.30 on Alpha/Tru64-4.0G. The directory we're trying to
use is exported from a Linux box called sesfs (Centos 4.4) and
mounted on
the Alpha server via NFS as /sesfs/scratch. I've appended below an
edited
summary from
2003 Jun 12
0
Re: (PR#3241) write.table() fails for POSIXlt class and NAs in
Uwe,
You said you used
testdata <-
data.frame(date = strptime(c("31121991", "31121991"), "%d%m%Y"),
nothing = c(NA, NA))
but that's not the same object, and that one does work for me.
> dput(testdata)
structure(list(date = structure(c(694137600, 694137600), class = c("POSIXt",
"POSIXct")), nothing = c(NA, NA)),
2019 Jul 10
0
GPO infrastructure? -> 4.8.x to 4.9.x
Am 09.07.19 um 20:00 schrieb Stefan G. Weichinger via samba:
> Maybe I have to rejoin, I renamed the windows server after the join, and
> there was now matching DNS record then.
>
> And I see stuff like this:
>
> /var/log/samba# tail -f log.samba
> ../source4/dsdb/dns/dns_update.c:353: Failed SPN update - with error
> code 1
> [2019/07/09 19:16:32.921798, 0]
>
2018 Apr 25
2
Wanted: WebRTC tutorial
On 04/24/2018 09:08 AM, Matt Fredrickson wrote:
> On Tue, Apr 24, 2018 at 10:54 AM, Bruce Ferrell <bferrell at baywinds.org> wrote:
>> A while back (last year maybe?), there was a Digium blog post on setting up
>> WebRTC.
>>
>> I was never able to get that working.
>>
>> I was working with Asterisk 15 on a RHEL derived distro and had no idea of
>>
2019 Jul 12
0
GPO infrastructure? -> 4.8.x to 4.9.x
Then you might have hitted this bug.
https://bugzilla.samba.org/show_bug.cgi?id=13969
Patch is to be tested atm.
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> Stefan G. Weichinger via samba
> Verzonden: vrijdag 12 juli 2019 14:28
> Aan: samba at lists.samba.org
> Onderwerp: Re: [Samba] GPO
2018 Feb 15
2
Problem with DAHDI
Hi again!
I tried to attach two VoIP-phones to my new Asterisk 13.14.1 on a Banana PI
with Armbian/Debian 9.
First test was to call a test service that say the time. Works!
Second test was to record my voice and play it again. Works!
Third test was to call the other VoIP-phone. It does NOT work... :(
Then I noticed that, by starting, Asterisk says the following messages:
[Feb 15 18:42:54]
2019 Jul 12
3
GPO infrastructure? -> 4.8.x to 4.9.x
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> Stefan G. Weichinger via samba
> Verzonden: vrijdag 12 juli 2019 10:24
> Aan: samba at lists.samba.org
> Onderwerp: Re: [Samba] GPO infrastructure? -> 4.8.x to 4.9.x
>
> Am 10.07.19 um 08:40 schrieb Stefan G. Weichinger via samba:
>
> > more of this:
> >