Hello there, How would I go about creating a function that will read a vector containing names of variables and then will output tables of proportions for all the categorical variables and summary statistics appropriate for all quantitative variables for all variables read by the function. Thank you! [[alternative HTML version deleted]]
On Dec 6, 2009, at 7:19 AM, Kristen Mark wrote:> Hello there, > > How would I go about creating a function that will read a vector > containing names of variables and then will output tables of > proportions for all the categorical variables and summary statistics > appropriate for all quantitative variables for all variables read by > the function. >This question has been asked several times in various ways in the last week. One method would be to search out the packages that have functions named "describe". -- David Winsemius, MD Heritage Laboratories West Hartford, CT
How would I verify that one variable is the summation of two other variables? Thank you! [[alternative HTML version deleted]]
Tena koe Kristen all.equal(theOneVariable, theSum) HTH Peter Alspach PS It is advisable to use a more informative subject line.> -----Original Message----- > From: r-help-bounces at r-project.org > [mailto:r-help-bounces at r-project.org] On Behalf Of Kristen Mark > Sent: Monday, 7 December 2009 11:10 a.m. > To: r-help at r-project.org > Subject: [R] help > > How would I verify that one variable is the summation of two > other variables? > > Thank you! > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >