> if (any(socscore<=3)) q<-0 else q=1
> q
[1] 0
Why am I only getting 1 answer?
Thanks in advance,
Ernie
One of the hardest things to remember when using R compared to other programming languages, is that almost everything you do is a vector operation. When you do q <- 0, R is going to apply the "<- 0" to the entire vector of q. And if you haven't created q before this, q will just be set equal to either 0 or 1. What you're asking R to do is if any value in socscore is less or equal to than 3, assign 0 to q, otherwise assign 1 to q. I'm assuming you want q to be a vector of 0's and 1's corresponding to whether socscore <= 3 or not?
There are a couple ways to do that. You can either use a loop:
q <- rep(NA, length(socscore))
for ( i in 1:length(socscore) {
more...
Taylor Swift Long Straight CutThanks for your help.
If I can't get the upgrade I'm just going to buy an external HD and make it a network drive.That would work quite well. If you don't mind a non-portable drive (and it sounds like you don't), you'll get a lot more for your money (vs a portable drive).
Katy Perry Long Straight CutNice collection, freaking jealous. Good to see you have 4 seasons of the office. :)
As of right now, I only have all the seasons of That 70's Show, taking a pic of a small collection isn't really pretty :(
Nice collection everyone :D
Here is my collection
Blu's
http://farm5.static.flickr.com/4025/5127152612_4d77b15255.jpg
http://farm2.static.flickr.com/1414/5126549417_a0b415f808.jpg
DVD
http://farm2.static.flickr.com/1148/5127153158_b9c4598c5c.jpg
http://farm5.static.flickr.com/4068/5127153472_5f39aafb70.jpg
http://farm2.static.flickr.com/1219/5126550297_0037d82be9.jpg
more...
Lady Gaga Long Straight CutThat looks pretty cool actually.
woman straight hair cutJust a follow up to my original review a few weeks later. I'm still quite pleased with these for the money. I think they are a great deal because I'm able to enjoy monitor quality audio on the go from a wide variety of devices for a fair price. That's a great deal.
I use these regularly while working out and have no issues with sweat or them coming out. In fact, I find them to be a little quieter than what I'm used to when the cord is rubbed, something I can never seem to eliminate.
One of the things I didn't really appreciate at first is how much noise attenuation these provide, even turned unplugged. So, I find that I tend to play at a lower volume with these than I would on a set of iem's that didn't have the noise reduction.
The main complaint I have is that the accuracy of these will very quickly reveal if I've got a poor quality recording. Now, I don't find these to be unforgiving at all. Just very accurate.
more...
duff long, straight, cutPersonally, I just ask my mommy to go to a used bookstore. They normally have a great selection of albums for around $2-$4 each, and your parents will think that you're buying something educational :p
Long Straight Cut:JessicaAlso, what is the difference between these two 17" displays as shown on cnet?
http://shopper-search.cnet.com/search?qt=apple+studio+display&subj=apple_studio_display&part=google-cnet&tag=3785 :confused:
more...
Long Straight Cut:Ivanka Trumpkatie ta achoo
Dec 14, 07:39 PM
it's so cute! ^_^
Bullock Long Straight CutThank you for your quick reply..
How long do you think it will take to have to knowledge to actually write my own App. That would be App Store quality ?
Between several months and never.
Are you in college? Learning to write a quality iPhone app without any previous experience in programming or design might be equivalent to getting at least a "B" in 3 semester length classes, tough ones at that. The variation is large. A few people are whiz kids. Many flunk out.
Check out the Stanford course videos on iPhone development. But the prerequisite is already being a good programmer.
There are also point-and-click tools that will almost write an app for someone with determination at following instructions, but almost no programming knowledge. See buzztouch.com for one example. But the types of apps that can be created by such tools are quite limited.
more...
Long straight cut, gorgeousDreadnought
Jan 22, 05:03 AM
that's strange. I have a dual 1.8 G5 and that delivers about 200 points per day easy (both procs together), when it's folding 24/7. I have a 2.0 P4 at work and that's doing a bit less then 1 1.8 G5. So, with your setup:
dual 2.4 = 200 points
3.6 Xeon = 150 points.
But you probably don't have a dual script installed on the dual 2.4? And does these computers have hypertrading?? If so, then folding only uses 50% of your computing power.
Long Straight Cut:Emmanuellehttp://www.newhomesource.com/CMS400/uploadedImages/Builder_Homesite/Images/York/Furnace.jpg
Toronto -11C
more...
Straight Long One Length CutMyPhotoAlbum looks good, free, decent interface and access to full rez pictures. Only problems is that you can't use it to host images and it doesn't have any Mac upload tools so that is a bit slower. I can deal with the slow uploading and maybe I could use a free flickr account to host images to put directly in my blog. Not a big fan of mixing and matching but if I want to go the free rout I doubt I have a choice.
Thanks for the recommendations so far.
Fay - long straight gingerhttp://folding.stanford.edu/
Go to that link and take a look. All that's needed to help is an internet connection and your spare processing power. I leave my computer on every night, so it may as well go to good use right?
more...
Long Straight CutIt does have the US $ price. Click on the dollar sign at the top.
Daniel
Long Straight Cut with Bangs.dornoforpyros
Aug 18, 09:00 AM
uhh ok, it's a clip of a cold play video.
Lindsay Lohan Long StraightDoes it make a difference where I purchase my iPhone 4?:confused:
It does now. AT&T has officially stated that they'll have two things for walk-ins without a preorder: Jack and ****. Nothing until 6/29. If you want one on 6/24, go to an Apple store and get there very early. Good luck.
Peter.Howard
Nov 13, 09:21 PM
yeah the happy mac thats what i see no matter when i push the shift key
It of course shouldn't matter, but you are using the shift key below the caps lock?
I'm about at the limit of my knowledge from what I remember about these sorry.
Maybe someone else can jump in with some ideas?
Seems odd that it will not boot without extensions, or if it is getting to that point even?
Howdy.
Even though I don't know you either. :cool:
You've got 6 months on me, and I've seen your user name in some threads, but other than that...I dunno who you are. :)
Anyone going to try track down an iPhone 4 in Auckland tomorrow?
Still not much info from Vodafone out there...
Crashmaster007
Jan 9, 01:17 PM
I was very disappointed that they were not mentioned. I want updates damnit.
My situation: my boyfriend let me borrow his jailbroken iTouch, and knowing nothing about them, I updated the software and lost it all. So I have 4.2.1 software now, so I looked up the jailbreak for that. I used redsn0w and I thought it worked perfectly, but after I used the "Just boot tethered right now" option, the pineapple came up and all, but it's just...stuck. It keeps making the little slide-bar noise every 10 seconds and it looks like it's been loading for 10 minutes.
Also, I'm using an iPod touch 3g.
Help?
0 comments:
Post a Comment