Displaying 20 results from an estimated 3000 matches similar to: "plot is not keeping the order of variable"
2010 Jun 09
3
comparing two regression models with different dependent variable
Hi,
I would like to compare to regression models - each model has a different
dependent variable.
The first model uses a number that represents the learning curve for reward.
The second model uses a number that represents the learning curve from
punishment stimuli.
The first model is significant and the second isn't.
I want to compare those two models and show that they are significantly
2009 Dec 19
2
simple main effect.
Hi, I'm a bit new to R and I would like to know how can I compare simple
main effects when using the aov function.
I'm doing a mixed model ANOVA with two between subjects variables and one
within.
When I get an interaction of two of the variables I don't know how to check
for simple main effect of that interaction (A at B1 and A at B2 for
example).
The aov function is very simple but
2010 Nov 12
1
calculate variance with trimm mean
Dear All
I have problem about calculte variance use R.
I use trimm mean by mean(x, trim=.05) and I want to calculate variance
with trimm=.05.
How I can do this.
Many Thanks.
Jumlong
--
Jumlong Vongprasert Assist, Prof.
Institute of Research and Development
Ubon Ratchathani Rajabhat University
Ubon Ratchathani
THAILAND
34000
[[alternative HTML version deleted]]
2009 Nov 27
2
using reshape to do ANOVA mixed models
Hi,
I just started with R and I found that there are many options to rearrange
the data to do mixed models.
I want to use the reshape function. I have 2 between subject variables and
one within.
I was able to change the data structure but still - the result of the aov
functions are calculating everything as a within subject.
the table looks like this:
SerialNo breed treatment distance_1
2010 Sep 22
3
merge verctor and matrix
hi,
can anyone tell me how to merge a vector and a matrix?
> v=c(1,4,2)
> names(v)=c("e","r","t")
> m=matrix(c("r","t","r","s","e",5,6,7,8,9),nr=5)
> colnames(m)=c("c1","c2")
I want to do like
merge(v, m, by.x="names",by.y="c1")
I got error
Error in fix.by(by.x, x) :
2011 Jun 20
4
lots of disk activity keep process from responding
hi all
I have something like 3000 log files in a directory (from data collection).
At 4am in the morning cron runs a script of mine that essentiallly trims
all files in that directory back to a certain size.
Basically does a "tail -c XXXX filename > tmp_filename"
I have noticed that only around the 4am-4:15 time frame when the trim is
happening does my
other process log connection
2016 Sep 13
2
t-test y distribución de variables
Hola,
Estoy analizando unos datos para una tesis doctoral.
Durante la investigación se han recogido distintas variables clínicas de
dos grupos (n=30 y n=40). Me encuentro que las comparaciones de medias
se han realizado mediante t-tests sin preocuparse de estudiar la
distribución de las variables. Al revisar si las variables se ajustan a
la distribución normal, aunque los QQplots no tienen
2003 Feb 20
3
outliers/interval data extraction
Dear R-users,
I have two outliers related questions.
I.
I have a vector consisting of 69 values.
mean = 0.00086
SD = 0.02152
The shape of EDA graphics (boxplots, density plots) is heavily distorted
due to outliers. How to define the interval for outliers exception? Is
<2SD - mean + 2SD> interval a correct approach?
Or should I define 95% (or 99%) limit of agreement for data interval,
2011 Aug 22
3
automatic file input
Dear all,
I have 100 files which are used as input.and I have to input the name of my files again and again.the name of the files are 1.out, 2.out......100.out.
I want to know if there is anything like perl so that i can use something like this-
for($f = 1; $f <= 100; $f++) {
$file = $f.".out";
I have tried this thing in R but it does not work.Can somebody please help me.
2011 Feb 11
6
linear models with factors
i am trying to fit a linear model with both continuous covariates and
factors. When fitted with the intercept
term the first level of the factor is treated by R as intercept and the
estimate of the effects of remaining levels(say i th level) are given as
true estimate of i th level - estimate of 1st level.can any please help me?
thanks in advance.....
--
View this message in context:
2011 Jul 25
4
ggplot question: changing the label for the Y axis on a histogram
Some help with how to re-label the vertical axis in a histogram would be appreciated.
qplot(off.sc,weight=rel.freq,binwidth=.29,main="test Figure"+ylab("New from inside"))+ylab("New from outside")+
xlab("off.sc\nAggregated frequency plots for 17 equal intervals.")
The code
2011 Mar 11
4
Any existing functions for reading and extracting data from path names?
Hi helpeRs,
I have inherited a set of data files that use the file system as a
sort of poor man's database, i.e., the data files are nested in
directories that indicate which city they come from. For example:
dir.create("deleteme")
for(i in paste("deleteme", c("New York", "Los Angeles"), sep="/")) {
dir.create(i)
for(j in
2017 Aug 23
3
Getting all possible combinations
ummm, Ista, it's 2^n.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Wed, Aug 23, 2017 at 8:52 AM, Ista Zahn <istazahn at gmail.com> wrote:
> On Wed, Aug 23, 2017 at 11:33 AM, Christofer Bogaso
>
2011 Feb 21
2
Equivalent of log file in R?
Hi everyone,
Is there a way to make R save the workspace output (just the results,
not the objects themselves) as you go? I'm running analysis that takes
a long time to run and I want to be able to interrupt it without
losing all the output to date. Is there an alternative to putting
"save.image()" commands after every couple lines of code?
Best,
Tatyana
2011 Jun 08
3
How to suppress factor labels
I am using ggplot2 to make a boxplot that overlays a scatterplot:
pp = qplot(time, error, data=times, size=I(1), geom="jitter", main=title,
ylab="Error (min)", xlab="Time before ON (min)", alpha=I(1/10),
color=times$runway,
ylim=c(-30,40))
pp2 = pp + with(times, facet_wrap(~ runway, ncol=2))
print(pp2 + geom_boxplot(alpha=.5,
2009 Nov 20
2
Finding & replacing non-ASCII characters
Hi guys,
Are there any feasible methods in searching & finding non-ASCII characters
in R?
For example, from the following object,
x <- mia. SzaÌmitaÌó
The desired output is,
x.out <- mia. SzaImitaIA
Your help in resolving this would be greatly appreciated.
[[alternative HTML version deleted]]
2011 Mar 25
4
two plots in qplot
Hello
I simply want to plot two variables against one 'year' variable in
qplot.
Is any way of doing this without reshaping data in long format and using
facet function afterwards?
Thank you
Denis
2017 Jul 06
3
Efficient swapping
Thanks a lot, Ista! I really appreciate it.
How about a slightly different case as the following:
set.seed(1)
(tmp <- data.frame(x = 1:10, R1 = sample(LETTERS[1:5], 10, replace =
TRUE), R2 = sample(LETTERS[2:6], 10, replace = TRUE)))
x R1 R2
1 C B
2 B B
3 C E
4 E C
5 E B
6 D E
7 E E
8 D F
9 C D
10 A E
Notice that the factor levels between
2012 Jan 03
2
Comparison of numeric and character vectors
Hi all,
I just discovered that R considers characters to be really big:
> "a" > 999
[1] TRUE
> "a" > 9e307
[1] TRUE
> "a" > 9e308
[1] FALSE
and that some characters are literally infinitely big:
> "Z" >= Inf
[1] TRUE
although not all:
> "a" > Inf
[1] FALSE
This came as a surprise to me (although it is quite
2013 Oct 19
1
XML package not working
I know I cannot be the only one who is not able to install the XML package from CRAN (zip or tar file) Many packages depend on this XML package. Can someone help me either access the source for a good binary? I have received no assistance from the author/developer of the package.
Steven
Steven D. Randolph
Associate Consultant
Enterprise Capabilities - Business Intelligence & Analytics
Eli