search for: mystudy

Displaying 4 results from an estimated 4 matches for "mystudy".

Did you mean: mystery
2010 Jun 22
1
Labels for matplot x axis
Hi all, I've been messing with this for a while now.. myStudy is a matrix of word frequency to date of document/document. As you can see I'm trying to plot the series in the matrix. I'd like three things -- 1- In the plot that gets created the first series is a solid line, the rest are dashed... how do I make them either one or the other. 2- The leg...
2017 Jun 29
2
Creating two groups of random numbers
Hi all, I want to create two groups of random numbers to calculate proportions. The first group is to represent the number of cases in a study. The second group is to represent the sample size of the study. Apparently, the sample size is going to have to be bigger or equal to the number of cases, but the sample size of a study is not necessarily greater than the number of cases of another study.
2010 Apr 27
1
Randomization for block random clinical trials
...e code: library(blockrand) ##stratified by sex male <- blockrand(n=100, id.prefix='M', block.prefix='M',stratum='Male') female <- blockrand(n=100, id.prefix='F', block.prefix='F',stratum='Female') my.study <- rbind(male,female) my.mystudy this generates a beautiful list of randomised list perfect stratified by sex. However, i cannot figure out how i can add in additional stratification besides sex. It would be great if someone can point me to the right direction J Thanks! [[alternative HTML version deleted]]
2014 Oct 15
2
Advice on package design for handling of dots in a formula
...there. Approach #3: Require the user to first describe a separate study design object Lastly I looked at the design for the survey package. This package first requires the user to create an object that describes the key components of the dataset. So I would have the user do something like this: mystudy <- study.design(weights=~w, observationID=~ID, strata=~site, data=mydata) myresults <- doanalysis(formula=y~X1+X2+X3, design=mystudy) But it seems that the survey package is also not designed to handle the dot. data(api...