Displaying 4 results from an estimated 4 matches for "die2".
Did you mean:
die
2010 Oct 05
3
R-help
Im trying to simulate the rolling of a pair of dice
this is my function:
#function to simulate tosses of a pair of dice
#from the simulation, the program returns the empirical probability of
#observing a double
count <- 0
for(j in 1:sim){#begin loop
die1 <- sample(1:6,1)
print(die1)
die2 <- sample(1:6,1)
print(die2)
count <- ifelse(die1 == die2, count + 1, count)
}#end loop
emprob <- count/sim
return(count,emprob)
} #end program
these are the errors that keep coming up:
Error in 1:sim : 'sim' is missing
How do I correct this?
[[alternative HTML vers...
2009 Mar 27
0
read.table on long lines buggy (PR#13626)
...Thanks,
Mani
> cat(file="tst1", "a:15S_RRNA, 21S_RRNA, AAC1, AAC3\nb:AAP1, ACN9, ALG1, ALG11,
ALG12, ALG13, ALG14, ALG2, ALG3, ALG5, ALG6, ALG7, ALG8, ALG9, AMS1, ANP1, ARA1,
ATH1, BCH1, BCH2, BMH1, BMH2, BNI4, BUD7, CAX4, CDC19, CHS3, CHS5, CHS6, CHS7,
CIT2, CTS1, CWH41, DDP1, DIE2, DIP5, DLD1, DOG1, DOG2, DPM1, ELM1, ENO1, ENO2,
EOS1, ERD1, EXG1, FBA1, FBP1, FBP26, FDH1, FKS1, GAC1, GAL1, GAL10, GAL2, GAL3,
GAL4, GAL7, GAL80, GCY1, GDA1, GDB1, GFA1, GIP2, GLC3, GLC7, GLC8, GLG1, GLG2,
GLK1, GLO2, GLO4, GNA1, GND1, GND2, GNT1, GPH1, GPM1, GRE3, GSC2, GSY1, GSY2,
GTB1, GUT2, H...
2009 Apr 20
1
[LLVMdev] mingw build problems
On Mon, Apr 20, 2009 at 3:32 AM, Jay Foad <jay.foad at gmail.com> wrote:
>> The attached patch makes GenLibDeps.pl notice that nm has failed, so
>> that the build fails immediately rather than giving more obscure
>> errors later on.
>
> Would you mind applying the patch?
>
Sure. But could you add a message to the "die" commands? Something like:
close
2012 Jun 09
2
Help getting Torchlight 2 Beta running (Mac)
...removed, so your animation may look slightly different. To eliminate this, reduce the number of bone assignments per vertex on your mesh to 4.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
Skeleton: Loading MEDIA/MODELS/NPCS/EST_M/DIE1.SKELETON
Skeleton: Loading MEDIA/MODELS/NPCS/EST_M/DIE2.SKELETON
Skeleton: Loading MEDIA/MODELS/NPCS/EST_M/ENVI_ALERT_DIE1.SKELETON
Skeleton: Loading MEDIA/MODELS/NPCS/EST_M/ENVI_ALERT_SACRIFICE1.SKELETON
Skeleton: Loading MEDIA/MODELS/NPCS/EST_M/ENVI_ALERT_TIEDUP1.SKELETON
Skeleton: Loading MEDIA/MODELS/NPCS/EST_M/ENVI_ALERT1_GRAVE.SKELETON
Skeleton: L...