search for: zodet

Displaying 12 results from an estimated 12 matches for "zodet".

Did you mean: nodet
2007 Jun 26
1
Subscripting specified variables in a function
...r in summary(newdta$eval(expvar)) : attempt to apply non-function > The subset works fine, but the my attempt to access the specified variable bombs. Is there a syntactical change I can make? Is it better to attach newdta? Thanks in advance for any guidance. Marc Marc W. Zodet, MS Senior Health Statistician Agency for Healthcare Research and Quality Center for Financing, Access, and Cost Trends 301-427-1563 (Telephone) 301-427-1276 (Fax) marc.zodet@ahrq.hhs.gov [[alternative HTML version deleted]]
2004 Apr 14
1
Variable Descriptors
...abulate the variable var1 I'd like the output to be a bit more descriptive and contain the more descriptive question (i.e., "When was...) rather than just var1. What I'm looking for is something analogous to the label statement in SAS. Thanks for your help. Marc Marc W. Zodet, MS Health Statistician Agency for Healthcare Research and Quality Center for Financing, Access, and Cost Trends Division of Statistical Research and Methods 540 Gaither Road, Room 5058 Rockville, Maryland 20850 Phone: 301-427-1563 FAX: 301-427-1276 E-mail: <mailto:mzodet@ahr...
2006 Sep 20
1
Simulation help
...le with a slope of approximately .01. Now, what I want to do is pass this code (or some code) in such a way that I can simulate various trend slopes (i.e., pass in a loop or vectorize vs. copying/repeating code for each slope). Any guidance is much appreciated. Thanks! Marc Marc W. Zodet, MS Senior Health Statistician Agency for Healthcare Research and Quality [[alternative HTML version deleted]]
2003 May 07
2
"Program" files
...ind some advice on how I should be thinking about organizing my work differently in R compared to these other programs. Typically, I provide relatively thorough project documentation in my program files so that if someone else inherits them they can pick-up on them quickly. Thanks. Marc Marc W. Zodet, MS Health Statistician Agency for Healthcare Research and Quality Rockville, Maryland 20841 mzodet@ahrq.gov [[alternate HTML version deleted]]
2003 Apr 24
3
Detailed contingency tables
Is there any existing function for creating contingency tables that will display counts, row, column, and cell percentages in the same tables....anything similar to crosstabs in S? Marc W. Zodet, MS Health Statistician Center for Cost and Financing Studies Division of Statistical Research and Methods 2101 East Jefferson Street, Suite 500 Rockville, Maryland 20852 Phone: 301-594-7072 Fax: 301-594-2166 E-mail: mzodet@ahrq.gov <mailto:mzodet@ahrq.gov> [[alternate HTML version delet...
2010 Aug 18
1
svyquantile w/ svyby is returning an error
...> svyby(~visitcnt, ~agegrp3.f, svyquantile, quantiles=c(.25, .5, .75), ties="rounded", design=svydes) Error in object$coefficients : $ operator is invalid for atomic vectors i'm not sure what i'm missing/not understanding. any help would be much appreciated. thanks, marc zodet [[alternative HTML version deleted]]
2004 Jul 23
2
Complex Surveys...Specifying Design
...n svydesign(id = ~varpsu01, strata = ~varstr01, weight = ~perwt01f, : Clusters not nested in strata > I'm not sure what is causing this error message or how to get around it (i.e., remedy the problem). Any insight would be much appreciated. Thanks. Marc Marc W. Zodet, MS Senior Health Statistician Agency for Healthcare Research and Quality Center for Financing, Access, and Cost Trends Division of Statistical Research and Methods 540 Gaither Road, Room 5058 Rockville, Maryland 20850 Phone: 301-427-1563 FAX: 301-427-1276 E-mail: <mailto:mzo...
2003 Sep 11
2
Sorting
...he best way to sort a dataframe? For example, how would I go about sorting a dataframe (with variables V1-V5) by ascending V1, V2 and descending V3 while retaining V4 and V5. Also, is there a relatively easy way by which to re-order my columns? Thank you for your time. Marc Marc Zodet [[alternative HTML version deleted]]
2003 Sep 17
3
3D plot/surface rotation
How do I rotate 3D plots/surfaces generated by either cloud or wireframe? Thanks. Marc Marc W. Zodet, MS Health Statistician Agency for Healthcare Research and Quality [[alternative HTML version deleted]]
2003 Sep 30
1
Stepwise procedures
...one resulting from a backwards selection using PROC LOGISTIC in SAS. The final terms are slightly different and I'm trying to understand the differences between the two packages (approaches) so I can explain why the final terms might be different. Thanks for your help. Marc Marc W. Zodet, MS Health Statistician Agency for Healthcare Research and Quality E-mail: <mailto:mzodet@ahrq.gov> mzodet@ahrq.gov [[alternative HTML version deleted]]
2006 Sep 07
1
Running/submitting script files
All: Is there any way to run an R script file (i.e., *.R) from the command prompt in the console window. Ultimately, I'm looking to put such code in a script file so that it can set off other R scripts/programs as needed. Thanks. Marc [[alternative HTML version deleted]]
2011 Aug 04
1
labelling a stacked barchart (lattice)
All: Below is my code for creating a basic horizontal, stacked barchart. I'd like to label the plot in two ways: 1) place the x values in each piece and 2) place the y values above each piece (angled). I'm currently using lattice, but I'm open to suggestions using ggplot2. Questions: 1. Can this be done?...I assume yes. So, what are the best options/functions for doing this. 2.