Displaying 20 results from an estimated 2000 matches similar to: "cor() and cor.test() (PR#9781)"
2009 Dec 05
3
Referencing variable names rather than column numbers
I apologize for how basic a question this is. I am a Stata user who
has begun using R, and the syntax differences still trip me up. The
most basic questions, involving as they do general terms, can be the
hardest to find solutions for through search.
Assume for the moment that I have a dataset that contains seven
variables: Pollution, Temp, Industry, Population, Wind, Rain and
Wet.days. (This
2005 Jun 22
2
r programming help
Dear list,
Is there anyway i can make the following formula short
by r-programming?
CYCLE.n<-c(NA,
WET[1]*DRY[1],
WET[1]*DRY[2]+WET[2]*DRY[1],
WET[1]*DRY[3]+WET[2]*DRY[2]+WET[3]*DRY[1],
WET[1]*DRY[4]+WET[2]*DRY[3]+WET[3]*DRY[2]+WET[4]*DRY[1],
WET[1]*DRY[5]+WET[2]*DRY[4]+WET[3]*DRY[3]+WET[4]*DRY[2]+WET[5]*DRY[1],
2009 Jul 21
2
Split plot analysis problems
Hello,
I would be very grateful if someone could give me a hand with my split
plot design problems.
So here is my design :
I am studying the crossed-effects of water (wet/dry) and mowing
(mowed/not-mowed = nm) on plant height (PH) within 2 types of plant
communities (Xerobromion and Mesobromion) :
- Within each type of communities, I have localised 4 blocks
- In each block, I have defined
2009 Mar 25
1
Requesting help with lattice again
Hello, this is a request for assistance that I submitted earlier, this time
with the dataset. My mistake for taking up bandwidth. I've also rephrased
the question to address an additional concern.
I'm working on a windows XP machine with R 2.8.1
1). I'd like a barchart (or other lattice type display) HSI ~ of the three
factors (Region, Scenario and HydroState).
However
2003 Aug 13
1
means comparison with seasonal time series?
Dear R list,
I have a sequence of weekly observations of number of adults and larvae
in various size classes from a butterfly population living in a
subtropical area with pronounced wet and dry seasons. Wet and dry
seasons are each defined 26 weeks long with fixed start and end dates.
The data span 103 weeks (two seasons each of wet and dry) with some
missing weeks. What I would like to do is
2012 Jan 26
1
lattice panels with grouped extra data as text?
I have a problem with including extra data in a lattice graphic. I am
trying to put some calculated values in an extra column of a boxplot. A
minimal example should show what I am trying to do:
foo <- data.frame(
Treatment=rnorm(1:12,2),
2012 Nov 06
1
Filling matrix elements with a function
Hi all,
I have a matrix simulating migration in a spatial model. I want to be
able to define movement (the values of m1, m2 and m3) as only != 0
between adjacent patches and contingent on certain conditions as
defined in the function.
Here is the code:
WET<-function(t) {everglades$precipitation[t]} #simply reads
precipitation data from a csv, value is numeric
AB<-function(WET,t)
2007 Jun 20
2
Averaging dates?
Hi,
What's the best way to average dates?
I though mean.POISXct would work fine but...
> a
[1] "2007-04-02 19:22:00 WEST"
> b
[1] "2007-03-17 16:23:00 WET"
> class(a)
[1] "POSIXt" "POSIXct"
> class(b)
[1] "POSIXt" "POSIXct"
> mean(a,b)
[1] "2007-04-02 19:22:00 WEST"
> mean(b,a)
[1] "2007-03-17
2019 Mar 13
3
replication fails
On Wed, 2019-03-13 at 11:22 +0100, L.P.H. van Belle via samba wrote:
> Hi Stefan,
>
> Debian 8 ? 9?
> DC's samba version ?
>
> Can you post your smb.conf and resolv.conf
>
> If you check with (per server what is the outcome. )
> samba-tool dbcheck
> samba-tool dbcheck --cross-nc
>
> You could do a forced sync of a good server to the bad one.
>
2005 Mar 11
2
Calculating lengths of runs of 0 or 1 sequences in meteorological data
Dear List Members,
I need some help about programming in S language. My
problem is as follows:
I have meteorological data (about rainfall measurement
each day from 1989-2002), say like
http://www.angelfire.com/ab5/get5/data.rainfall.txt
or http://www.angelfire.com/ab5/get5/R.rainfall.txt
in a sequence of 0(denoting dry day)'s and 1(denoting
wet day)'s. I want to construct a frequency
2019 Mar 14
2
replication fails
On Thu, 2019-03-14 at 07:38 +0000, Rowland Penny via samba wrote:
> On Wed, 13 Mar 2019 23:59:29 +0000
> Sérgio Basto via samba <samba at lists.samba.org> wrote:
>
> > On Wed, 2019-03-13 at 11:22 +0100, L.P.H. van Belle via samba
> > wrote:
> > > Hi Stefan,
> > >
> > > Debian 8 ? 9?
> > > DC's samba version ?
> > >
2010 Oct 14
2
help with an unbalanced split plot
Hi Everyone,
I am trying to analyze a split plot experiment in the field that was
arranged like this:
I am trying to measure the fitness consequences of seed size.
Factors (X):
*Seed size*: a continuous variable, normally distributed.
*Water*: Categorical Levels- wet and dry.
*Density*: Categorical Levels- high, medium and solo
*Plot*: Counts from 1 to 20
The *response variable *(Y) was the
2004 Sep 21
2
Development Release Support (Shorewall 2.1.*)
As part of my effort to back away from the primary Shorewall support role, I
am going to change the way that Development releases are supported. It was my
hope that Development releases would be used primarily by people who need the
new functionality in those releases but I am seeing a small but steady stream
of posts on the Development list asking questions about initial installation
and
2012 Sep 27
1
Is there a way to source from a specific Git repository without hardcoding the location everywhere?
Folks,
A small group of us are working together to develop a set of R functions
to support data management and analysis using Eclipse/StatET in a Windows
environment. We are using Git/EGit for version control. We work within
our own repository and occasionally push to a common remote location.
I'd like to have the code source files from the 'local' git repository
without
2009 Jun 11
1
Help on drawing stars and radars in R (update)
Hi
I don't know if you can help. I am a 2nd year Bsc Cosmetic Science student and in R I need some help in drawing stars.
The problem that I have is I want to recreate a radar diagram similar to the one in excel.
I have put in these commands in a script window:
stars(shampoo1[, 1:6], locations = c(0,0), radius = TRUE,
key.loc=c(0,0),
main = "Ranked Results for the Sensory
2003 Nov 24
1
Re: Asterisk-Users digest, Vol 1 #1994 - 14 msgs
as i said, right now i'm just getting my feet wet. but, i will be needing
to build dialplans on the fly. 'add extension' seems like the right call
to make.
.t
> What is the goal of this? It doesn't make much sense to me. Care to
> share some insite into what your goal is?
>
> bkw
>
> On Sun, 23 Nov 2003, tad wrote:
>
> > actually, i do have a
2013 Mar 13
1
saving vector output as numeric
Hi everybody,
I'm trying to create a numerical data frame on which to perform PRCC.
So far I have created a data frame that consists of function/vector
output that displays in numerical form, but when I try and run PRCC
(from epiR package) I get the following error message:
"Error in solve.default(C) :
Lapack routine dgesv: system is exactly singular"
It appears this is because
2012 May 16
1
clusters in zero-inflated negative binomial models
Dear all,
I want to build a model in R based on animal collection data, that look like the following
Nr Village District Site Survey Species Count
1 AX A F Dry B 0
2 AY A V Wet A 5
3 BX B F Wet B 1
4 BY B V Dry B 0
Each data point shows one collection unit in a certain Village, District, Site, and Survey for a certain Species. 'Count' is the number of animals collected in that
2011 Oct 05
2
aggregate function with a dataframe for both "x" and "by"
I have 2 dataframes. "mydata" contains numerical data. "mybys" contains
information on the "group" each row of the data is in. I wish to aggregate
each column in mydata using the corresponding column in mybys.
Please see the example below. What is a more elegant or "better" way to
accomplish this task?
Thanks!
mydata =
2004 Dec 30
2
simplest possible xyz plot
New to R, and didn't find the following in the docs.
Main use for R. to get feet wet, is to pipe in x,y,z data, one point
per line, and
plot it in 3d, like this:
{
echo 1,2,3
echo 2,4,6
...
} | R ...
But functions like contour seem to require index vectors that are
sorted. I am curious why, and how to convert.
Also, I am curious whether any Lisp person has ever written a front
end to R