similar to: how to manipulate this data? Thank you very much!

Displaying 20 results from an estimated 40000 matches similar to: "how to manipulate this data? Thank you very much!"

2009 Dec 20
2
how to create three new variables? Thanks a lot!
Dear R experts: I have following data structure: student id, exam time and score. I want to create three new columes: 1 st before, 2nd before and 3rd before. For example, for student 1's 4th exam score is assumed to be influenced by his previous three cloest scores, which are 6, 9, and 10 in that order. For student 2's 5th exam score is assumed to be inflenced by her previous cloest
2008 Nov 08
2
Data Manipulation, add frequency index
Hi, there, I have a simple data manipulation question for you. Thank you for your help! Suppose that I have this data about people appearing in a class Mary Mary Mary Sam Sam John John John John Then I want to find out what exact time(s) the student appears at the moment such as Mary 1 Mary 2 Mary 3 Sam 1 Sam 2 John 1 John 2 John 3 John 4 the fifth row shows tha Sam show the second times
2008 May 01
1
Data manipulation for random intercept GLMM
Hello, I am working on some examples of GLMM for my students but I am afraid that my way of preparing a dataframe to pass to lmer will make them think that R is a very difficult and un-natural language. Here is for example a simple data set about approval ratings on two different surveys for a random sample of 1600 individuals. > ## Example: Ratings of prime minister (Agresti, Table 12.1,
2008 Mar 31
2
Finding a mean value of a variable holding a dummy variable fixed
I have time-series data on approval ratings of British Prime Ministers. The prime ministers dating from MacMillan onward till today are coded as dummy variables and the approval ratings are entered for each month. I want to know the mean value of the approval rating of each Prime Minister in the dataset and the approval rating during his/her first month and last month as PM. What R code should
2007 Jul 12
1
ggplot2 / reshape / Question on manipulating data
I'm an R newbie but recently discovered the ggplot2 and reshape packages which seem incredibly useful and much easier to use for a beginner. Using the data from the IMDB, I'm trying to see how the average movie rating varies by year. Here is what my data looks like: > ratings <- read.delim("groomed.list", header = TRUE, sep = "|", comment.char = "")
2011 Sep 19
0
Thank you very much. I just hope to hear him start singing a
Thanks for the links, I'll read them on my lunch break. I haven't heard much about whats coming.
2019 Jul 30
2
I need to open the personal homepage function, thank you very much.
I need to open the personal homepage function, thank you very much. My wiki account is: LostManiac thank you very much -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos-docs/attachments/20190730/8acc93d1/attachment-0006.html>
2019 Jul 30
0
I need to open the personal homepage function, thank you very much.
On Tue, 30 Jul 2019 at 07:03, lost maniac <maniac.cn at gmail.com> wrote: > > I need to open the personal homepage function, thank you very much. > My wiki account is: LostManiac > > thank you very much > _______________________________________________ > CentOS-docs mailing list > CentOS-docs at centos.org > https://lists.centos.org/mailman/listinfo/centos-docs
2019 Aug 01
1
I need to open the personal homepage function, thank you very much.
Because I am from China, this is the English name. Alan Bartlett <ajb at elrepo.org> ?2019?7?30??? ??10:42??? > On Tue, 30 Jul 2019 at 07:03, lost maniac <maniac.cn at gmail.com> wrote: > > > > I need to open the personal homepage function, thank you very much. > > My wiki account is: LostManiac > > > > thank you very much > >
2006 Oct 28
1
A quesiton on data manipulation
Hi, I have a data set (data frame) describing some features of the students in a high school in the following format: Stu ID Year feature 1 feature 2 ............. 1001 1990 1001 1991 1001 1992 1002 1990 1002 1991 1002 1992 Some features of a few of these students are missing, I would like to
2009 May 14
2
Why my DomU OS'' State is always blocked? Thank you very much!!
Hi, all When I type "xm list" command, It''s always display State is Blocked. During OS boot, State is Running, a few seconds later, State changes into Blocked and always Blocked. Why??? linux-jx4z:/ # xm list Name ID Mem VCPUs State Time(s) Domain-0 0 1317 2 r----- 75.5
2008 May 02
1
GLMM and data manipulation (2nd try)
Hello, I posted a question yesterday but I got no replies, so I'll try to reformulate it in a more concise way. I have the following data, summarizing approval ratings on two different surveys for a random sample of 1600 individuals: > ## Example: Ratings of prime minister (Agresti, Table 12.1, p.494) > rating <- matrix(c(794, 86, 150, 570), 2, 2) > dimnames(rating) <-
2011 Mar 09
1
How can I manipulate a data.frame that is just created by assign() while still being in the loop?
Hello everyone, I want to use a loop to load many files, each into a seperate variable (data.frames) and then - still in the loop - manipulate the present variable/data.frame. So far this works: for (i in 1:2){ var <- paste("var",i,sep="") fileName <- paste(i,"rating.txt", sep="_") assign(var, read.table(fileName)) But how can I now referr to var
2011 Mar 24
2
Wine DB question & Office 2010 & Bronze rating.
Our school only offers Office 2010 pro for students. If I wanted to install it on a friends Ubuntu computer, would there be any possibility it would work on a 32bit system? http://appdb.winehq.org/objectManager.php?sClass=version&iId=17336 I noticed most people are using a trial version and not a CD installation with the full version. There might be a difference in the way it activates....
2017 Oct 18
1
2018 ASA Computing/Graphics: Chambers Software Award and Student Paper Competition
Dear R-help Listers, The following two student competitions are of interests to the now many student R package developers. I'd appreciate your help in spreading them. #1. John M. Chambers Statistical Software Award 2018 The Statistical Computing Section of the American Statistical Association announces the competition for the John M. Chambers Statistical Software Award. In 1998 the
2008 Nov 22
2
This diff needs fixing.
It is just me or is the entire Wine AppDB screwed up? Why is it that people complain when no-cd fixes are used when a programs is rated platinum, yet when you need to set and use native dll's it's okay? It's either one or the other, for example why is MS Office 2007 rated platinum for? You need native dll's and not wines versions to run it, yet in games that use secu-rom or other
2011 Oct 05
1
lattice-dotplot: resize axis
dear all, I want to make a dotplot with ratings from Items in 6 ItemsGroups. I reordered the items by rating within each group. I plotted the items by rating conditional on ItemGroup. The ordering works as I wanted but my y-aches labels (items) within each ItemGroup are now unequally spaced, e.g., in some panels there is a gap between one lower rated item and the next higher, to give a picture
2011 May 08
2
help with mysql and R: partitioning by quintile
Hi, I have a mysql table with fields userid,track,frequency e.g u1,1,10 u1,2,100 u1,3,110 u1,4,200 u1,5,120 u1,6,130 . u2,1,23 . . where "frequency" is the number of times a music track is played by a "userid" I need to turn my 'frequency' table into a rating table (it's for a recommender system). So, for each user, I need to categorise the frequency of tracks
2012 Oct 21
5
Error occured while evaluating nil
This is the code if !params[:ratings].nil? params[:ratings].each_key do |r| @selected_ratings << r @movies << Movie.where(''rating = :rating'', :rating => r) @sort = params[:sort] end elsif @selected_ratings = @all_ratings @movies = Movie.order(@sort) @sort = params[:sort] end This is the error You have a nil object
2007 Jul 21
3
unable to get "has_many :after_add" to work - need help
Can someone tell me what I''m doing wrong? I''ve spent way too much time on this -------------------------------------------------------------------------------------- class Picture < ActiveRecord::Base has_many :ratings, :after_add => :increment_rating, :after_remove => :decrement_rating def increment_members(rating) self.rating += rating.amount save!