Displaying 20 results from an estimated 10000 matches similar to: "Optimization and Linear Programming in R"
2012 May 08
4
glmmADMB
Hi there,
I am new to the package glmmadmb, but need it to perform a zero-inflated
gzlmm with a binomial error structure. I can't seem to get it to work
without getting some strange error messages.
I am trying to find out what is affecting the number of seabird calls on an
array of recorders placed at 4 sites on 6 islands. I have nightly variables
(weather and moonlight), site variables
2010 Sep 17
1
Nonlinear programming problem
Hello useRs,
I'm using the command "solnp" in package "Rsolnp" to solve a general nonlinear programming problem. But I got an error that " the leading minor of order 15 is not positive definite
". Can anybody tell what may cause this error? Does it have something to do with the starting values?
Thanks a lot!!!
Xiaoxi
[[alternative HTML version
2013 Apr 08
1
Computational Ecologist Job at NOAA in Silver Spring, MD -- Marine Wildlife Spatial Modeling in R
The NOAA National Centers for Coastal Ocean Science is hiring a
Computational Ecologist, a statistical/computational ecologist with
experience fitting advanced spatial models to marine wildlife survey
data (e.g., seabirds and marine mammal transects, fisheries trawl
surveys) in R and other statistical languages. This is a full-time,
long-term stable contract position. We are looking for an
2010 Sep 23
1
non-linear integer optimization?
Are there any packages that do non-linear integer otimization? Looked at
lpSolve but i'm pretty sure it only works with linear programming and not
non-linear, tried "L-BFGS-B" optim after flooring all my params, works
somewhat but seems really inefficient. Anything else I should look at?
--
View this message in context:
2012 May 21
1
fda modeling
Dear friends - We have 25 rats, 14 of these subjected to partial removal
of kidney tissue, 11 to sham operation, and then followed for 6 weeks.
So far we have data on 26 urine metabolites measured by NMR 7 times
during the observation. I have smoothed the measurements by b.splines in
fda including a roughness penalty, and inspecting the mean curves for
nephrectomized and sham animals indicate
2010 Aug 10
1
[Fwd: Re: optimization subject to constraints]
-------------- next part --------------
An embedded message was scrubbed...
From: Gildas Mazo <gildas.mazo at curie.fr>
Subject: Re: [R] optimization subject to constraints
Date: Tue, 10 Aug 2010 15:49:19 +0200
Size: 4924
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20100810/78862894/attachment.eml>
2012 Jul 18
4
The best solver for non-smooth functions?
# Hi all,
# consider the following code (please, run it:
# it's fully working and requires just few minutes
# to finish):
require(CreditMetrics)
require(clusterGeneration)
install.packages("Rdonlp2", repos= c("http://R-Forge.R-project.org",
getOption("repos")))
install.packages("Rsolnp2", repos= c("http://R-Forge.R-project.org",
2012 Mar 13
1
size of graphs when using multiple figures by row
Hi all,
I have a basic question concerning graphs in R. I?m using the par()
function and I?m working with multiple figures by row (mfrow) but my the
hight of my figures become compressed. I have 4 rows and 2 columns (because
I want to plot 8 histograms (freq = FALSE ) on it. I know I can adapt my
margins with for example ?oma? and ?mai? but I don?t know how to choose the
size of the figure? I
2013 Sep 06
1
Fwd: calculating dissimilarity index of islands (vegan and betapart)
Dear List,
This is Elaine, a postgraduate studying in bird distributions in East Asia.
I want to calculate Simpson dissimilarity index,
based on a presence/absence matrix of bird species in islands in East Asia.
(matrix row: 36 islands/matrix column: species ID)
(R package vegan to make NMDS and R package betapart)
In most papers using vegan for NMDS and betapart for dissimilarity
2009 Jun 04
3
Plot and lm
I want to make a log-log plot with a regression line, but I can't figure
out what I'm doing wrong. What I'm trying is:
plot(mass,area, log="xy", pch=as.numeric(food))
abline(lm(mass~area))
or
plot(mass,area, log="xy", pch=as.numeric(food))
islands$logmass <- log(mass)
islands$logarea <- log(area)
attach(islands)
abline(lm(logmass~logarea))
But that does
2012 Jul 20
1
Dissolve polygon
Hi,
I am working with a SpatialPolygonsDataFrame of many islands. There are a
lot of polygons (islands) composing my SpatialPolygonsDataFrame.
I want to extract the elevation of each island.
I need to separate the different polygons (like dissolve function in
arcgis), to have the elevation of each island.
Do you have any idea how can I do that ?
I already read a lot of forum, and read the
2013 Sep 20
3
search species with all absence in a presence-absence matrix
Dear list
I have a matrix composed of islandID as rows and speciesID as columns.
IslandID: Island A, B, C….O (15 islands in total)
SpeciesID: D0001, D0002, D0003….D0100 (100 species in total)
The cell of the matrix describes presence (1) or absence (0) of the species
in an island.
Now I would like to search the species with absence (0)
in all the islands (Island A to Island O.)
2009 Jul 12
2
Nonlinear Least Squares nls() programming help
Hi, I am trying to use the nls() function to closely approximate a vector of
values, colC and I'm running into trouble. I am not sure how if I am asking
the program to do what I think its doing, because the same minimization in
Excel's Solver does not run into problems. If anyone can tell me what is
going wrong, and why I'm getting a singular convergence(7) error, please
tell me. I
2003 Jan 08
1
Determining the break points by hist() leads to errors (PR#2432)
Hi,
if I dermine the break points using the hist() function and then try
to re-use these in a new histogram, R fails. Here is an example of the
problem:
##First, plot a histogram:
data(islands)
foo <- hist(islands,freq=T)
##Now, try plot it again, with the previously determined break points:
hist(islands,breaks=foo$breaks,freq=T)
##... this lead to the warning message:
Warning message:
2001 May 20
1
hist() ignores 'probability=T' (PR#944)
In the following, 'probability=T' is ignored,
i.e. the vertical axis is labelled in
frequencies.
However hist(islands, freq=F) achieves the desired effect.
> data(islands)
> hist(islands, probability=T) # Vertical axis gives frequencies
> hist(islands, freq=F) # Expected result
--please do not edit the information below--
Version:
platform = i386-pc-mingw32
2009 Feb 03
1
R-CPCA
Dear Ben Bolker,
searching for a R code able to do the CPCA I found a message by you on
https://stat.ethz.ch/.
In that message you said you have something I am looking for. Would you
share with me? I ma stuck with a commercial software (GOLPE) that is not
developed anymore, therefore I'd like to try to use R for the
calculations I need.
Looking forware for a reply from you
Rino
--
2011 May 04
1
issue with "strange" characters (locale settings)
WinXP-x32, R-21.13.0
Dear list,
I have a problem that (I think) relates to the interaction between Windows
and R.
I am trying to scrape a table with data on the Hawai'ian Islands, This is my
code:
library(XML)
u <- "http://en.wikipedia.org/wiki/Hawaii"
tables <- readHTMLTable(u)
Islands <- tables[[5]]
The output is (first set of columns):
2007 Jun 14
1
names() after library(RDCOMClient) problem(?)
Hello,
Try example(names) in R 2.5.0 after library(RDCOMClient) and you get
> example(names)
names> # print the names attribute of the islands data set
names> names(islands)
Error in names(islands) : no applicable method for "names"
>
Is this normal? Any way round it???
Best regards,
Costas
----------------------------------
Costas Vorlow
2003 Apr 21
4
nonlinear equation solver?
Dear R-Help,
I am trying to use R to solve a nonlinear equation many times for different values. I am looking for a mathematical nonlinear equation solution which may not have a closed solution form. For example, I have equation:
2 = (t^2)/log(t)
What is t?
I am wondering how to solve it in R.
Many thanks,
Zhu Wang
Statistical Science Department
SMU.
2010 Mar 27
5
producing a QQ plot.
Hello everyone I'm a beginner in Stats and R, I'm using R 2.10.1. I need to
create a multivariate qq plot, there is 8 variable group with each has 55
number of input. An example of what I did so far, just to get my point out:
> data=read.csv(file.choose(),header=T)
> data
country village group av_expen P2ary_ed no_fisher
1 Cook Islands Aitutaki D