similar to: problem with if else statement

Displaying 20 results from an estimated 200 matches similar to: "problem with if else statement"

2007 Jun 08
2
overplots - fixing scientific vs normal notation in output
Moving from S-plus to R I encountered many great features and a much more stable system. Currently, I am left with 2 problems that are handled differently: 1) I did lots of "overplots" in S-Plus using par(new=T,xaxs='d',yaxs='d') to fix the axes ->What is the workaround in R ? 2) In S-Plus I could fix "scientific notation" or "normal notation" in
2009 Aug 18
4
Transpose a dataset
Hi Everyone, I have a dataset like this mean sd 0% 25% 50% 75% 100% n BODY TEMPERATURE 36.41099 0.4015699 35.1 36.22222 36.5 36.66667 37.1 89 DIASTOLIC BLOOD PRESSURE 73.60079 9.4656186 50.0 67.00000 73.0 80.00000 95.0 253 HEIGHT 171.94000 9.2011670 153.5 166.50000 173.0 176.25000 190.0
2010 May 13
1
What's data() for?
Hi there, >library(faraway) >pima pregnant glucose diastolic triceps insulin bmi diabetes age test 1 6 148 72 35 0 33.6 0.627 50 1 2 1 85 66 29 0 26.6 0.351 31 0 >data(pima) >pima pregnant glucose diastolic triceps insulin bmi diabetes age test 1 6 148 72 35 0 33.6
2009 Dec 01
1
An R vs. SAS Discrepancy: How do I determine which is correct?
I was messing around with some data in R and SAS (the reason is unimportant) fitting a multiple linear regression and got a curious discrepancy. The data set is too big to post, but if someone wants it, I can send it. So, here are the (partial) results: From R: Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 61.11434 1.48065 41.275 < 2e-16 *** sexWomen
2016 Mar 11
7
Any objections to re-sorting #include lines with clang-format/clang-tidy?
The crazy clang-format folks have taught it to sort includes, and clang-tidy has a nice way to run it across all of LLVM and Clang. Before I just submit the fixes (and any bug reports to the clang-format folks if it sorts things weirdly) I wanted to double check that folks would be ok with this. My understanding is that the sorting should match the LLVM conventions, but if not, I'll make sure
2008 Aug 19
2
how to import from SPSS without shortening variable names
Hello, as I import '.sav' files from SPSS, the variable names are shortened to 8 uppercase characters: "sex_of_therapist" will become "SEX_OF_TH" Is there a way around this? How can I retrieve the full names? Greets from Southern Germany, Timo Stolz
2003 Aug 21
3
Diamond graphs
I apologise for starting a new thread, but we had a mail problem and I don't have the original message to refer to. Someone mentioned the new "Diamond Graphs" invented at Johns Hopkins. I haven't see the August 2003 issue of The American Statistician yet, but I _have_ read the press release. The press release is a bit of a stunner. I quote: "Who would have thought we
2003 Sep 25
1
Diamond graphs, again.
Some time ago I was allowed to discuss "Diamond Graphs", and whether they would be useful in R, in this mailing list. The August 2003 issue of The American Statistician has finally arrived here and I have been able to read the article. A number of points of interest arise. 1. The article is "A Diamond-Shaped Equiponderant Graphical Display of the Effects of Two
2009 Mar 11
1
regsubsets() [leaps package] - please share some good examples of use
Hello dear R-help members, I recently became interested in using biglm with leaps, and found myself somewhat confused as to how to use the two together, in different settings. I couldn't find any example codes for the leaps() package (except for in the help file, and the examples there are not as rich as they could be). That is why I turn to you in case you could share some good tips and
2008 Sep 24
1
possible interesting R projects for undergrads
Dear R People: I finally (Yay!) got R installed in a classroom! Anyhow, I have a respectful request, please: could anyone recommend some nice undergrad projects in R, please? This is in a statistical computation class; first time being run. Thanks, Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto:
2012 Oct 15
1
performance analytics
hi Michael, am sorry for the incomplete reply . csv file data havinmg like this , >getSymbols("IBM") >weekly_data = to.weekly(week_name) >dataframe=data.frame(weekly_data) >outputfile_name="F:\\R-programs\\Outputfile.csv" >write.table(dataframe, file =outputfile_name,sep = ",",col.names =TRUE,row.names = T) > datafrom_table <-
2010 May 31
1
Post-hoc tests for repeated measures in balanced experimental design
Hi, I am performing experiments in the field of visual perception where we often apply balanced designs. Within a group of normal subjects, we vary different stimulus conditions (like contrast, luminance, temporal frequency of stimulation) and derive some psychophysical or electrophysiological results from our subjects. Often, the main question is to test the effect of these parameters
2012 Sep 03
2
boxplot - bclust
Hello everybody, I have a problem with the commando of boxplot -bclust. http://127.0.0.1:13155/library/e1071/html/boxplot.bclust.html > data(iris) > bc1 <- bclust(iris[,1:4], 3, base.centers=5) Committee Member: 1(1) 2(1) 3(1) 4(1) 5(1) 6(1) 7(1) 8(1) 9(1) 10(1) Computing Hierarchical Clustering > boxplot(bc1) Warnmeldungen: 1: In if (x$datamean) { : Bedingung hat Länge > 1 und
2015 Aug 06
4
Asterisk uses "Anonymous", but why?
On Thu, Aug 6, 2015 at 11:56 AM, Murthy Gandikota <murthy64 at hotmail.com> wrote: > Tested with X-Lite and it worked fiine. Is there some way to replace > "Anonymous" with a config parameter? > > Thanks for your kind help > > ---------------------------------------- > > From: murthy64 at hotmail.com > > To: asterisk-users at lists.digium.com >
2006 Oct 11
1
Question about error of "non-numeric argument to binary operator"
Hi, I have the following data and there is no binary operator contained, however, I still receive the error message when running unitrootTest function, could someone give me a guidance on it?? >readClipboard() [1] "245" "246" "261.5" "275.5" "307" "284.5" "289" "313.5" "323.75"
2015 Aug 06
3
Asterisk uses "Anonymous", but why?
On Thu, Aug 6, 2015 at 12:33 PM, Murthy Gandikota <murthy64 at hotmail.com> wrote: > > > ________________________________ > > Date: Thu, 6 Aug 2015 12:07:35 -0500 > > From: rmudgett at digium.com > > To: asterisk-users at lists.digium.com > > Subject: Re: [asterisk-users] Asterisk uses "Anonymous", but why? > <snip> > >> Here
2008 Jun 13
4
Sweave: looping over mixed R/LaTeX code
Dear guRus, I would like to loop over a medium amount of Sweave code, including both R and LaTeX chunks. Is there any way to do so? As an illustration, can I create a .tex file like this using a loop within a .Rnw file, where the "1,2,3" comes from some iteration variable in R? ################################################ \documentclass{article} \usepackage{Sweave} \begin{document}
2008 Apr 03
3
summary(object, test=c("Roy", "Wilks", "Pillai", ....) AND ellipse(object, center=....)
Dear All, I would be very appreciative of your help with the following 1). I am running multivariate multiple regression through the manova() function (kindly suggested by Professor Venables) and getting two different answers for test=c("Wilks","Roy","Pillai") and tests=c("Wilks","Roy",'"Pillai") as shown below. In the
2015 Aug 06
2
Asterisk uses "Anonymous", but why?
On Thu, Aug 6, 2015 at 1:25 PM, Murthy Gandikota <murthy64 at hotmail.com> wrote: > > > ________________________________ > > Date: Thu, 6 Aug 2015 12:55:28 -0500 > > From: rmudgett at digium.com > > To: asterisk-users at lists.digium.com > > Subject: Re: [asterisk-users] Asterisk uses "Anonymous", but why? > > > > > > > > On
2011 Jan 14
4
test
Hi, i have that table Thesis Day A B C 1 0 83.43 90.15 22.97 1 0 85.50 94.97 16.62 1 0 83.36 95.38 20.70 1 0 84.47 92.16 23.58 1 0 83.98 95.33 19.39 1 0 82.86 93.78 24.55 1 0 83.39 92.67 19.56 1 0 85.17 95.24 17.95 1 0 81.62 93.32 28.49 1 0 82.99 92.85 19.73 1 0 81.11 95.67 27.20 1 0 83.39 94.69 16.51 1 0 79.56 89.87 30.39 1 0 80.54 93.32 21.76 1 0 82.11 92.58 22.17 1 14 85.65 94.00 19.19 1 14