similar to: Write function multiple tests and write summary table

Displaying 20 results from an estimated 2000 matches similar to: "Write function multiple tests and write summary table"

2008 Jul 23
6
par() function does not work
Dear R-nautes, I installed the 2.7.1 version of R and found it is not possible to modify graphical parameters with par(). for example; > par(mfrow=c(2,2)) Error in c(2, 2) : unused argument(s) (2) > par$mfrow NULL Does any one know what is the cause of this problem? Regards, Fabio -- Fabio Sánchez, MD, MSc, PhD Unit of Dermatology and Venereology Department of Medicine Karolinska
2006 Oct 19
1
Writing a script for multiplying a progressively larger lists of items
Hi, I would like to get guidance as to how to write code in R that can deal with the following situation: v1 is a vector containing a sequence of numbers (Ex. 1:10) I want to store the sequence of numbers resulting from multiplying the first and the second element in the vector, then the product of the 1st, 2nd and 3rd, then 1st,2nd,3rd and 4th and so forth until all the elements in the
2007 Mar 20
0
Multiple testing and Logistic regression in case control studies
Dear Rs, Is it appropriate to include several phenotypes (binary outcome variables in genetic analysis) in a logistic regression model that explores the effect of a few genotypes (factors)? If so, wouldn't there be an issue with multiple testing? Thanks for your opinions, -- Fabio Sánchez, MD, MSc, PhD Unit of Dermatology and Venereology Department of Medicine Karolinska Institute SE-17176
2006 Jun 16
1
R in ConTeXt
In case there are users of the TeX macro package ConTeXt on this list, they may be interested to know that it is now possible to include R code in a ConTeXt document and have the code evaluated while compiling. The inverse of Sweave, as it were. The advantage is that there is then only one file to keep track of (.tex vs .rnw and .tex), while a drawback is speed, since each code snippet is
2007 May 30
2
matrix in data.frame
Dear list! I have run into a problem that seems very simple but I can't find any solution to it (have searched the internet, help-files and "An introduction to R" etc without any luck). The problem is the following: I would like to create a data.frame with two components (columns), the first component being a matrix and the second component a vector. Whatever I have tried so far, I
2006 Jul 21
4
Autocompleting InPlaceEditor
Hi, I''ve created some extensions to script.aculo.us InPlaceEditor, allowing the use of either server-driven, or local autocompletion. I''ve also created new helper methods in Rails for this functionality. My question is, is there any interest that I package this and make it available as a plugin, or something like that? Regards -- Ola Bini (http://ola-bini.blogspot.com)
2006 Jul 14
8
CAS Authentication filter.
Hi CAS is a centralized authentication service, and the cas_auth filter can be installed to automatically make your web application authenticate against a CAS server. The SVN path to the plugin is http://svn.ki.se/rails/plugins/cas_auth and a homepage with some information can be found at http://opensource.ki.se/casauth.html For use, just install the plugin in your application and set
2006 Jul 14
2
Configuration search order
Hi I''m in the process of deciding how a plugin should be designed to make configuration as easy as possible. Right now I require the plugin from init.rb, and set some configuration options (as class attribute accessors) from environment.rb. Then I tried setting these from environments/development.rb instead, and to my surprise this didn''t work. It said the class in question
2006 Jul 22
1
InPlaceEditor with Autocompletion
Hi Rails AJAX controls are very handy, and the InPlaceEditor is probably one of the easiest and most neat of them all. But, it doesn''t do autocompletion. I''ve rectified that situation. The plugin provides a few new helpers and a new JavaScript-file that extends the Ajax.InPlaceEditor with local and remote Autocompletion features. So, just install the plugin, include the
2008 Jul 21
1
dev2bitmap error, 'gs' cannot be found
Dear List, I am using the bioconductor package Category to do some gene enrichment analysis, and usually save my KEGGmnplot's using a dev2bitmap command. This has worked just fine, until suddenly earlier today I got this error-message: > dev2bitmap("04610_080721.jpg",type="jpeg", height = 10, width = 10, res = 200) Error in dev2bitmap("04610_CSF080721.jpg",
2006 Feb 08
2
Reference for R
Hello! Could anyone please tell me how should I include R in a text section for References? Regards, Sara Mouro [[alternative HTML version deleted]]
2005 Oct 11
2
Two factor (or more) non-parametric comparison of means
Can anyone suggest a good non-parametric test, and an R implementation of the test, that allows for two or more factors? Wilcoxon signed rank allows for only one. Thanks, John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC University of Maryland School of Medicine Division of
2006 Aug 03
3
Swedish Rails
I would like to announce my plugin Swedish Rails. Rails provide many goodies and helpers for you, but some of these are dependant on your user interface being in english. Date controls, for example. Pluralization is another. And have you ever tried to capitalize a string with Swedish letters in them? Then you know it doesn''t work that well. Until now, that is. You install this
2005 Oct 04
2
Problem with Matrix package
Hello All, While trying to install Matrix package following error message came out: /usr/bin/ld: cannot find -lblas-3 collect2: ld returned 1 exit status make: *** [Matrix.so] Error 1 ERROR: compilation failed for package 'Matrix' ** Removing '/usr/lib/R/library/Matrix' ** Restoring previous '/usr/lib/R/library/Matrix' It seems that someting is missing. Have anybody
2006 Nov 19
2
improving barplot output
Hello, I was hoping for some advice on improving a barplot. Below is the syntax I have used. I wanted to do two things differently How would I alter the syntax so that (a) the y-axis finishes at 25 and not 20, and (b) 'past ideation' and 'pastwk ideation' are coloured blue and 'past attempt' & 'past wk attempt' are coloured red ? I was also curious as to
2006 Feb 01
1
R CMD check barfs at 'suggested' package
I have been running R CMD check for the first time on of our own packages, which otherwise builds, installs and runs just fine. The package depends on package akima and suggests package multtest; suggesting multtest is indicated because a) it loads a lot of other Bioconductor packages, very slowly, and b) it is only needed for one specific subroutine, which executes require(multtest)
2006 Aug 06
6
Having Problem w/ Agile Web Development book
I get this error ... NoMethodError in StoreController#index undefined method `salable_items'' for Product:Class and here is my store_controller.rb ... class StoreController < ApplicationController def index @products = Product.salable_items end def self.salable_items find(:all, :conditions => "date_available <= now()", :order => "date_available
2006 Jul 14
4
sending additional parameters to before_filter
i am trying to create a system so that different users have different priviliges on my application. i was going to modify my authorize function so that i could pass the required role to it and have it check the current user for that role. i am using before_filter and would like to have just one function instead of writing one for each role like so: authorize(role) instead of:
2006 Nov 21
1
strange R GUI crash
Hi all, I know I shouldn't really expect the following to work, but it provokes a crash of the GUI on my computer (Win xp professional). --- >sessionInfo() Version 2.3.1 (2006-06-01) i386-pc-mingw32 attached base packages: [1] "methods" "stats" "graphics" "grDevices" "utils" "datasets" [7] "base"
2006 Oct 01
3
aggregate function with 'NA'
Dear r-help reader, I have some problems with the aggregate function. My datframe looks like >frame Day Time V1 V2 1 M 0 3 NA 2 M 0 4 NA 3 M 0 5 2 4 M 1 NA 4 5 M 1 10 6 6 T 0 4 45 7 T 1 4 3 8 T 1 3 2 9 T 1 6 1 I used the aggegate function to obtain the mean in V1 and V2 over the grouping variable Time and Day