similar to: How to plot two variables in one histogram?

Displaying 20 results from an estimated 1000 matches similar to: "How to plot two variables in one histogram?"

2001 May 20
3
No subject
I performed an aov() analysis and got the following results: Df Sum Sq Mean Sq F value Pr(>F) block 1 0.0040 0.0040 0.3282 0.5672 Residuals 269 3.2766 0.0122 Can anyone tell me how to extract the F value column and Pr(>F) column from the summary output of aov analysis? Many thanks in advance, Liqing Eco. Evol. Biol. UCIrvine
2001 Feb 16
1
Sub_scribe and a question
Dear all, I am trying to get an estimate of the intercept for a linear model. In this case, I know the slope of the model, can anyone tell me how to constrain the formula in lm() so that it only estimates the intercept not the slope? Many thanks in advance, Sincerely, Liqing Zhang Dept. of Eco. Evol. Biol. Univ. of CA, Irvine email: lzhang at uci.edu >From VM Mon Apr 30 08:18:45 2001
2000 Dec 04
1
interp equivalent
Hi I'm looking to a function in R equivalent to S-PLUS' "interp". Is there any implementation in R? If not, is there any similar interpolation function such that at the data points the interpolated values concides with the data? Thanks in advance P.J. Paulo Justiniano Ribeiro Jr Dept Maths & Stats - Fylde College Lancaster University Lancaster LA1 4YF - U.K.
2001 Apr 06
1
interpolation in matrix
How would you proceed with the following problem: I have an data frame containing a table relating raw scores on an iq test to 'decile-like' scores. data<-data.frame(age =c( 8, 9, 10, 11, 12, 13, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70), pers90=c(33, 39, 43, 47, 50, 54, 54, 52, 50, 49, 47, 46, 43, 42, 39, 37), perc75=c(27, 31, 37,
2001 Jun 08
2
How to reference R in a scientific document ?
Hi I'm writing my MSC and I've used R to do the data analysis. Now I want to make a reference to the program but I don't know how ! I thought of something like: Anonymous. 2001. R - Data Analysis Environment. Version 1.2.3. www.r-project.org Can someone help me with this ? Thanks EJ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing
2000 Apr 26
1
Writing lgrindefs
Dear all, I'm writing a lgrind definition for R. Lgrind is a program to produce pretty program listings for inclusion in LaTeX documents. Does anybody here have any experience with lgrindefs? My definition now looks like this: R:\ :pb=^\d?\p\d<-\dfunction\(\a\):\ :bb={:be=}:cb=\d#:ce=$sb=":se=\e":lb=':le=\e':id=.:\ :zb=@:ze=@:tb=%%:te=%%:mb=%\$:me=\$%:vb=%\|:ve=\|%:\
2000 Apr 26
1
Writing lgrindefs
Dear all, I'm writing a lgrind definition for R. Lgrind is a program to produce pretty program listings for inclusion in LaTeX documents. Does anybody here have any experience with lgrindefs? My definition now looks like this: R:\ :pb=^\d?\p\d<-\dfunction\(\a\):\ :bb={:be=}:cb=\d#:ce=$sb=":se=\e":lb=':le=\e':id=.:\ :zb=@:ze=@:tb=%%:te=%%:mb=%\$:me=\$%:vb=%\|:ve=\|%:\
2001 Aug 02
1
Package GSS for interpolation in more than 2D?
Dear all, There has been some time since I asked about interpolation in higher (>2) dimensions, and I must admit I failed to write a function to do this myself the last time, but eventually ended up doing it in MATLAB. I tried to translate the MATLAB code, but MATLAB code is so much more opaque than R (S) code, so I failed that too, mainly because I could only get one MATLAB session, I would
2000 May 02
16
R Documentation(s)
Dear all, I am interested by the various messages sent to the r-help mailing list these last few days about documentation on R. Yet, there are a lot of issues actually open on this topic, and it is not clear to me what is the "urgent need for documentation" on R. R comes with the 'Introduction to R' by Venables et al. I recommend the colleagues and students in my lab who are
2000 May 25
4
Needed: Understading runif() output :-)
Dear all, I have been trying to understand what runif() is telling me. I am generating lots of numbers (billions and billions (wow, I''ve dreamed about saying that for many years... :-) ), for a distribution that has the following quantile function: 1 / (2 * sqrt(1 - p)) (that is, the distribution has a lower cutoff) As you can imagine, this has rather heavy upper tail. I was
2000 Apr 05
2
My first R-program
Sorry, I pasted the wrong file in earlier... this is the correct one: pValCalculator(b, n=20, m=20) { ind <- 1:min(c(n,m)) prob <- (1-pnorm(b,sd=std*sqrt(ind))) prob1 <- sum((n-ind+1)*(m-ind+1)*prob) prob1 } inputData <- scan("/users/lvssso/projects/LAMA/output/pValLamaScore.tmp", list(block1 = "",block2 = "",width1 = 0,width2 = 0,alignment = 0,score
2000 Aug 17
2
Unix installation
I am trying to install R on a unix workstation (Sun-SPARC) but I am not sure which of the binaries to use. The only binaries available are for linux, nextstep, osf, and windows. Which one of them will work for a SUN sparc station?? Thanks. PS. I tried to compile the source code but it looks like I have a probelm with fortran. So, if I could install one of the binaries it would be a lot
2000 Jul 11
1
q() problem and more.
Hi Rers, W/o trying to make a long story short (I hope you read that correctly), I have been working on a nice little R function ... Somewhere along the line I got an error that refers to a max function in my function (I think this is a vector vs. scalar issue): Error in max(..., na.rm = na.rm) : invalid "mode" of argument If that's not bad enough, even when I q() R and say
2000 Jul 12
2
Removing Objects from workspace
Hi all, how can I remove objects from the workspace which starts with a certain pattern, e.g. lm (lm1, lm2, lm3 etc). Wildcards won?t work. Thanks, Sven -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the
2000 Nov 08
3
Strange means of numbers drawn from rpois
Dear all, I think I must be going crazy.... If I do > mean(rpois(1000000, 14)) I get: [1] 13.50420 and again: > mean(rpois(1000000, 14)) [1] 13.49896 > mean(rpois(1000000, 14)) [1] 13.50161 > mean(rpois(1000000, 15)) [1] 14.49250 > mean(rpois(1000000, 15)) [1] 14.49897 > mean(rpois(1000000, 14.5)) [1] 13.99689 > mean(rpois(1000000, 14.5)) [1] 13.9963 This was on a platform
2000 Jul 17
3
na.omit
Why is it that when a vector contains no NAs, na.omit returns an empty vector rather than the object/vector that was passed to it? >na.omit(c(1,2,3,4)) numeric(0) in contrast ... >na.omit(c(1,2,3,NA)) [1] 1 2 3 attr(,"na.action") [1] 4 attr(,"na.action")attr(,"class") [1] "omit" Thanks, Alex --------------------------- platform
2001 Apr 26
3
Installing smooth.spline command
Hello I have installed R-0.90.1 on my Linux (Redhat 6.2) machine, unfortunately I am not able to use a number of commands like e.g. smooth.spline and predict.smooth.spline. The error messages being given by is: Error: Object "smooth.spline" not found With the command library() I have checked or the libraries for the smoothing functions are there, as shown below. -------- >
2000 Sep 12
3
Editor alternative
I'm using version 1.1.1 under Windows NT and Windows 2000. I'm unable to get any editor other than Notepad to work. (I don't have use for any of the Unix editors - vi or Emacs) but would like to use EditPadPro, which has some nifty features, including the ability to spawn Rgui from within it. (No syntax highlighting programmability yet, but maybe soon). Anyway, I have
2000 Jun 24
4
ncol(hitdat)
Hi all, I am a beginner to R, so you have a right to dislike me. I have loaded up a data matrix (664 * 28) into the R environment and wish to have a pre-written program (MAXCOV-HITMAX) analyse the data. When I run the program, I get: "Error in ncol(hitdat). Argument "hitdat" is missing with no default"; I can't seem to find much info in the manuals, etc. to help me out, so
2000 Jun 08
7
R Equivalent to matlab's find() command?
hi, Just a very simple question: is there an R equivalent to the matlab command find(X) which returns the indices of vector X that store non-zero elements? e.g. > find( [1 0 0 1 0]) ans = 1 4 so, in R, how do I do: ans <- rfind( c(1,0,0,1,0)) so that ans is the vector c(1,4) thanks, stephen -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help