similar to: Package blockrand version 1.1 on CRAN

Displaying 20 results from an estimated 9000 matches similar to: "Package blockrand version 1.1 on CRAN"

2006 Mar 30
0
New Package blockrand
The package blockrand is now available on CRAN. This package aids in doing block randomizations for clinical trials or other situations where subjects or experimental units arrive over time and need to be randomized one at a time. The block randomization keeps the number of subjects in each arm of the trial fairly balanced. The package also includes a plot function that creates a pdf file of
2010 Apr 27
1
Randomization for block random clinical trials
Hi, I’m new to R (just installed today) and I’m trying to figure out how to do stratified randomisation using it. My google search expedition has lead me to believe that blockrand package will most probably be the answer to it. I’ve played around with blockrand for awhile and tried the sample code: library(blockrand) ##stratified by sex male <- blockrand(n=100,
2011 Jun 02
1
Paid R Help
Hello R people, I am looking to pay someone to help write some R code. Inputs: Study identifier: ID Number for the study, each ID number is for one study only each block set should only be used for that study. This will require that you store the results from the blocks someplace on the file system. Trait #1: dichotomous rural / urban Trait #2: dichotomous sick / healthy Assignment Ratio:
2009 Mar 03
0
SAS Macros for R Users Only
I think SAS Macros has capability to call R, and execute it without it being in the picture anywhere. So you can use SAS Macros in a file called R.sas In this you can create a macro called %Describe that can call R , load Hmisc ,run the describe function Note you will need repeated use of %put in this %describe for the mapping to take place Use %INCLUDE to include that file in all SAS
2007 Dec 13
1
Minor documentation bug in R-exts (PR#10515)
This is a minor documentation bug. In the document: Writing R Extensions (R-exts) section 1.6.5 (Summary -- converting an existing package) the 3rd bullet is missing the end of the sentence. Thanks, --please do not edit the information below-- Version: platform =3D i386-pc-mingw32 arch =3D i386 os =3D mingw32 system =3D i386, mingw32 status =3D=20 major =3D 2 minor =3D 6.1 year =3D
2008 Mar 26
0
Update of TeachingDemos package
This is to announce that versio 2.0 of the TeachingDemos package is now on CRAN (and hopefully soon to a mirror near you). This is a major upgrade of the package, some of the improvements include: The package now uses an NAMESPACE so it is easier to load just the parts that you need. Some of the GUI demonstrations now use tkrplot so that the graph is in the same window as the controls (there
2008 Mar 26
0
Update of TeachingDemos package
This is to announce that versio 2.0 of the TeachingDemos package is now on CRAN (and hopefully soon to a mirror near you). This is a major upgrade of the package, some of the improvements include: The package now uses an NAMESPACE so it is easier to load just the parts that you need. Some of the GUI demonstrations now use tkrplot so that the graph is in the same window as the controls (there
2008 Jun 09
1
Systemfit (was RE: How to force two regression coefficients to be equal but opposite in sign?)
Thank you, Greg, and also to Scott Ellison, who replied privately. I am in the process of trying out both suggestions. After I sent my initial message, I came across the Systemfit package, which allows specification of constraints on parameters. In theory, this should solve my problem perfectly. However, I was not able to get it to work with my data, as every attempt yielded the following
2009 Feb 25
0
RE : multiple regressions on columns
Hi David: If your variables are in a dataframe called DF and the dependent variable is in the first column , you can do below but you probably are well aware of this anyway. lmresults<-lapply(names(DF[,-1],function(.name) { lm(DF[,1] ~ DF[,.name], data=DF) }) This will run through each of the variables in the dataframe and regress the first column on each variable individually. On
2008 Feb 22
1
Clipping using par(plt=..., xpd=FALSE) inconsistencies
Here is a demonstration of behaviour that is probably an optimization by someone far smarter than me that did not anticipate anyone wanting to do this, but for my purposes it looks more like a bug than a feature. I have tested this with R2.6.2 on Windows, no additional packages loaded (beyond the default), I have tested using the default graphics object, pdf, jpeg, and cairoDevice (ok I loaded a
2010 Dec 09
2
RES: Barplot with "Independent" Lines Y axis
Oh sorry. An example say lots more than words. The data below, when submitted to twoord.plot return the mentioned error. Rain are bars and Salt lines, the bars appear and the error occurs with the salt data. Point Rain Salt Fev/03 365.6 13 Mar/03 235 18 Abr/03 115.1 18 Mai/03 47.4 18.75 Jun/03 112 15 Jul/03 156.8 17 Ago/03 66.1 15 Set/03 149.8 14 Out/03 167,1 11.5 Nov/03 269.3 17.5 Dez/03 283.7
2008 Oct 22
2
Change background color in script window in Windows Rgui
Does anyone know how to change the background color of the script window(s) in Rgui on Windows? I can use the "Gui Preferences" menu item under the Edit menu has an option that lets you change the background color for the console window and any help/info windows that pop up, but the script window(s) still have the white background. Am I missing a setting somewhere? Is this a missing
2010 Jan 29
5
random permuted block randomization
Hi, I am very new to R. Just started yesterday. I have to generate a sequence of 40 random treatments using permuted block randomization with a block size of 8. Then I have to plot moving averages for the resulting sequence. I have tried the sample function but I dont know if wht i did is right or not > sample(c(1,1,1,1,2,2,2,2),8) Any ideas please? -- Ayesha Khan MS Bioinformatics Dept. of
2011 Apr 04
1
Use keep.source for function in package with lazy loading
I have a function in one of my packages that I would like to print using the original source rather than the deparse of the function. The package uses lazy loading and the help page for library (under keep.source) says that keep.source does not apply to packages that use lazy loading and that whether those functions keep the source depends on when they are installed. This package is on R-forge
2008 Oct 28
2
writting null (\000 or ^@) to an external text file without the new warning
I have some functions that write an external text file for postprocessing by another program. Some instructions to the other program need to be indicated by null values (\000 or ^@). The function currently uses code like: writeChar(rawToChar(as.raw(0)), con) where con is a connection to the file. Previous to version 2.8.0 this worked fine. With 2.8.0 it still works, but I get a warning
2011 Feb 07
2
Unbalanced Mixed Linear Models With Nested Stratum
Hi folks, I have a dataset from a trial measuring the subjects' pupils. There are many measurements, all of which must be analysed in a similar fashion; so if I get the analysis right for one of them, I've got them all. For simplicity, let us call any measurement we may be interested as "response". The study design is an unbalanced latin square, with 5 periods, 5 treatments and
2010 Apr 27
1
Should mcnemar.test use as.factor instead of factor
I am working with the mcnemar.test function and the help does not show a maintainer/author, but it is part of the stats package. My issue is that I want to use the test on 2 variables with possible values of 0:3, in one of the tests one of the variables does not have any 3's, so to make sure that the matrix is square I do: > x <- factor(x, levels=0:3) > y <- factor(y, levels=0:3)
2010 Feb 10
1
R crashes when setWinProgressBar is give a numeric value for label argument
This problem can be seen by the following commands: > pb <- winProgressBar(max=1000, label='0') > b <- 1 > setWinProgressBar(pb, b, label=b) This set of commands (on windows of course, XP in this case) causes R to crash. This is not strictly a bug since the documentation states that the label argument should be a character string and using as.character(b) does work
2007 Dec 26
2
Reminiscing on 20 years using S
I realized earlier this year (2007) that it was in 1987 that I first started using an early version of S (it was ported to VMS and was called success). That means that I have been using some variant of S (to various degrees) for over 20 years now (I don't feel that old). Since things are a bit slow this time of year I thought I would take a few minutes and reminisce on some of the changes
2009 Jul 29
1
Add a line in a Pairs2 and mark the axis length
Hi, I have finally installed TeachingDemos trough zip file and installed on lbrary. One new question: I want to draw a line (like abline) on diagonal or the result of running a ols. How can I do it. On the other hand, I want to mark the length on each sub plot y axis. It is possible? My function is sca<-function(){ z2<-read.table("Ase.txt",header=T)