[R] Displaying of Results

2010-08-18 Thread r.ookie
I apologize if this posting shows up again, for some reason I wasn't able to post from a different account. So, here I am (reborn). Could I have some suggestions as to how I can display my results and their respective CIs in an aesthetically pleasing manner? Below is the example code. rm(list

Re: [R] csv vs. data frame

2010-08-19 Thread r.ookie
I agree with you Duncan because I sense the hostility too, but, in any environment, there are going to be those who 'don't play well with others.' I just delete and read the next posting. I'm personally here to learn :) On Aug 19, 2010, at 1:42 PM, Duncan Murdoch wrote: On 19/08/2010 4:15 PM,

[R] Aspect Ratio

2010-08-19 Thread r.ookie
set.seed(1) x - rnorm(n = 1000, mean = 0, sd = 1) plot(x = x, asp = 2000) Could someone please explain what the 'asp' parameter is doing? __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] Aspect Ratio

2010-08-19 Thread r.ookie
:24 PM, David Winsemius wrote: On Aug 19, 2010, at 5:13 PM, r.ookie wrote: set.seed(1) x - rnorm(n = 1000, mean = 0, sd = 1) plot(x = x, asp = 2000) Could someone please explain what the 'asp' parameter is doing? You want us to read the help page to you? -- David Winsemius, MD West

Re: [R] Aspect Ratio

2010-08-19 Thread r.ookie
I'm asking to get people's interpretation and also whether they've encountered situations where it was useful, helpful, etc. On Aug 19, 2010, at 2:36 PM, David Winsemius wrote: On Aug 19, 2010, at 5:28 PM, r.ookie wrote: Well, I had to look further into the documentation to see 'If asp

Re: [R] Aspect Ratio

2010-08-19 Thread r.ookie
looking at these two plots answer the question? Spencer Graves On 8/19/2010 2:36 PM, David Winsemius wrote: On Aug 19, 2010, at 5:28 PM, r.ookie wrote: Well, I had to look further into the documentation to see 'If asp is a finite positive value then the window is set up so that one data

Re: [R] Aspect Ratio

2010-08-19 Thread r.ookie
I understand Joshua, it's a way to display the plotted data in a graph. I've been using 'ylim = c()' and 'xlim = c()' so far but it's nice to be aware of 'asp' too. On Aug 19, 2010, at 2:58 PM, Joshua Wiley wrote: On Thu, Aug 19, 2010 at 2:46 PM, r.ookie r.oo...@live.com wrote: I'm asking

Re: [R] Aspect Ratio

2010-08-19 Thread r.ookie
2:36 PM, David Winsemius wrote: On Aug 19, 2010, at 5:28 PM, r.ookie wrote: Well, I had to look further into the documentation to see 'If asp is a finite positive value then the window is set up so that one data unit in the x direction is equal in length to asp * one data unit in the y

Re: [R] Aspect Ratio

2010-08-19 Thread r.ookie
Thanks for your example as well. Ted's example was exactly what I needed. On Aug 19, 2010, at 3:18 PM, Gavin Simpson wrote: On Thu, 2010-08-19 at 14:28 -0700, r.ookie wrote: Well, I had to look further into the documentation to see 'If asp is a finite positive value then the window is set up

Re: [R] csv vs. data frame

2010-08-19 Thread r.ookie
want to just ignore it. On Aug 19, 2010, at 3:11 PM, Gavin Simpson wrote: On Thu, 2010-08-19 at 14:02 -0700, r.ookie wrote: I agree with you Duncan because I sense the hostility too, but, in any environment, there are going to be those who 'don't play well with others.' I just delete and read

Re: [R] Aspect Ratio

2010-08-19 Thread r.ookie
reader can be traced line by line in any number of different examples until sufficient enlightenment is achieved. Best Wishes, Spencer Graves On 8/19/2010 3:38 PM, r.ookie wrote: Thanks for your example as well. Ted's example was exactly what I needed. On Aug 19, 2010, at 3:18 PM

Re: [R] which one give clear picture-pdf, jpg or tiff?

2010-08-20 Thread r.ookie
From my experience, *.pdf is the best of the three file formats. On Aug 19, 2010, at 8:32 PM, Roslina Zakaria wrote: Hi, I need some opinion. I would like to use graph that I generate from R code and save it into word document. Which format is better? pdf, jpeg or tiff? Thank you.

Re: [R] Has anyone used Sweave with the Beamer poster macro for Latex ?

2010-08-20 Thread r.ookie
Good to be aware of this, thanks for mentioning it! On Aug 20, 2010, at 12:58 PM, Paul wrote: Hello, I'm trying to make a poster in Latex using the beamer poster macro (http://www-i6.informatik.rwth-aachen.de/~dreuw/latexbeamerposter.php), and use Sweave to add in R output. This works fine

