similar to: rotate texts

Displaying 20 results from an estimated 5000 matches similar to: "rotate texts"

2010 Mar 24
2
splitting word
Hi all, Could someone tell me how to split a word. c("AA") to c("A","A") Thanks! Phoebe [[alternative HTML version deleted]]
2009 May 01
3
factor level
Hi All, I have problem about the factor features. I read in a .cvs file, a column which is supposed to be numeric, but it becomes factor level data after reading in. mydata[,"newXaxis"] [1] 0 0.430010601 11.23198508 25.00940297 37.75338045 45.98289639 [7] 48.92328133 52.51142822 61.12359751 63.85832121 70.98927949 77.16550181 [13] 97.73545713 113.6588007 118.6588007
2010 Aug 03
1
concatenate values in the vector
Hi all, Is there a function that allow me to concatenate each value in a vector to a string? x<-c("a","b","c","d") output string = a+b+c+d Thanks, phoebe [[alternative HTML version deleted]]
2009 Nov 09
1
categorization
Hi All, I have a dataset with a column named "Condition", Sample Condition 1 c20 2 c20 3 c10 4 c10 5 c9 6 c9 7 c5 8 c5 9 c20 10 c10 Could you let me know the fastest way to change c20->"AA", c20->"BB", c9->"CC", c5->"DD"
2010 Oct 19
3
scatter.smooth() fitted by loess
Hi there, I would like to draw a scatter plot and fit a smooth line by loess. Below is the data. However, the curve line started from 0, which my "resid" list doesn't consist of 0 value. It returned some warnings which I don't know if this is the reason affecting such problem. Here I also attached the warning messages. Please let me know if there is a solution to fix this. Thank
2008 Oct 01
2
Looking for position of character in a string
Hi all, I would like to check if a string contains "." in it. If yes, I would like to know the position of "." in the string. Eg: X<-"NM1236.3" In above example, "." is at position 7. I tried functions grep() and match(). It seems they couldn't detect ".". Thanks in advance for your help, Sityee [[alternative HTML version deleted]]
2009 Feb 09
2
summary statistics
Hi all, I'm wondering if there is a function that can return summary statistics: N=total number of observation, # missing, mean, median, range, standard deviation. As I know, summary() returns some of info I've mentioned above. Thanks, SY [[alternative HTML version deleted]]
2010 Dec 01
2
draw categorical histogram
Hi, Can someone tell me how to draw a histogram for the following summary? Richard Minnie Albert Helen Joe Kingston 12 33 56 67 15 66 The summary tell that Richard has occurrence 12, Minnie has occurrence 33, and so on. I would like to view this summary in a histogram. I want the X-axis be the person name (Richard, Minnie, ....), Y-axis be the
2008 Oct 20
1
par(mfrow=c(2,4))
Hi All, I'm going to draw 8 plots in one page. I want the plots to be arranged in two rows, each row has 4 plots. So, I set the it par(mfrow=c(2,4)). However, there might be too many plots in a page, all the 8 plots were drawn in triangular shape, which makes the x-y coordinate scale not in same length, the x-axis length is much shorter than the y-axis length. Could anybody let me know how
2009 Nov 24
1
11 distinguishable colors
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20091124/10d1a443/attachment-0001.pl>
2008 Jul 09
2
Read.table - Less rows than original data
Dear all, I have problem when reading a table into R. The total row of read in table has is much less than the original saved table. I built a 1,273,230 by 6 data set named "mydata2", it was saved in the following command, write.table(mydata2, "mydata2.txt", row.name=F,col.name=T,quote=F,sep="\t") The next day I read in above saved text file into R,
2010 Apr 16
1
PCA scores
Hi all, I have a difficulty to calculate the PCA scores. The PCA scores I calculated doesn't match with the scores generated by R, mypca<-princomp(mymatrix, cor=T) myscore<-as.matrix(mymatrix)%*%as.matrix(mypca$loadings) Does anybody know how the mypca$scores were calculated? Is my formula not correct? Thanks a lot! Phoebe [[alternative HTML version deleted]]
2010 May 05
1
ordering data frame
Hi all, I have problem in ordering data frame. Could anyone help me? > x [,1] [,2] [,3] [1,] "A" "1" "2" [2,] "G" "3" "2" [3,] "E" "2" "3" > y [,1] [,2] [,3] [1,] "G" "3" "3" [2,] "A" "3" "3" [3,] "E"
2010 Apr 29
2
Rotating Titles
Hi All, I am looking for help in rotating species titles produced using the strat.plot( ) function in the rioja package. This function produces a stratigraphic plot of paleoenvironmental data. Currently the titles of each species are plotted vertically while they are typically plotted at a 45 degree angle in other programs. Does anyone have any idea of how to rotates these titles? Below is an
2006 Jun 09
1
Rotate values on Y axis
Hi, I have been working through one of the examples on the FAQ about rotating the labels on the x axis, I need to do the same but for the y axis. I have managed to change some of the code, but I am still not getting there, there is still something wrong. My syntax is as follows: > par(mar = c(5, 7, 4, 2) + 0.1) > plot(1 : 8, yaxt = "n", ylab = "") > axis(2,
2009 Feb 17
2
matrix output
Hi friends, I have questions about printing a pretty big size matrix. As you could see from below, the matrix wasn't showed in R at full size (11X11), but it was cut partly into three smaller matrices (11X4,11X4,11X3). I'm wondering if there is a way to show the whole matrix with dimension 11X11, do you know how to make it? If R really couldn't fit the full big matrix at once, what
2011 Aug 24
2
Boxplot orders
Hi there, I have length data of an organism over the year and I want to make a boxplot. I get the boxplot just fine but the months are all out of order. In the data set they are in order from Jan-Dec...how can I fix this problem? Thanks so much in advance!! Phoebe [[alternative HTML version deleted]]
2009 Nov 25
1
draw circle on PCA plot
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20091125/bf6c327e/attachment-0001.pl>
2009 Feb 11
2
bar plot/ histogram
Hi all, I would like to construct plot of the distribution of N, where N range from 1 to 10. I couldn't just use the hist(), as I want the categories for the bars are: 1, 2, 3, 4, >=5. So this will be a bar plot with 5 bars, and the height of the bar will be the frequency of N. (eg bar#1 will be the frequency of N=1, bar #2 will be frequency of N=2, and bar#5 will be the frequency of
2018 Sep 14
2
Poor documentation for "adj" and text()
Hello Core Team, I sent this patch over a year ago. It looks like it was sent in response to another user's complaint which echoed some of my own observations about problems in the documentation for 'text'. Did anyone have a chance to look it over? I'd like to get it out of my queue. Thanks, Frederick On Tue, Apr 11, 2017 at 12:01:05PM -0700, frederik at ofb.net wrote: >