search for: totangjie

Displaying 20 results from an estimated 39 matches for "totangjie".

2012 Mar 08
6
how to modify the tickment of x-axis
...series of observation data every minutes in a day as the attachment below plot(wnd,type='l',lty=1,col='red',lwd=1,xlab=xxlab,ylab=yylab,ylim=YY) In the figure, the x-axis tickment is the number of data How can I change it fore example 1h 2h 3h 4h and so on ? -- TANG Jie Email: totangjie at gmail.com Tel: 0086-2154896104 Shanghai Typhoon Institute,China
2009 Jul 29
2
quetions about dimensions
...errdata$tyerr[a:b] > length(bj1) [1] 169 it is different with bj2 and bj1 . and the array bjyearnum is [1] 0 279 448 633 1021 1365 1813 2237 2839 3314 3798 4157 12 why bj1 is 169 while bj2 is 448 ? how to let bj2 is also array with the length 169 ? thank you . -- TANG Jie Email: totangjie@gmail.com Tel: 0086-2154896104 Shanghai Typhoon Institute,China [[alternative HTML version deleted]]
2012 Mar 14
6
where I can find more color names or color definition?
hi everyone . Now I want to draw several lines in one frame.And it seems needs more colors except for blue red,black .Where can i found these color name or define some new color ?thank you . -- TANG Jie Email: totangjie@gmail.com Tel: 0086-2154896104 Shanghai Typhoon Institute,China [[alternative HTML version deleted]]
2012 Jul 10
2
is it possible to insert a figure into into another new figure by r script
hi R-users Now I have a figure in emf or png or tiff format that have been drawn by other tool and I want to insert this figure into my new figure by R script. I wonder if is possible ? -- TANG Jie Email: totangjie@gmail.com Tel: 0086-2154896104 Shanghai Typhoon Institute,China [[alternative HTML version deleted]]
2011 Nov 17
2
how to read a freetext line ?
...ger and string variables.But I can not read them by readLines and scan the text is : weight ;30;130 food:2;1;12 color:white;black the first column is the names of the variables and others are the value of them. the column in different line are different. Can anyone help me ? -- TANG Jie Email: totangjie@gmail.com Tel: 0086-2154896104 Shanghai Typhoon Institute,China [[alternative HTML version deleted]]
2012 Aug 01
2
how to subset the data frame by lines
...10 to output.But I find that when I use the aa[[1]][1:10] and it seems be mistake. aa[[1]][1:10] [1] 11 1 NA NA NA NA NA NA NA NA But when I just indice one element of the dataframe .e.g.aa[[1]][2] It will be ok. How could I subset the data.frame data by lines? Thank you ? -- TANG Jie Email: totangjie@gmail.com Tel: 0086-2154896104 Shanghai Typhoon Institute,China [[alternative HTML version deleted]]
2009 Jul 18
3
how to run the R script in background in Windows XP?
...version 2.9.1 in Windows XP. But I only can run these scrpit via R-GUI. Can anyone tell me how to run the scripts in background without openning R-gui.In another word, run the R-script and get the result via some batch proceesing files or shell scripts directly? Thanks. . -- TANG Jie Email: totangjie@gmail.com Tel: 0086-2154896104 Shanghai Typhoon Institute,China [[alternative HTML version deleted]]
2011 Feb 04
2
how to learn more from R
hi ,R USERS: I am a new R user. I have study some basic R syntax and get some interesting results. Now I want to know how much R can do .where can i get some examples or demo resource to study advanced function of R ? -- thank your TANG Jie Email: totangjie@gmail.com Shanghai Typhoon Institute,China [[alternative HTML version deleted]]
2010 May 29
1
how to run the R script in windows in background mode or script mode?
...ne . Now I write some R scripts to calculate some variables and I run them in C shell script command in linux.. Now my some new R scripts had to be moved in someother's computer with windows system. How to run these R scripts easily without installing many soft package? -- TANG Jie Email: totangjie@gmail.com Tel: 0086-2154896104 Shanghai Typhoon Institute,China [[alternative HTML version deleted]]
2012 Jul 03
1
how to plot the data in a map?
hi R-users: I have some data related with geographical information. I wonder how to plot some data (in contour,shaded or scatter) on a map. Could anyone tell me which package or reference or examples I can learn ? thank you . -- TANG Jie Email: totangjie@gmail.com [[alternative HTML version deleted]]
2013 Jan 22
1
how to give a lengend in symbols functions
...mbos in gtools package symbols(data1,data3,circle=data1/data3,inches=0.1,bg="lightgreen") Now I want to give a lengend to tell the reader the meaning or magnitude of these circle. How can I add these information in symbols plot just like legend in plot ? thank you . -- TANG Jie Email: totangjie@gmail.com Tel: 0086-2154896104 Shanghai Typhoon Institute,China [[alternative HTML version deleted]]
2012 Mar 07
1
how to read a file containing a series filename
...at : > pp [[1]] that is pp is just one dimension data? but when I type >pp[1] the filenames are shown. How could I read these filenames into one array and so that .I can read the data by such a command ? ddata<-scan(pp[2],what=datalist,na.strings = 999) thank you . -- TANG Jie Email: totangjie@gmail.com Tel: 0086-2154896104 Shanghai Typhoon Institute,China [[alternative HTML version deleted]]
2009 Jul 20
5
what is meaning of the bubbles in boxplots?
Hi ,everyone , I draw some boxplot figure with the command "boxplot".But in the figure,there are some bubbles at the top part of the figure. Can anyone tell me what the correct meaning of these bubbles?and how to remove it? -- TANG Jie Email: totangjie@gmail.com Tel: 0086-2154896104 Shanghai Typhoon Institute,China [[alternative HTML version deleted]]
2009 Jul 31
2
how use the subset?
...data<-scan("err.dat",what = list(mon=0,day=0,err=0,fac=0))* While I changed to *g1data<-subset(errdata, errdata$fac>12)*, there is no error message any more but it seems that *g1data* dooes be selected. who can help me to subset the dataset? thank you .:) -- TANG Jie Email: totangjie@gmail.com Tel: 0086-2154896104 Shanghai Typhoon Institute,China [[alternative HTML version deleted]]
2011 Sep 01
2
two question about plot
1) how to modify the the tickment of x-axis or y-axis. boxplot(data[,1:5]) the tickment in x-axis in V1 V2 V3 V4 V5 ,I want to be some name for example name<-c("1day","2day","3day","4day","5day") 2) how to overlap two plot into one figure? plot(data[1:5]) boxplot(newdata[,1:5]) ? -- TANG Jie [[alternative HTML version deleted]]
2009 Jul 29
1
how to initial the R script
...ntial all of the varibles and vectors at the begining part of my R script to make clear all the meanning defined in another script runned before It is just similiar with the command " close all " in Matlab or "reinit " in grads.How can I do? thank you.:) -- TANG Jie Email: totangjie@gmail.com Tel: 0086-2154896104 Shanghai Typhoon Institute,China [[alternative HTML version deleted]]
2011 Oct 25
1
how can I install the latest version of r in linux?
HI R-users I downloaded the latest version of R with the name R-latest.tar.gz from the website But when I tar the package and configure the package, some error message showed that configure: error: --with-readline=yes (default) and headers/libs are not available and I run make command: error message says; user@gateway R-2.13.2]$ make make: *** No targets specified and no makefile found.
2013 Jan 14
1
hwo to subtract a child array from the big array?
hi R users I have a data set with the name AA AA<-1:100 Now I want to get a child array from AA every 10 numbers e.g. ab =c(10,20,30,40,50,60,70,80,100) How could I subtract aa from AA? thank you . -- TANG Jie Email: totangjie@gmail.com Tel: 0086-2154896104 Shanghai Typhoon Institute,China [[alternative HTML version deleted]]
2011 Sep 01
2
how to plot a series of data in a dataframe?
hi i have a dataframe with the name "obsdata" V1 V2 V3 V4 V5 V6 V7 V8 V9 V10 V11 V12 V13 1 1001 3 24 12 24.7 44.4 70.1 49.3 33.7 3.0 6.8 2.7 NA 2 1001 3 25 0 70.1 49.3 33.7 138.2 152.5 NA 4.2 6.9 17.5 3 1001 3 25 12 33.7 187.7 286.5 386.7 NA 16.2 46.0 48.8 43.1 4 1001 3 26 0 88.6 129.4 NA NA
2011 Sep 01
3
how to get the varifying character with two variables?
hi R user mtdno<-paste("data",1:3,sep="") tyno<-paste("obs",1:5,sep="") flnm<-paste(mtdno,tyno,"_err.dat",sep="") flnm is [1] "data1obs1_err.dat" "data2obs2_err.dat" "data3obs3_err.dat" [4] "data1obs4_err.dat" "data2obs5_err.dat" but actually what i want is data from 1 to 3