Displaying 20 results from an estimated 1000 matches similar to: "Attempting to get a STELLA model into R"
2008 Nov 09
3
Arms Race
hey can anybody help me? i have to simulate the richardson Arms race
model on R.. for my simulation class...
2009 Jun 12
1
coupled ODE population model
I'm fairly new to R, and I'm trying to write out a population model that
satisfies the following;
the system consists of s species, i= 1, 2,...,s
network of interactions between species is specified by a (s x s) real matrix,
C[i,j]
x[i] being the relative population of the "ith" species (0 =< x[i] =< 1,
sum(x[i]=1)
the evolution rule being considered is as follows;
2009 Sep 25
1
simulating a model
Dear useRs,
I have written an ecological model, based on the epidemiology SIR model.
I've been trying to simulate it in R.
However, I can't simulate it properly.
Two guesses: my script isn't right; I'm not setting the parameters properly
I have uploaded an image to the model here:
http://img24.imageshack.us/img24/743/imagemutr.jpg
The script I am using is as it follows:
2010 Dec 11
2
Predator Prey Models
Dear R-users,
I am currently modifying a previously developed predator prey model and
was curious if there was a way to add in a disturbance to the model (let's
say at time t=100). The disturbance can be the introduction of 40 prey
(N=40) and 10 predators (Pred = 10). I would like to see my model go from a
state of equilibrium (up to t = 99), show this disturbance (at t = 100) and
then
2000 Feb 03
1
Passwords issues with samba 2.0.6
In my pursuit of integrating samba password authentication with our own
stuff, I've been looking at ways on synchronizing the two. And here are
the two problems for which I hope to get either solution:
a) smbpasswd will not pass down spaces to whatever is called for
synchronization. Barely looking at the synchronization routine, it
scans as a string, which would skip anything after a space.
2018 Nov 14
2
Building LLVM with VisualStudio 2017
Hey Bjorn,
Were you able to figure this out or is it still broken for you?
Our scenario is a little bit different, but I have a theory as to what may be going wrong. What linker are you using when you compile your project with clang-cl? I am wondering whether the version of the linker and/or the libraries that you are using is too old in comparison to the one used for the clang compilation.
2010 Jun 01
2
Help on aggregate method
Dear R experts,
I would really appreciate if you had an idea on how to use more
efficiently the aggregate method:
More specifically, I would like to calculate the mean of certain
values on a data frame,? grouped by various attributes, and then
create a new column in the data frame that will have the corresponding
mean for every row. I attach part of my code:
matchMean <-
2012 Jan 29
1
A desktop Centos remix
Hello Centos users!
I'm doing a Centos 6 desktop oriented remix called Stella.
This has been brewing since the summer and it's starting to get ready. :-)
I've backported a lot of packages from Fedora and Rpmfusion and I
bundle several other repos, too, resulting in a big range of software
available, including but not limited to:
LibreOffice, VLC, MPlayer, Shutter, Arista, Java,
2005 May 11
1
rank (PR#7850)
Full_Name: Stella David
Version: 2.1.0
OS: mingw32
Submission from: (NULL) (137.250.161.136)
It seems that rank doesn't work right on vectors containing negative values.
If the negative value is the first component or there are only two components,
it works, but if the negative value is somewhere in the middle there's a
problem.
Here are my examples:
> # wrong:
> x<-
2010 Apr 19
2
Huge data sets and RAM problems
Dear all,
This is the first time I am sending mail to the mailing list, so I
hope I do not make a mistake...
The last months I have been working on my MSc thesis project on
performing data mining techniques on user logs of a
software-as-a-service application. The main problem I am experiencing
is how to process the huge amount of data. More specifically:
I am using R 2.10.1 in a laptop with
2010 May 20
1
Question about difftime()
Dear R experts,
I have a question about the result of difftime() function: Does it
take into account the different number of days in each month. In my
example, I have the following:
> firstDay
[1] "2010-02-20"
> lastDay
[1] "2010-05-20 16:00:00"
> difftime(lastDay,firstDay,units='days')
Time difference of 89.625 days
>
When I count the days I get 88 days
2010 Jan 03
1
Questions regarding sem using hetcor() function from polycor and diagrams
Hello R Users,
While I have attempted to dig into the R help files and I have not
identified the answer to these questions, I apologize in advance if my
questions were answered in the past. I also recognize that one of my
questions unfortunately verges on statistical rather than code
territory. I have two rather unrelated questions about using the sem and
polycor packages for a relatively
2003 Sep 15
2
Aliases for Netbios name
Hi !
Is There how I use an alias for a Samba Server ?
I tried with dns alias and don't work !
i.e.
Name' Samba Server is PARATY, and I'd like that the
workstations could communicate with this Samba Server, but using
the name SambaPDC.
Is it possible ?
Thanks,
Bruno Stella
brunostella@trt15.gov.br
Setor de Redes - Secretaria de Informatica
Tribunal Regional do
2005 Apr 11
2
Linux Users execute 'login scripts'
Hello !
I have a Samba Server with LDAP(OpenLDAP) authentication and Windows Workstation that
login in domain working all right.
Now, I need to configure Linux workstations to log in Samba Server Domain. The Linux
workstatios users are all in LDAP. How do I configure to execute the 'login script' when a
Linux user log in his linux workstation ?
Thanks for any help !
Bruno Stella
2012 Mar 22
3
How to get the input of a function right?
Hi,
I wrote a function with three inputs fun(x,y,z).
x is a matrix of three vectors combined with cbind. e.g.
x1<-(1,2,3,4)
x2<-(2,3,4,5)
x3<-(3,4,5,6)
x<-cbind(x1,x2,x3)
y is a vector e.g
y<-c(7,8,9)
z is a real number e.g.
z<-2.5
If a give the function an input like this, I get 'NA' in return. If I give
the function a vector e.g c(1,2,3) instead of 'x'
2012 May 02
2
How can a function in R handle different types of input?
Hi,
How can a function in R handle different types of input?
I have written a function, which should calculate the slope from several
3-time-point measurements by linear regression
4 three-time-point-measurements:
x<-cbind(c(1,2,3,4),c(2,3,4,5),c(3,4,5,6))
time points:
time<-c(1,3,9)
function for calculating the slope by linear regression:
fit<-function(xx,t){slope <-
2011 Feb 09
3
Loop in variable names
Hello!
I would like to do some tables for several variables and I would like to write a loop that does the table for each variable. I should also point out that my data set has several missing observations and sometimes the observations that are missing are not the same for all my variables.
What I would like to do:
table(StoreData$CompanyID,
!is.na(StoreData$P2))
2008 Oct 20
1
Calculate SPE in PLS package
Dear list,
I want to calculate SPE (squared prediction error) in x-space, can
someone help?
Here are my codes:
fit.pls<-
plsr(Y~X,data=DAT,ncomp=3,scale=T,method='oscorespls',validation="CV",x=
T)
actual<-fit.pls$model$X
pred<-fit.pls$scores %*% t(fit.pls$loadings)
SPE.x<-rowSums((actual-pred)^2)
Am I missing something here?
Thanks in advance.
Stella Sim
2003 Sep 15
2
How does Samba delete files ?
Hi !
I'd like to know how does Samba delete files, because I need do
something to instead Samba removes files, it moves the deleted
files to another directory, like a Netware Salvage File or a
Windows Trash Can.
Thanks,
Bruno Stella
brunostella@trt15.gov.br
Setor de Redes - Secretaria de Informatica
Tribunal Regional do Trabalho da 15a. Regiao
2003 Oct 29
1
DOS Commands and Samba3 don't work
Hi !
I have the follow problem:
When I access a Shared Directory Samba3 by DOS, in win98
workstation and execute, for example, "dir file.txt", I receive
an error message advising that occured a fault in access the
drive ...
I note this only when I execute the DOS command (del and dir)
with the full file name, and only in win98 workstation, because
in winXP workstation these