similar to: Memory game

Displaying 20 results from an estimated 50000 matches similar to: "Memory game"

2009 May 26
5
Help me...!!!
Hi to all...i'm a new R'user and i have to solve some exercies so i ask to tou for an help... 1.) How i can demonstrate in R that the limit for x-->infinite of (1+1/x)^x is equal to "e"? 2.) if i have a vector of values how can i create a function that, applied to my vector, give me "median", "mean", "Var" and "length" togheter?
2010 Apr 11
3
Help me with writing function sort()
Hello everyone, i`m new here.. I just started with learning R language and i have hard "homework". I need to write function like sort().. Anyone know how to do it? Can u give me algorithm for sorting vector? x=c(1,2,-1,1,3,4) or something like that.. I`m sorry for my english.. -- View this message in context: http://n4.nabble.com/Help-me-with-writing-function-sort-tp1836063p1836063.html
2020 Oct 08
2
RStudio question
I'm solving the following problem: Create a variable (column) in the ?wf? dataframe named ?Zone? that takes value of ?tropic? if Latitude is less than or equal to 30, or ?non-tropic? for Latitude greater than 30. Show you Zone variable. Latitude is a column of my dataframe. I don't know the sintaxis and the process to create the column. [[alternative HTML version deleted]]
2009 Mar 05
1
Constructing a barplot in R
Hi all, 3. The probabilities are 0.06, 0.21, 0.24, 0.18, 0.14, 0.10, 0.04, 0.02 and 0.01 that an airline will receive 0,1,2,3,4,5,6,7 or 8 complaints per day about its luggage.Find e(x) and e(x^2) Give the R commands you use and the two numerical values. Use the sample function to simulate complaints over 500 days. Give the R command you use and draw a barplot of the simulated data. Comment
2009 Apr 29
2
Kolmogorov-Smirnov test
I got a distribution function and a empirical distribution function. How do I make to Kolmogorov-Smirnov test in R. Lets call the empirical distribution function >Fn on [0,1] and the distribution function >F on [0,1] ks.test( ) thanks for the help -- View this message in context: http://www.nabble.com/Kolmogorov-Smirnov-test-tp23296096p23296096.html Sent
2011 Nov 11
8
Help
Dear Contributors I would like to perform this operation using a loop, instead of repeating the same operation many times. The numbers from 1 to 4 related to different groups that are in the database and for which I have the same data. x<-c(1,3,7) datiP1 <- datiP[datiP$city ==1,x]; datiP2 <- datiP[datiP$city ==2,x]; datiP3 <- datiP[datiP$city ==3,x] datiP4 <-
2023 Aug 27
1
Query on finding root
On Fri, 25 Aug 2023 22:17:05 +0530 ASHLIN VARKEY <ashlinvarkey at gmail.com> wrote: > Sir, Please note that r-help is a mailing list, not a knight! ?? > I want to solve the equation Q(u)=mean, where Q(u) represents the > quantile function. Here my Q(u)=(c*u^lamda1)/((1-u)^lamda2), which is > the quantile function of Davies (Power-pareto) distribution. Hence I > want to
2008 Nov 28
2
question involving loops from intro level R programming class
a. Write a R function zerdiag.v1(m) using loop to output a square matrix whose diagonal elements are zero and the other elements are filled in by consecutive integers from 1 to m row-wise. For example, zerdiag.v1(6) = [0, 1, 2] [3, 0, 4] [5, 6, 0] This function should have error checking ability. If the input m cannot form a square matrix,
2008 Nov 24
3
Is this correct?
I have to answer the following question for a homework assignment. A researcher was interested in whether people taking part in sports at university made more money after graduating, taking into account the students' GPA. They sampled 200 alumni from a large university. The variables are: income (income 10 years after graduating), sports (1 if they did sports, 0 if they did not), and GPA (the
2005 Oct 11
4
pointers for using CentOS box as filter for children
greetings has anyone here setup a CentOS box to use as a home or business gateway for children through young adults or otherwise? i realize this is a generalized question and that iptables and many other things exist that could be implemented. im looking for a way to give the youngster the benefit of the doubt and allow them to "obey God/parents" first before they have to be totally
2003 Dec 20
6
draft of posting guide
Here is a first draft of a guide for posters to r-help and r-devel. Suggestions on how to improve any aspect of it are most welcome. Suggestions on ways to make it more concise are especially welcome. Comments on which parts you like or don't like are welcome. Rather than clutter up R-help with lots of small corrections etc, please send them to me, and I will try to incorporate and
2010 Apr 13
5
How to check if a parent has children?
What is the new way to check if a parent has child items? In rails 1.2.6 I did this: if @client.has_line_items? Client being the parent and line_items the children. Now that I have upgraded to rails 2.0.1 (on my way to current :-) ) I am getting this message: undefined method `has_line_items?'' for #<Client:0x7f3b093b01a0> How should I format the query now? Regards, Paul
2007 Apr 26
3
FXSplitter width is 1 until created
Why is the width of an FXSplitter equal to 1 before the FXSplitter#create method is called? My splitter is configured to have LAYOUT_FILL_X, so wouldn''t its width be determined before its children were created? It''s not really a big deal, but I was configuring the split based on a preferences file during initialize, and couldn''t make it work properly. Doing it in
2007 Apr 30
3
general question about use of list
Hi, is this list only related to R issues or it has a broader context regarding questions and discussions about statistics. Is there any other email list or forum for that? For example, I have a question regarding variance. It is defined as: variance = sum(sq(Xi-mean)) / (N-1) and I never understood why not define it as variance = sum(absolute(Xi-mean) / (N-1) I read somewhere that this cannot
2005 Dec 28
1
Model from DB generator
Hello all, Does a generator exist to generate the ActiveRecord model from the database? I wouldn''t mind if it generated parent-child relations always as has_many - belongs_to. The scenario in my case is a database of about 180 legacy tables, with a pattern that the foreign keys use (<parent table name>_OID). These I''d like to wrap in the model as easily as
2006 Mar 17
4
deleting from hash question
I''m a ruby newbie and have what is probably a relatively simple problem I''m trying to solve. Say that I created a hash: TASKS = { "homework" => "Do Your Homework", "chores" => "Your Have Chores", "exercise" => "Don''t Forget to Exercise" } and then I had an Assignment model with: def
2006 Mar 27
1
Best way about doing this?
Hi All, I''m super a super ruby nuby, so bare with me. I am working on a small app that has a particular form that I am having a rough time figuring out the best to way to handle. Basically here it is, each school has one or more classrooms, and each classroom can have one or more teachers. Here''s what I am trying to do (edit a school): - click on a link to edit a School -
2005 Jun 26
2
visualizing frequencies
Dear everybody, In our game-theory lesson we have run several classroom-experiments where the students had to decide for a natural number between one and seven. I have troubles now to visualize the results: be a the vector of answers. hist(a) will not assume natural numbers as answers, but rational. It will make the brakes exactly at the natural numbers, which is difficult to interpret, as
2012 May 08
3
please help!
Hi, I have a data with the forum a b c 8.9 0 0 7.4 1 0 4.2 0 1 2.3 1 1 Which are explanatory variables in this data? And also I want to fit logistic regression model with two explanatory variables? (I think that I should use glm, but how should I put these variables in glm)? Do I need also other functions, other than
2003 Jul 03
9
HTB burstable for 2 interface , how ?
Dear folks, Here goes my bandwidth manager: INTERNET | |eth0 202.14.41.1 BW.Manager | | | +----eth1----192.168.1.0/24 | +------eth2----192.168.2.0/24 Total incoming bandwidth to eth0 is 1024kbps should be shared to eth1 and eth2, which mean each get 512Kbps and burstable to 1024Kbps if other host is idle. My question is how do i apply HTB to these situation ? As far as i know eth1 and eth2