Re: [R] question

2010-08-20 Thread r.ookie
I'm not sure I understand exactly what you're asking but look at the truncated normal distribution. On Aug 20, 2010, at 5:13 PM, solafah bh wrote: Hello I want to know how can i sampling from upper and lower tail of normal distribution , in two cases , if i know the upper and lower bounds of

Re: [R] R reports

2010-08-21 Thread r.ookie
Yeah but, in considering Revolution, they do not offer a Mac version. Their Mac version (community version) is just an older version of R---?? What was that about? Their support is patchy and personally I would avoid them like the plague (for other reasons not mentioned). I would however

Re: [R] R reports

2010-08-21 Thread r.ookie
Sweave/LaTeX is really not as bad as you think. I started using it and I'm generating reports without a glitch. I'd consider giving it an honest effort. On Aug 20, 2010, at 10:01 PM, Donald Paul Winston wrote: Sweave and LaTex is way to much overhead to deal with. There should be a built in

Re: [R] R reports

2010-08-21 Thread r.ookie
I agree, instead of burning this guy, why not convert him? He may forever resent R because of the hostility he's experienced here. Some people have had negative comments towards me simply because I've asked an obvious question but it has not affected me whatsoever. However, the negativity

Re: [R] graphing plots of plots

2010-08-21 Thread r.ookie
I'm trying to understand your question because when I think of a graph, I think of one canvas, on which, various functions are plotted (a function can be one point for example). So, when you say each 'element' do you mean each function? If so, then that seems to be asking how to plot a function

Re: [R] graphing plots of plots

2010-08-21 Thread r.ookie
I'm glad he asked that question, I found Barry's and your suggestion useful for myself. Thanks! (R surprises me every day). On Aug 21, 2010, at 1:12 PM, RICHARD M. HEIBERGER wrote: The question isn't completely clear. I am guessing you want something like Figure 1.7 or Figure 7.18 in Paul

[R] cbind

2010-08-21 Thread r.ookie
Is there a way to rename the columns to something like A and B in the cbind function? x - rnorm(n = 10, mean = 0, sd = 1) y - rnorm(n = 10, mean = 0, sd = 1) cbind(x,y) __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] cbind

2010-08-21 Thread r.ookie
Thanks. On Aug 21, 2010, at 4:01 PM, RICHARD M. HEIBERGER wrote: cbind(A=x, B=y) On Sat, Aug 21, 2010 at 6:53 PM, r.ookie r.oo...@live.com wrote: Is there a way to rename the columns to something like A and B in the cbind function? x - rnorm(n = 10, mean = 0, sd = 1) y - rnorm(n = 10, mean

Re: [R] multiple assignments ?

2010-08-24 Thread r.ookie
Do you mean something like this? n - 5 (vec1 - matrix(rep(1, n))) [,1] [1,]1 [2,]1 [3,]1 [4,]1 [5,]1 (vec2 - matrix(rep(2, n))) [,1] [1,]2 [2,]2 [3,]2 [4,]2 [5,]2 (vec3 - matrix(rep(3, n))) [,1] [1,]3 [2,]3 [3,]3 [4,]

Re: [R] How to obtain seed after generating random number?

2010-08-24 Thread r.ookie
I have wondered this in the past too so thanks for the question. On Aug 24, 2010, at 10:11 AM, Bogaso Christofer wrote: Dear all, I was doing an experiment to disprove some theory therefore performing lot of random simulation. Goal is to show the audience that although something has very rare

Re: [R] How to obtain seed after generating random number?

2010-08-24 Thread r.ookie
1644829386 1412664364 -3288017 -689767195 792688028 -702547982 -676502931 402532263 ... Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of r.ookie Sent: Tuesday, August 24, 2010 11

[R] Sweave.sty

2010-08-24 Thread r.ookie
Does anyone know where I can download the latest version of Sweave.sty? I have looked all over the site http://www.stat.umn.edu/~charlie/Sweave/ with no luck. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] Sweave.sty

2010-08-24 Thread r.ookie
That is great Liviu, thanks for letting me know. My LaTeX documents have been looking like this, however I have been doing all the cosmetics through LaTeX. Thanks for letting me know about this! On Aug 24, 2010, at 2:34 PM, Liviu Andronic wrote: On Tue, Aug 24, 2010 at 10:40 PM, r.ookie r.oo

[R] Customized Sweavel Style File

2010-08-24 Thread r.ookie
Liviu, thanks again for the suggestion. Do you have a customized style file that you wouldn't mind sharing? I like the default output but I'm curious about others. Thanks! __ R-help@r-project.org mailing list