Displaying 20 results from an estimated 500 matches similar to: "intersect of 2 data frames"
2007 Jan 24
1
mixed effects or fixed effects?
Hi,
I am running a learning experiment in which both training subjects and
controls complete a pretest and posttest. All analyses are being
conducted in R. We are looking to compare two training methodologies,
and so have run this experiment twice, once with each methodology.
Methodology is a between-subjects factor. Trying to run this analysis
with every factor included (ie, subject as a
2011 Mar 19
1
how to access the elements of a univariate results table with Anova (library car)
Dear R users, I use the excelent Anova function of the library car because
the easy way to get sphericity correction. Unless I use the scan function. I
have not been able to access the values of sum squares and degrees of
freedom for each effect in the univariate summary table.
Example of the car library for Anova function:
library(car)
phase <- factor(rep(c("pretest",
2008 Aug 23
3
graphs for pretest data
Is there an easy way to make graphs for the following data. I have
pretest and posttest scores for men and
women. I would like to form a 'titlted segment' plot for the data.
That is, make segments joining the scores,
with different types of segments for men and women.
Example data:
menpre <- c(43,42,26,39,60,60,46)
menpost <- c(40,41,36,42,54,58,43)
womenpre <-
2011 Aug 31
2
dbWriteTable error message
I am at loss of what is going on here ...
I am trying to write to a SQLite database:
con <- dbConnect(dbDriver("SQLite"), dbname="pres-docs.rqda")
I have a data frame that is 889 rows by 7 columns. The column number
and types agree with the database table columns and column type.
dbWriteTable(con, "fileAttr", DF.4, row.names=FALSE, overwrite=TRUE)
Then I get
2011 Nov 17
3
merging corpora and metadata
Greetings!
I loose all my metadata after concatenating corpora. This is an
example of what happens:
> meta(corpus.1)
MetaID cid fid selfirst selend fname
1 0 1 11 2169 2518 WCPD-2001-01-29-Pg217.scrb
2 0 1 14 9189 9702 WCPD-2003-01-13-Pg39.scrb
3 0 1 14 2109 2577 WCPD-2003-01-13-Pg39.scrb
....
....
17 0
2011 Aug 25
2
replicate lines of data frame
Greetings!
I am just now learning to use R for my dissertation project. I need
to manipulate a lot of text and numeric data. I created a data frame
that has 7 columns and 127 unique rows. Now I need to replicate each
line 6 times and then later change values in the first 2 columns.
I am trying to figure out how to accomplish this. I think that I need
to use rep(my.df, each=6) but it does
2006 Jan 21
1
SOLVED: proprietary SSH -> OpenSSH migration and rsync errors
2006/1/20, Salvatore Enrico Indiogine <hindiogine at gmail.com>:
> 2006/1/20, Jim Perrin <jperrin at gmail.com>:
> > > When I run rsync over ssh, even sudo, I get permissions errors:
> > >
> > > sudo rsync -av --rsh=/usr/bin/ssh --delete <source dir>
> > > <user>@<server>:<dest dir>
> > >
> >
> >
2011 Oct 21
2
stacked plot
Hi!
I am trying to use ggplot2 to create a stacked bar plot. Previously I
tried using barplot() but gave up because of problems with the
positioning of the legend and other appearance problems. I am now
trying to learn ggplot2 and use it for all the plots that I need to
create for my dissertation.
I am able to create normal bar plots using ggplot2, but I am stomped
with the stacked bar plots.
2011 Aug 25
1
change values in a character vector
Greetings!
I have a 127 long vector with all different character entries. I
need to generate another vector that is 6 times a long and the second
one and has the following structure:
NA
"foo"
"a unique string"
NA
"bar"
"blah"
NA
"foo"
"another unique string"
NA
"bar"
"blah"
.....
This has to be repeated 127
2012 Jul 21
2
car::Anova - Can it be used for ANCOVA with repeated-measures factors.
Dear list,
I would like to run an ANCOVA using car::Anova with repeated measures factors, but I can't figure out how to do it. My (between-subjects) covariate always interacts with my within-subject factors.
As far as I understand ANCOVA, covariates usually do not interact with the effects of interest but are simply additive (or am I wrong here?).
More specifically, I can add a covariate as
2009 Feb 18
2
[package-car:Anova] extracting residuals from Anova for Type II/III Repeated Measures ?
Hello dear R members.
I have been learning the Anova syntax in order to perform an SS type III
Anova with repeated measures designs (thank you Prof. John Fox!)
And another question came up: where/what are the (between/within) residuals
for my model?
############ Play code:
phase <- factor(rep(c("pretest", "posttest", "followup"), c(5, 5, 5)),
2011 Sep 20
1
Works from CLI but not from prompt
Greegings!
Any idea why this works from the command line, but not from a source
file? This is driving me (more) insane.
regexp <- "[Aa]ccountability"
Thanks!
--
Henri-Paul Indiogine
Curriculum & Instruction
Texas A&M University
TutorFind Learning Centre
Email: hindiogine at gmail.com
Skype: hindiogine
Website: http://people.cehd.tamu.edu/~sindiogine
2009 Apr 25
3
ANOVA/statistics question
(Have searched for this already)
Hi,
How do you find the strength of correlation between two variables using an
ANOVA table? "Pr(>F)" gives the statistical significance of the
association, but not the strength of the correlation.
See data (from R) below
Readable:
"Df" "Sum Sq" "Mean Sq" "F value"
2007 Jan 22
0
R interpretation
Hi,
I am new to R (and not really a stats expert) and am having trouble
interpreting its output. I am running a human learning experiment, with
6 scores per subject in both the pretest and the posttest. I believe I
have fitted the correct model for my data- a mixed-effects design, with
subject as a random factor and session (pre vs post) nested within group
(trained vs control).
I am
2012 Mar 05
2
new to repeated measures anova in R
Data set up as one observation/subject looks like (with a total of 10 subjects)
Two treatments: shoe type with 3 categories and region with 8 categories ==> 24 "treatment" columns
Subject PHallux PMidToes PLatToe PMTH1 PMidMTH PLatMTH PMidfoot PRearfoot LHallux LMidToes LLatToe LMTH1 LMidMTH LLatMTH LMidfoot LRearfoot DHallux DMidToes DLatToe DMTH1 DMidMTH DLatMTH
2011 Sep 22
1
Wrapper of linearHypothesis (car) for post-hoc of repeated measures ANOVA
For some time I have been looking for a convenient way of performing
post-hoc analysis to Repeated Measures ANOVA, that would be acceptable
if sphericity is violated (i.e. leaving aside post-hoc to lme models).
The best solution I found was John Fox's proposal to similar requests
in R-help:
http://tolstoy.newcastle.edu.au/R/e2/help/07/09/26518.html
2006 Feb 14
1
Re: KDE panel configuration SOLVED
2006/2/14, Rex Dieter <rdieter at math.unl.edu>:
> Salvatore Enrico Indiogine wrote:
> > I am running CentOS 4.2 with KDE 3.5.1 from kde-redhat.org. I am not
> > able to configure the panels:
> >
> > control center -> desktop -> panels
> >
> > comes up, but is empty. Only the frame and the buttons on the bottom
> > show. KDE 3.5.1 on
2011 Sep 26
2
findAssocs()
I am trying to find the math behind the "tm" package findAssocs()
?findAssocs does not say anything besides "association" and "correlate"
Usually entering "findAssocs" at the CLI gives the code for a R
function, but in this case I obtain:
function (x, term, corlimit)
UseMethod("findAssocs", x)
<environment: namespace:tm>
Any ideas?
2012 May 23
5
linux
Dear All
I can not download R for Linux.
I do not know which file I should install?
Best Regards,
Soheila
2006 Feb 14
1
KDE panel configuration
I am running CentOS 4.2 with KDE 3.5.1 from kde-redhat.org. I am not
able to configure the panels:
control center -> desktop -> panels
comes up, but is empty. Only the frame and the buttons on the bottom
show. KDE 3.5.1 on Kubuntu does not have that problem.
Has anyone that same problem?
--
Enrico Indiogine
Parasol Laboratory
Texas A&M University
enricoi at cs.tamu.edu
hindiogine