Displaying 10 results from an estimated 10 matches for "notoole".
Did you mean:
otoole
2008 Oct 23
1
code works in R desktop but not iin RWeb - I got it working
...<xieyihui@gmail.com>
Phone: +86-(0)10-82509086 Fax: +86-(0)10-82509086
Mobile: +86-15810805877
Homepage: http://www.yihui.name
School of Statistics, Room 1037, Mingde Main Building,
Renmin University of China, Beijing, 100872, China
On Wed, Oct 22, 2008 at 11:15 PM, Natalie O'Toole <notoole@mtroyal.ca>
wrote:
>
> Hi Yihui,
>
> Thank-you for this information. This is the code I am entering into RWeb
> after loading my data file:
>
> #subset the file to only include certain values:
>
> test<-subset(X, GRADE == 7 & Y_Q10A < 9)
>
> #sort the...
2007 Apr 26
4
select if + other questions
Hi,
i am trying to read a .txt file, do a couple of select if statements on my
data, and then finally use the ?table function to get frequency counts on
the data. Specifically, i am looking at answering the following question:
What is the frequency of Grade 7 students in the province of Alberta who
are smokers?
I am having some problems:
1)i cannot get the column names to show up when print
2008 Oct 21
3
code works in R desktop but not iin RWeb - How do I modify to get it working in RWeb, please?
Hi,
How are you? I have a quick question.... I have code that works perfectly
with R desktop, but does not work with RWeb. Could you please tell me how
to modify the code below so it will work with RWeb?
#Read in txt file
happyguys<-read.table("c:/test8.txt", header=TRUE, row.names=1)
#Subset the txt file to only include certain values
test<-subset(happyguys, GRADE == 7
2007 Apr 30
0
thousand separator (was RE: weight)
...> minimum of space.
>
> Yes but I'm an relative newbie at R and didn't realise
> that str() would do that. I always thought it was
> some kind of string function.
>
> Thanks, it makes life much easier.
>
> > >
> > > --- Natalie O'Toole <notoole@mtroyal.ca> wrote:
> > >
> > > > Hi,
> > > >
> > > > I'm getting an error message:
> > > >
> > > > Error in df[, 1:4] * df[, 5] : non-numeric
> > argument
> > > > to binary operator
> > > > In...
2007 Apr 27
5
weight
Hi,
I have the file below called happyguys. It is a subset of data. How do I
apply the weight variable (WTPP) to this file? Can i just multiply each
column (except the first column because it is a record id) by WTPP? If the
answer is yes, how do I multiply one variable name by another?
Thanks,
Nat
PROV REGION GRADE Y_Q10A WTPP
83 48 4 7 2 342233324020
115
2007 Aug 15
0
Mann-Whitney U test discrepancies
Hi,
I do want to use the Mann-Whitney test which ranks my data and then
uses
those ranks rather than the actual data.
Here is the R code i am using:
group1<-
c(1.34,1.47,1.48,1.49,1.62,1.67,1.7,1.7,1.7,1.73,1.81,1.84,1.9,1.96,2,
2,2.19,2.29,2.29,2.41,2.41,2.46,2.5,2.6,2.8,2.8,3.07,3.3)
> group2<-
2007 Apr 27
0
like SPSS
Hi,
I've written code to extact a pumf file in R, subset it, and weight it
like you would do in SPSS. My code is below & it works great. My question
is: how do i then calculate the frequencies of smokers (1) versus
non-smokers (2) after having weighted my file? or even the process that
SPSS is going through to aggregate the data?
Thanks,
Nat
Here is my code:
2007 Apr 25
3
aggregate similar to SPSS
Hi,
Does anyone know if: with R can you take a set of numbers and aggregate
them like you can in SPSS? For example, could you calculate the percentage
of people who smoke based on a dataset like the following:
smoke = 1
non-smoke = 2
variable
1
1
1
2
2
1
1
1
2
2
2
2
2
2
When aggregated, SPSS can tell you what percentage of persons are smokers
based on the frequency of 1's and 2's. Can
2007 Apr 25
1
help
Hi all,
I have 2 questions:
1)How do I calculate the mean on an imported txt file? I've imported the
file below and that's what it looks like imported. How do I then calcuate
the mean, median, or mode on the column LeafArea using the desktop R
package?
Any help would be greatly appreciated!!
Thanks,
Nat
LeafType Leaflets LeafArea ShapeRatio LeafWeight LeafThickness
1 1
2007 Aug 14
4
Mann-Whitney U
Hi,
Could someone please tell me how to perform a Mann-Whitney U test on a
dataset with 2 groups where one group has more data values than another?
I have split up my 2 groups into 2 columns in my .txt file i'm using with
R. Here is the code i have so far...
group1 <- c(LeafArea2)
group2 <- c(LeafArea1)
wilcox.test(group1, group2)
This code works for datasets with the same number