similar to: Adding text to a plot

Displaying 20 results from an estimated 500 matches similar to: "Adding text to a plot"

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 21
1
rbind
Hello, I am sure this is a trivial question, but I don't get it... Having a dataframe (b.70) like that: > b.70[1:4,2:3] ARG AUS 1960 19041 25949 1961 19675 25451 1962 19302 26463 1963 18121 27644 Now I want to calculate the log for each year and save the result in a new dataframe called 'x'. x<- data.frame(w=NULL) for(i in 1:3)
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 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
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 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
2006 Nov 11
1
Help with newhidups subdriver for Dynex UPS
Hello everyone! If this message was posted twice, my apologies. I'm having issues with my webmail today... I am using the testing version of NUT from SVN at changeset 582. I have successfully created a stub for newhidups driver for my Dynex DX-800U UPS, but I am completely lost on the customization of it. I've followed the hid-subdrivers.txt instructions and I understand I need to
2002 May 21
6
Point labels
Hello, Is there an option I can easily set to put labels next to the points in a simple plot? The closest I got to it was to use the option pch, but this replaces the point symbol with the character specified, and it is not what I want. Thanks -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2002 Nov 18
2
Rsync and ssh with passwordless authentifikation
Is it possible to konfigure a passwordless authentifikation in kombination with ssh. for example: to a specific folder on a server named server1 has only user1 access. the user1 only exists on server1. server2 wants to replicate a foler from server1 to himself. the rsync process uses the rsync_user, which exists on both machines. the rsync process asks every time the job runs for the password
2001 Sep 12
3
Distinct transactions (MV vs rename())?
I have a question regarding a thread in June called "Distinct transactions", which I have included below. It seems to me that the solution is not atomic for daemons opening the file as there is a moment where the filename is not in the directory (i.e. unlink then link). In summary, poster Charlie Woloszynski wanted to update a configuration file in a safe manner (i.e. as a
2002 Jun 26
4
evaluate a string
Hello together i want to execute different commands that are saved in strings (eg: "d <- 4+7" and some more complicated things). How can i execute/evaluate them. I know i could save them to a temp-file a read this with source. But is there a way without a file in the middle? I know also the 'assign' command but I think it would only the simply cases. thanks and gruess joerg
2002 Mar 01
3
Split plot in colors/pch??
Hi all This seems like a very easy question, but I have not found a simple answer to it: If you have a dataframe, how to you plot two of then in different colors depending on a third variable? All help appreciated! /Fredrik -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send
2009 Apr 18
5
Dummy (factor) based on a pair of variables
Dear All! my data is on pairs of countries, i and j, e.g.: y,i,j 1,AUT,BEL 2,AUT,GER 3,BEL,GER I would like to create a dummy (indicator) variable for use in regression (using factor?), such that it takes the value of 1 if the country is in the pair (i.e. EITHER an i-country OR an j-country). Thank you for your help, Serguei ________________________________________ Austrian Institute of
2002 Mar 05
3
enhanced Question to stand. Beta
Hello everybody, a question that connect to the question of Frederik Karlsons about 'how to stand. betas' With the stand. betas i can compare the influence of the different explaning variables. What do i with the betas of factors? I can't use the solution of JohnFox, because there is no sd of an factor. How can i compare the influence of the factor with the influence of the numeric
2008 Feb 20
1
sambaPwdMustChange attribute didn't get updated (3.0.27a)
Hi there, i got into some trouble after updating my samba installation to 3.0.27a. My installation uses Samba-3.0.27a,OpenLDAP-2.2.13,smbldap-tools-0.9.2 as a PDC NT4-domain.Originally I used the installation-guide from smbldap-tools and everything worked fine. I also limited the access to LDAP as told in the installation-guide with no problems. After updating to 3.0.27a i realized that when
2009 Jun 26
3
Compute correlation matrix for panel data with specific ordering
Hello All, I have a panel date - here a small-scale example: df <- data.frame(cbind(rep(c("AUT","BEL","DEN","GER"),4),cbind(rep(c(1999,2000,2001,2002),4)),sample(10,16,replace=T))) names(df) <- c("country","year","x") SORT <- c("GER","BEL","DEN","AUT") I need to compute the
2002 Feb 26
2
last day of month values
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have a stock market trading values time series. What's the best way to extract the "last day of month" values. I looked at function window() but doesn't appear suitable for this since it expects regular dates. Thank you. lukas - -- Lukas Kubin lukas.kubin at permonik.com phone: 00420603836180 -----BEGIN PGP SIGNATURE-----
2009 Mar 02
2
ave and grouping
Dear list, # I have a DF like this: sleep$b <- c(rep(8,10), rep(9,10)) sleep$me <- with(sleep, ave(extra, group, FUN = mean)) sleep # I would like to create a new variable # holding the b-th value of group 1 and 2. # This is not what I want, it takes always the '8' from group '1' # and not the '9' sleep$gr <- with(sleep, ave(extra, group, FUN = function(x)
2002 Mar 13
3
Error: subscript out of bounds
How can locate in my program an error of that kind (Error: subscript out of bounds)? -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch