search for: grade

Displaying 20 results from an estimated 951 matches for "grade".

Did you mean: trade
2010 Apr 30
1
read.csv and blank character in object name of my data.frame
...STANDARD LEAD USD 23/06/10 ", "STANDARD LEAD USD 23/06/10 ", "STANDARD LEAD USD 23/06/10 ", "STANDARD LEAD USD 25/06/10 ", "STANDARD LEAD USD 25/06/10 ", "STANDARD LEAD USD 29/06/10 ", "STANDARD LEAD USD 29/06/10 ", "SPCL HIGH GRADE ZINC USD 06/07/10 ", "SPCL HIGH GRADE ZINC USD 06/07/10 ", "SPCL HIGH GRADE ZINC USD 06/07/10 ", "SPCL HIGH GRADE ZINC USD 06/07/10 ", "SPCL HIGH GRADE ZINC USD 06/07/10 ", "SPCL HIGH GRADE ZINC USD 06/07/10 ", "SPCL HIGH GRADE ZINC USD...
2006 Apr 14
2
spot the error (I can''t, I''m new)
I have a form that I want to use to update multiple objects. In the controller, @grades = Grade.find(params[:grade].keys) @grades.each_with_index do |grade, i| grade.update_attribute(params[:grade][i]) end all_valid = @grades.inject(true) {|memo, c| c.valid? && memo } this doesn''t update the attributes as I would expect. (I would just use Grade.upda...
2010 Feb 28
3
Change the scale on a barplot's y axis
I have grades data. I read them from a csv in letter-grade format. I then converted them to levels levels(grades$grade)=c('A+','A','A-','B+','B','B-','C+','C','C-','D+','D','D-') And then to numbers grades$gp=grad...
2006 May 15
1
Trying to get values to display on horizontal barchart
...aph whereas my goal is to have them displayed just off the ends of each horizontal bar, as they are on the veritical graph. I was hoping someone could provide me with direction or a solution to this problem. #Vertical bars syntax: math.bar <- c(53,31,55,28,55,100) names(math.bar) <- c('Grade \n 3','Grade \n 4','Grade \n 5','Grade \n 6','Grade \n 7','Grade \n 8') o <- rev(order(math.bar)) math.bar <- math.bar[o] par(ps=10) math.barplot <- barplot(math.bar, main = list("Death Rates in Virginia", font = 1), col=c('darkblue...
2004 Aug 01
3
Creating dummy codes
Is there an efficient way to create a series of dummy codes from a single variable? For example, I have a variable, “grade” = {2, …, 12}. I want to create k-1 dummy codes for grade such that grade 2 is the base (i.e, grade 2 =0). I am hoping that the new variables can be labeled as grade.3, grade.4 etc. I'll then use grade <- paste("grade.", 3:12, sep="") in as.formula to build the model...
2010 Dec 01
4
Sequence for repeated numbers
Hello fellows, I would like to create a sequence for repeated numbers in a dataset. For example: ID <- c(1:20) grade <- c(4,4,4,5,5,7,7,7,7,8,8,8,9,9,9,9,9,10,10,10) Data: ID Grade 1 4 2 4 3 4 4 5 5 5 6 7 7 7 8 7 9 7 (...) I would like to create a variable "sequence": Data: ID Grade Sequence: 1 4 1 2 4 2 3 4 3 4 5 1 5 5...
2010 Oct 29
2
wilcox.test; data type conversion?
I'm working on a quick tutorial for my students, and was planning on using Mann-Whitney U as one of the tests. I have the following (fake) data grade <- c("MVG", "VG", "VG", "G", "MVG", "G", "VG", "G", "VG") sex <- c( "male", "male", "female", "male", "female", "male", "female", &q...
2004 Nov 28
1
paste command
In a previous post, I mentioned a loop being used to generate graphs. I have some sample code partially put together but have found one offending line of code that I cannot figure out what to do with. I have one data frame called grade4. If I do something like hist(grade4$math) I get the appropriate chart. Within the loop, however, I am doing this for multiple files and grades, so I use the paste command, but it isn't working. For example, the code would perform something similar to: hist(paste("grade", &quo...
2005 Aug 24
2
Remove NAs from Barplot
Dear List: I'm creating a series of barplots using Sweave that must assume a standard format. This is student achievement data and the x-axis must include all grades 3 to 8. In some cases, the data for a grade (or more than one grade) are missing in the vector math.bar, but are never missing for the vector apmxpmeet. The following sample code illustrates the issue. Using the code below to create the plot works fine. However, the following command is designed...
2004 Aug 06
1
reshape (was: Comparing rows in a dataframe)
Hi all: I solved the previous stated problem in something of a brute force way (but it works). I seem to now be running into one little hiccup using reshape. Here is a quick snip of the data in long format: grade stability year schid 6 Grade 4 3 2001 100005 7 Grade 4 3 2002 100005 8 Grade 4 2 2003 100005 10 Grade 5 2 2001 100005 11 Grade 5 2 2002 100005 12 Grade 5 1 2003 100005 18 Grade 4 2 2001 100010 19 Grade 4 2 2002 100010 20 G...
2011 Aug 16
1
Repeated measures cummulative logit mixed model
Dear R help gurus, I have the following problem and I would be delighted if you could help me. >From a large (1500) cohort of patients we have been taking some measurements (ECG measurements, but its not important). The measurements are ordinal in 4 grades (Grade I-IV, grade IV being the most severe form). Every patients has been measured several times (usually once per year). The follow-ups are different for each patient (ranging from days to several years), thus some patients have only 1 measurement and some have several. A patient can shift from...
2009 Apr 11
1
Error in R CMD check 2.8.1
...t; > ### Name: VocabGrowth > ### Title: Vocabulary growth data > ### Aliases: VocabGrowth > ### Keywords: datasets > > ### ** Examples > > data(VocabGrowth) > > # Standard Multivariate & Univariate repeated measures analysis > Vocab.mod <- lm(cbind(grade8,grade9,grade10,grade11) ~ 1, data=VocabGrowth) > idata <-data.frame(grade=ordered(8:11)) > Anova(Vocab.mod, idata=idata, idesign=~grade) Warning in Anova.mlm(Vocab.mod, idata = idata, idesign = ~grade) : the model contains only an intercept: equivalent Type III test substituted Type...
2017 Jun 21
3
Counting with multiple criteria using data table
...show on the output including those that they have zero value I want the three statements combined in on if possible so the output will be one data table; that is the outputs are next to each other as manually illustrated on the last part (desired output). Thanks--EK > Test Color Grade Value Month Day 1: yellow A 20 May 1 2: green B 25 June 2 3: green A 10 April 3 4: black A 17 August 3 5: red C 5 May 5 6: orange D 0 June 13 7: orange E 12 April 5 8: orange F 11 August 8...
2013 Jun 03
1
Multiple selection and normalization
Hi-- I am trying to normalize course grades for each instance of a course, e.g. Stats 1 Fall2009 J. Smith. I have a frame for all instances of a course, e.g. stats 1 in the last 5 years, that looks like SIDN TERM GRADE INST where SIDN is a Student ID Number, TERM is a factor that gives the quarter and year a course was offered, GRADE...
2004 Aug 06
1
Comparing rows in a dataframe
Hello I have a longitudinal dataframe organized in the long format and would like to make comparison between successive rows if certain conditions apply. Specifically, I have four variables of interest: grade, score, year, and schid, associated with each school with 3 measurements per school per grade, therefore the rows are temporally ordered and each school occupies multiple rows. For example, a school may have grades 4,5,6 and three observations per grade at years 2001-2003 and therefore occupies 9 r...
2005 Aug 23
2
merge list entries
dear expeRts, i would like to merge the data frame entries in a list. for example: > #input > myl <- list(q1=data.frame(id=c("Alice", "Bob"), grade=c(90, 49)), q2=data.frame(id=c("Alice", "Chuck"), grade=c(70, 93)), q3=data.frame(id=c("Bob", "Chuck"), grade=c(84, 40))) > #output > (mydf <- magic(myl)) id grade.1 grade.2 grade.3 1 Alice 90 70 NA 2...
2010 Apr 15
1
sum rows in a data.frame...solution
...s a data.frame, "lme": > lme DESCRIPTION CLOSING.PRICE POSITION 4 PRIMARY NICKEL USD 04/06/10 25,755.7100 0 5 PRIMARY NICKEL USD 10/06/10 25,760.8600 0 6 PRM HGH GD ALUMINIUM USD 09/07/10 2,415.9000 0 8 SPCL HIGH GRADE ZINC USD 06/07/10 2,420.1000 -1 9 SPCL HIGH GRADE ZINC USD 07/07/10 2,420.4100 -1 10 SPCL HIGH GRADE ZINC USD 08/07/10 2,420.7300 1 11 SPCL HIGH GRADE ZINC USD 09/07/10 2,421.0500 1 12 SPCL HIGH GRADE ZINC USD 13/04/10 2,388.4300 0 13 SPCL HIGH...
2003 Mar 24
2
Box Plot Question
I would like to create 15 box plots from two sets of data. Set1 - containts PayGrade, Min_Salary, Max_Salary data for 15 pay grades Set2 - contains PayGrade, Actual_Min, Actual_Max, and Actual_Mean for the 15 pay grades I would like 15 box plots (one for each paygrade) whose whiskers were the Min_Salary and Max_Salary data and whose ''box'' was Actual_Min, Actual...
2010 Oct 04
1
I have aproblem about nomogram--thank you for your help
dear professor: I have a problem about the nomogram.I have got the result through analysing the dataset "exp2.sav" through multinominal logistic regression by SPSS 17.0. and I want to deveop the nomogram through R-Projject,just like this : > n<-100 > set.seed(10) > T.Grade<-factor(0:3,labels=c("G0", "G1", "G2","G3")) > Sex<-factor(0:1,labels=c("F","M")) > Smoking<-factor(0:1,labels=c("No","yes")) > L<-0.559*as.numeric(T.Grade)-0.896*as.numeric(Smoking)+0.92*as.numeric...
2017 Sep 08
1
cyrus spool on btrfs?
...t; Probably with the very expensive SSDs suited for this ... <snip> >>> >>> That?s because I do not store data on a single disk, without >>> redundancy, and the SSDs I have are not suitable for hardware RAID. <snip> That's a biggie: are these SSDs consumer grade, or enterprise grade? It was common knowledge 8-9 years ago that you *never* want consumer grade in anything that mattered, other than maybe a home PC - they wear out much sooner. But then, you can't really use consumer grade h/ds in a server. We like the NAS-rated ones, like WD Red, which are...