Displaying 20 results from an estimated 100 matches similar to: "which multivariate regression?"
2012 Sep 11
4
Maintaining specific order when using aggregate or change order on axis
Hi All,
I'm using the following code to produce some stacked bar graphs.
*setwd("C:\\Users\\Tinus\\Documents\\NMMU\\R\\Seamounts")*
*SChla <- read.csv("SM_Chla_data.csv")*
*
*
*#Extract mean values from data file*
*
*
*Coral <- SChla[185:223,] #Reduce SChla to Coral only*
*coral <- with(Coral , aggregate(cbind(Pico, Nano, Micro),
list(Depth),FUN=mean))*
2011 Nov 12
1
Subsetting data leads to funky plots
I'm trying out a basic plot, but something about the way I subset my data
leads to problems with the plot.
Here is the first bit of my data set
year,date,location,quadrat_juvenile,photo_location,photo_exists,genus,count,divers
2005,2005-04-30, 1 Fringing Reef,1, 1 Fringing Reef Coral Transect Pole 1-2
Quadrat 1,t,Acanthastrea,0,HP+MEM
2005,2005-04-30, 1 Fringing Reef,1, 1 Fringing Reef
2012 Oct 23
2
plotting multiple variables in 1 bar graph
I'd greatly appreciate your help in making a bar graph with multiple
variables plotted on it. All the help sites I've seen so far only plot 1
variable on the y-axis
Data set:
I have 6 sites, each measured 5 times over the past year. During each
sampling time, I counted the occurrences of different benthic components
(coral, dead coral, sand, etc.) over 5 transects in each site
site
2005 Jan 09
2
Coral with Xen
Hi!
Coral isn''t working from Xen. If you can please try it, maybe i''m just
doing something wrong. However it works from outside Xen with the same
setup.
Can Xen cause this kind of DNS errors?
Try something like: http://www.scs.cs.nyu.edu.nyud.net:8090/coral/
or http://www.google.com.nyud.net:8090/
--
/Varga Péter/
-------------------------------------------------------
The
2009 Mar 27
2
print table (data.frame) to pdf
How can I print a data.frame to a PDF with pdf()...dev.off()
____________
Paulo E. Cardoso
[[alternative HTML version deleted]]
2010 Jun 16
3
Decile
Hello comunity,
I'm trying to find a similar function as decile of SPSS, NTILES (10)
some of you know about that, I will appreciate your help in advance.
In SPSS
VARIABLES=Sales (A) /NTILES (10) /PRINT=NO
for example if I have Next data input:
case IdCust Sales Profit 1 265 140.81 314.31 2 266 1778.96 408.32 3 267
2663.66 820.85 4 268 2994.14 913.73 5 269 2185.58 686.64 6 271 105.21
2012 Feb 10
0
Rspec testing (gunfight at coral)
Can any one give me an explanation on whats going on in this exercise.
And any advice on how i should go about it. I dont need any exact codes
just yet. But at least a good idea on how to start will be good
Thanks
Exercise 2: Gunfight at the OK Corral
Description
Overview
This exercise is to create a small ruby program to determine the winners
of gunfights, as seen in old Western movies.
1999 Jun 09
3
Port 7 scan
Over the last several day, we''ve been getting pretty regular scans from a
non-existant host on our port 7. Any idea what they are looking for/what are
some of vulnerabilites with echo?
Thanks
Coral Cook
2007 May 18
1
Goodness-of-fit test for gamma distribution?
Hi all,
I am wondering if anyone has written (or knows of) a function that
will conduct a goodness-of-fit test for a gamma distribution. I am
especially interested in test statistics have some asymptotic
parametric distribution that is independent of sample size or values
of fitted parameters (e.g., a chi-squared distribution with some
fixed df), because I want to fit gamma distributions to
2011 Feb 21
3
Species accumulation curves with differential sampling effort
Hello! I'm a PhD student working with coral reef fish diversity in Mexico.
I want to do species accumulation curves but I have differential sampling
effort for each "sample".
Do you know or have developed an R script that consider the differential
effort of each sample?
PRIMER and other programs use each pack of species as a replica without the
possibility of telling the program that
2006 Jan 21
4
Xen Starting DomainU:Error: Device 0 (vif) could not be connected. Hotplug scripts not working
hi,
I am trying to start a new domainU but got the error:
Error: Device 0 (vif) could not be connected. Hotplug scripts not working
I have struggled with it for a long time. I found somebody else report this
but can not find a solution.
The xen version is xen-3.0 latest version.
I do not have a initrd.
Domain0 works fine but when I create a new domain, it always gives an error
as above.
Thanks,
2012 Apr 14
1
R Error/Warning Messages with library(MASS) using glm.
Hi there,
I have been having trouble running negative binomial regression (glm.nb)
using library MASS in R v2.15.0 on Mac OSX.
I am running multiple models on the variables influencing the group size of
damselfish in coral reefs (count data). For total group size and two of my
species, glm.nb is working great to deal with overdispersion in my count
data. For two of my species, I am getting a
2007 Nov 13
2
group mean, minus each row's value
I used the following to assign each row the group average, where w is
the new group average variable, x is the variabale to be averaged, and
g is the nominal group indicator:
w <- ave(x,g)
Now I want to calculate the group average, but WITHOUT each row's
value of x. Is there an easy way to do this? I'm sure I'm missing
something obvious here, but for the life of me I can't
2007 Nov 12
4
how to assign a group mean to individual cases?
I need advice on how to create a variable that is the group mean of
another variable.
For example, I have a variable called x for which each row in the data
set has a value. I also have a nominal variable called g that
indicates which of 100 different groups each row belongs to.
So, I want to create a new variable called w, which is the group mean
of x for which ever group the row belongs to (as
2009 Sep 14
2
how to recode with an if-type statement
I'm sure this is easy, but I'm having a hard time figuring out how to
recode some data in R.
I have a variable "numpeers" which is valued 1, 2, or 3. I also have
three other variables called "w9zd9_1," "w9zd9_2," and "w9zd9_3." I
want to use these variables to create a new item called "distot."
Specifically, here is what I want to do:
2005 Oct 03
2
"symbol print-name too long"
All,
I've coded a function and it works manually if I copy it line by line into R.
However, when I try to "load" (copy and paste) the entire function into
R, I get the following error after the listed line of code:
+ N.j.list = lapply(rej.hyp, length)
Error: symbol print-name too long
Does anyone you know what this error means? Strangely, when I copy the
same line verbatim
2011 Jun 09
2
Problem with a if statement inside a function
I have a really long functions, and at the end of the function, I am using a
if statement
to tag certain keywords based on whether they have certain values contained
in them.
However, the if statement doesn't seem to work.
When I had split up the commands into various functions, it worked fine, but
I'm not sure
what going on now that it's combined into a single function.
myfunc
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
2008 Mar 19
1
one/multi-dimensional scaling with incomplete dissimilarity matrix
Dear David,
you asked this question a while ago on the R mailing list and got no
answer. I have the same problem and was wondering if you had found a solution
Cheers
Loic
Loic Thibaut, PhD candidate,
ARC Centre of Excellence for Coral Reef Studies,
School of Marine Biology, James Cook University,
Townsville,
Qld, 4811, Australia.
Tel + 61 747 815 735, Fax: + 61 747 251 570, email:
2008 Nov 12
1
.Random.seed is double
Hi
I am experiencing a problem with the random number generator. When I call
any function that involve RNG such as "runif" or "sample" I get this error:
.Random.seed is not an integer vector but of type 'double'
I can't coerce the random seed and it's recommended not to alter it anyway.
Can anybody help me?
Thanks and kind regards,
Piero Visconti, PhD