Displaying 20 results from an estimated 600 matches similar to: "paired repeated measurements"
2005 May 07
3
converting NA/non-NA's to a binary variable
Dear R colleagues,
I am trying to create a new column in a data frame, which converts values
and NA's from another column into binary format. Essentially I need the
NA's to become 1 and the rest to be 0. The code I wrote is returning the
following error message:
Error in if (mort[i, 4] != NA) mort[i, 8] <- 0 else if (mort[i, 4] == :
missing value where TRUE/FALSE needed
2006 Mar 14
0
Test of Significance for overall-accuracy
Hello,
I have two classifications. How can I compare the overall-accuracy of these
classifications to each other?
Is there a possibility within R to test if the achieved overall-accuracy
for the classifications are differing significantly?
Additionaly, are the McNemar-Test and Broker-Test implented in a package of R?
Thank in advance for your help,
Markus
2005 Jun 28
0
index of dispersion
Hi list
I'm looking for statisitic measurements describing the pattern of points
within a given polygon. Is there a function calculating the Index of
Dispersion and/or are there other functions summarising an observed pattern?
Markus Schwarz
.....................................................................
Markus Schwarz
Wissenschaftliche Mitarbeiterin
Eidg. Forschungsanstalt WSL
2005 Aug 05
1
kappa-accuracy and test for signifcance
Dear list,
I calculated the kappa-accuracy for two differnt classifications.
How can I test now the two kappa-value for significance?
thanks, Mark
.....................................................................
Markus Schwarz
Wissenschaftliche Mitarbeiterin
Eidg. Forschungsanstalt WSL
Forschungsprogramm Musterland
Z??rcherstrasse 111
CH-8903 Birmensdorf
Telefon +41-44-739 22 87
Fax
2006 Oct 13
3
multiply two matrixes with the different dimension column by column
Dear all,
I would like to multiply two matrixes with the different dimension column
by column. Let make an example:
If I have two matrixes "X" and "Y"as follow:
X<- matrix(1:12, nrow=4, ncol=3, dimnames=list(c("A","B","C","D"),
c("stage1","stage2","stage3")))
Y<- matrix(1:28, nrow=4, ncol=7,
2006 Jan 26
1
construct a bundle, subdirs do not exist?
Hi,
Sorry to bother, but I checked around and did not succed creating a
bundle from six existing packages (which are checkable, installable,
etc. individually). I carefully followed the procedure given in ch.
1.1.5 Package bundles. However, I am getting
hoffmann at fluke:~/R/Sources >R CMD check cwhmisc
* checking for working latex ... OK
* using log directory
2006 Oct 12
3
Cross two dataframe
Dear r-users!
I would like to cross two data frame which have the same row number but
different in the number of column. Can anybody help me for this case ?
Thanks a lot in advance
--------------------------------------------------------------------------------
Majid Iravani
PhD Student
Swiss Federal Research Institute WSL
Research Group of Vegetation Ecology
Z?rcherstrasse 111
2004 Dec 03
4
vector to matrix transformation
Dear,
Some analysis (linear regression) can only be
done from a vectorized dataset whereas others
require a matrix (Mantel tests). I use the two
analyses and thus need to format my data in
matrix and vector. I spent some time trying to
solve the problem and I just gave up. Did anyone
knows how to transform a matrix into a vector and
back-transform a vector into a matrix?
Thanks by
2006 Jan 11
2
Browser problem, Misrepresentation of .html in Solaris Firefox (PR#8471)
Hi there
I hope that I am in the right forum.
I am working on Win2000 PC connected via Exceed 6.0.1.0 to a
SunOS fluke 5.9 Generic_118558-11 sun4u sparc SUNW,Sun-Fire-480R
There I am using Mozilla Firefox 1.0.7 as a browser.
I am having
difficulties viewing .html files. Their first pages are displayed
normally, black on white, links in blue. When I scoll down, the pages
appear black
2007 Feb 01
2
How can I calculate conditional mean in a large dataset including date data
Dear R users,
I have a dataframe with two columns: first column is date data (e.g.
1/1/2000 with character format: daily data from 1/1/1970 till 31/12/2003)
and second column is temperature value. Now I'd like to calculate mean for
each month in a year (i.e. May 2001, June 1997) and mean for each month in
all of years. As the number of days in some months is different from others
I could
2008 Dec 05
1
How to retrieve a method
Hi there,
I am interested in the inner workings of wilcox.test:
> wilcox.test
function (x, ...)
UseMethod("wilcox.test")
<environment: namespace:stats>
how can I get at the code, if it is R-code? For Methods one should be able to learn what extension to use, but here default or such do not help.
Is there a wayplot.default to learn which different versions of
2006 Jan 27
4
regular expressions, sub
Hi,
I am trying to use sub, regexpr on expressions like
log(D) ~ log(N)+I(log(N)^2)+log(t)
being a model specification.
The aim is to produce:
"ln D ~ ln N + ln^2 N + ln t"
The variable names N, t may change, the number of terms too.
I succeded only partially, help on regular expressions is hard to
understand for me, examples on my case are rare. The help page on R-help
2006 Mar 27
3
seq(2,5,-2) not an error but NULL
Hi,
This may belong more to r-develop, but general discussion may be useful
(for the how many-th time ?)
seq(2,5,-2)
seq(5,2,2)
both result in
Error in seq.default(2, 5, -2) : wrong sign in 'by' argument
But often, if not always, mathematicians and programmers want a
behaviour e.g. in for loops, where this statement results in an empty
statement, that is
for (ii in seq(2,5,-2))
2011 Dec 02
0
Save Venn-diagram (Vennerable) together with table and plot in single pdf page
Dear R-users
I want to save a list with characters a point plot and a Venn diagram in
a single pdf page.
I am successful to do this when I use a character list and two point plots.
However when I try to replace the first point plots with my Venn diagram
(built with Vennerable package, compute.Venn() and plot.Venn()) the Venn
plot will not position at the right place in the pdf.
I guess there
2020 Nov 18
2
formatting issue with gcc 9.3.0 on Ubuntu on WSL2
On Wed, 18 Nov 2020 at 10:26, Tomas Kalibera <tomas.kalibera at gmail.com> wrote:
>
> On 11/17/20 9:34 PM, Bill Dunlap wrote:
> > I just got a new Windows laptop (i7, 10th generation CPU), installed
> > 'Windows Subsystem for Linux 2' and then installed Ubuntu 20.04 and
> > used 'apt-get install' to install packages that the R build seems
> > to
2001 Oct 10
1
Importing many files
Hello Cracks,
we want to import 10 x 365 files containing each 7 variables with 1211
rows. The filenames end with numbers from 1 to 365. We tried a for loop
to import using read.table but we couldn't create the r objects within
the loop. We want each file in an own r-objekt (matrix).
Does anyone know what can be done?
Thanks, Felix
--
Felix Tiefenbacher
Eidg. Institut f?r Schnee- und
2003 Dec 29
2
Outlook 2002 sp-2 and initial connection after OS reboot
I have a strange problem that I have been experienceing with dovecot:
Dovecot version : 0.99.10.4-1 Using IMAP:
When I restart the OS (windows XP) and open up Outlook 2002 SP2 I
don't automatically get my IMAP folders on the DOVECOT imap server.
(the one on the uw_imap server open up straight away)
When I click on inbox I cam given a message saying : unable to connect
to imap folders
2004 Mar 24
6
First Variable in lm
Hi all,
I just cannot think of how to do it:
I want to take the first variable (column) of a data frame and regress
it against all other variables.
bla <- function (dat) {
reg <- lm(whateverthefirstofthevariablenamesis ~., data=dat)
return(reg)
}
What kind of function do I have to take instead of the
whateverthefirstofthevariablenamesis,
eval(), substitute(), get(), ...
to
2002 Sep 04
3
logical and NA
Hi there, (sorry Martin, ich habe den falschen Empfaenger erwischt :-( )
Is there a function in the base package or elsewhere which returns TRUE and
not NA, even if NA is involved: (I did not find in the help system :-( )
if ( x==something & !is.na(something))
or
if ( x==something & !is.na(x==something))
If "something" is complicated, a function would be handy.
Thanks
2003 Jun 03
3
(no subject)
Hi,
I would like to know if it is possible to get printed output while a loop is taking place.
Example:
for(i in 1:10){
print(i)
some long process
}
This will print the values of i only after the loop is finished, what I would like is to
see them when the process enters the i-th iteration to keep track of how the
program is running.
Thank you,
Gilda