Displaying 20 results from an estimated 500 matches similar to: "Problem to compute a function with very large numbers"
2004 Jan 14
1
NLS mensagem error...
Hi R-masters,
I have a problem with nls() and my research data. Look this example:
X2000<-c(1.205268,2.850695,5.100860,8.571610,15.324513,25.468599,39.623418,61.798856,91.470006,175.152509)
age<-c(37,42,47,52,57,62,67,72,77,82)
fit <- nls(X2000~R*exp(A*age),start=list(R=.1,A=.1))
Error mensage:
Error in nls(X2000 ~ R * exp(A * age), start = list(R = 0.1, A = 0.1)) :
2013 Apr 22
2
subset dataframe
I can't understand what is happening. This is the code and results:
> agoa <- read.table(file = "C:/Users/HTPC/Documents/_Documents/Research/WithDidia/AGOAUSImports.txt", header = T, sep = "\t", dec = ".", na.strings = "NA", stringsAsFactors = T)#
> str(agoa); names(agoa)
'data.frame':109 obs. of 19 variables:
$ X : Factor w/ 39
2005 Jun 29
2
quick way to construct formula
Dear R users,
I have a data with 1000 variables named "x1", "x2", ..., "x1000", and
I want to construct a formula like this format:
~x1+x2+...+x1000+x1:x2+x1:x3+x999:x1000+log(x1)+...+log(x1000)
That is: the base variables followed by all interaction terms and all
base feature log-transformations. I know I can use several paste
functions to construct it. But is
2011 Feb 18
2
xyplot formula
df=data.frame(country=c("A","A","A","B","B","B"),
food=rep(c("Apples","Pears","Bananas"),2),
X2000=c(4,5,6,7,6,8),
X2001=c(4,5,6,7,6,8),
X2002=c(4,5,6,7,6,8),
X2003=c(4,5,6,7,6,8));
I have data in the above form trying to get a plot of each fruit over time
year conditioned on country and
2010 Apr 14
6
sum specific rows in a data frame
I have a data frame called "pose":
DESCRIPTION QUANITY CLOSING.PRICE
1 WHEAT May/10 1 467.75
2 WHEAT May/10 2 467.75
3 WHEAT May/10 1 467.75
4 WHEAT May/10 1 467.75
5 COTTON NO.2 May/10 1 78.13
6 COTTON NO.2 May/10 3 78.13
7 COTTON NO.2 May/10 1 78.13
2011 Jul 07
2
elimination duplicate elements sampling!
Hi everyone!
I have a data frame with 1112 time series and I am going to randomly
sampling r samples for z times to compose different portfolio size(r
securities portfolio). As for r=2 and z=10000,that's:
z=10000
A=seq(1:1112)
x1=sample(A,z,replace =TRUE)
x2=sample(A,z,replace =TRUE)
M=cbind(x1,x2) # combination of 2 series
Because in a portfolio with x1[i]=x2[i],(i=1,2,...,10000) means a 1
2010 Nov 17
3
stacking consecutive columns
I have a file, each column of which is a separate year, and each row of each column is mean precipitation for that month. Looks like this (except it goes back to 1964).
month X2000 X2001 X2002 X2003 X2004 X2005 X2006 X2007 X2008 X2009
1 1.600 1.010 4.320 2.110 0.925 3.275 3.460 0.675 1.315 2.920
2 2.960 3.905 3.230 2.380 2.720 1.880 2.430 1.380
2007 Apr 20
3
Developing Marketing materials ...
Hi,
I am working on developing a professional Marketing Materials for my
systems.
I plan on using a very good(expensive) company to do that so splitting the
costs with several people would be nice.
Let me know if you are interested on taking part in it.
robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Nov 03
3
Nortel Option 11C and SIP gateway integration
Skipped content of type multipart/mixed-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 186 bytes
Desc: OpenPGP digital signature
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20061103/b35592e2/signature.pgp
2004 Dec 19
2
dialplan selection
Hello,
I would like to parse inbound Asterisk IAX2 7-digit numbers in the form of
123-4567 and strip out the first four digits, and then dial whatever number
digits remain. If I only have three digits (000-999) and have a mix of
channels (ZAP, SIP, IAX2) could someone please point out how I can use a
single DIAL command to just dial the extension regardless of the type of
channel. .. For each
2017 Jan 24
5
Linking Linux kernel with LLD
>Our tokenizer recognize
>
> [A-Za-z0-9_.$/\\~=+[]*?\-:!<>]+
>
>as a token. gold uses more complex rules to tokenize. I don't think we need that much complex rules, but there seems to be >room to improve our tokenizer. In particular, I believe we can parse the Linux's linker script by changing the tokenizer rules as >follows.
>
>
2011 Dec 10
2
efficiently finding the integrals of a sequence of functions
Hi folks,
I am having a question about efficiently finding the integrals of a list of
functions. To be specific,
here is a simple example showing my question.
Suppose we have a function f defined by
f<-function(x,y,z) c(x,y^2,z^3)
Thus, f is actually corresponding to three uni-dimensional functions
f_1(x)=x, f_2(y)=y^2 and f_3(z)=z^3.
What I am looking for are the integrals of these three
2012 Jul 15
4
extracting rows and columns from a big matrix
Hi there and thanks in advance.
I have a large symmetrical matrix stored in a text file. After load in R I would like to extract the same number of columns and rows (symmetrical submatrix) using their labels.
I have tried this code in order to extract columns, but R console gives me the "+" sign at the end of the code, pointing out incomplete command, so it is not working:
2007 Apr 24
4
Marketing 101
I have some general questions about marketing. Lot's of technical info but
I was wondering how people are getting the business to begin with. I'm from
the IT end of things but Telco is quite a bit different. Is cold calling
still the way to go or networking? General stuff like that.
Are there any resources on the web I can search for? Any suggestions would
be appreciated.
2010 Feb 12
1
List to matrix or to vectors conversion
Dear list,
I have a list with 1000 x1000 lines and columns do you know how I can
convert it to matrrix or data.frame.
Thanks.
Juan
--
Juan Tomás Sayago
Universidad Central
http://sites.google.com/site/juantomassayago/
Objetivo: Garantizar a cada ser humano que habite en el país, una cantidad
mínima de agua con calidad segura para el consumo humano, en forma regular,
permanente y suficiente para
2006 Mar 28
3
How to generate a list of lists recursively (for bayesm)
Dear all,
I need to generate a list of lists as required by the bayesm-package. This means in my application that I have to generate a list which consists of 2000 elements, which are lists themselves:
list(list(y1,X1),...,list(y2000,X2000)).
The y are vectors and the X are matrices of different dimensions. I tried to solve this problem iteratively by the following code, but received an error
2007 Mar 26
1
1.4 - IAX2 - No registration for peer
hi,
I'm getting registration errors I can't debug...
[Mar 23 11:07:20] NOTICE[2952]: chan_iax2.c:7344 socket_process:
Registration of 'host2' rejected: 'Registration Refused' from:
'10.10.10.82'
I was getting a 'Cause Code: 29' INV,POKE,...,REJ but I can't
duplicate that level of debugging again in the CLI>
on host15 10.10.10.15
2004 Dec 10
5
win32-process 0.3.1 is out
Hi all,
Just wanted to let you know that I released 0.3.1 last night. This
addresses Bug #712 and incorporates Patches #1087 and #1137 (thanks
Aslak).
I''ll try to get an open4 implementation out this weekend, though I
noticed that Aslak''s patch is different than what Park originally had,
so I''ll have to decide which I prefer, or if they can be blended
somehow.
2011 Mar 22
1
help need on working in subset within a dataframe
Dear R-experts
Execuse me for an easy question, but I need help, sorry for that.
>From days I have been working with a large dataset, where operations are
needed within a component of dataset. Here is my question:
I have big dataset where x1:.....x1000 or so. What I need to do is to work
on 4 consequite variables to calculate a statistics and output. So far so
good. There are more vector
2005 Mar 20
0
FW: Can't get more than one SIP device to be able to make outgoing calls
I'm in the initial stages of my asterisk experimentation, and after some
messing about, have it working to some extent. Right now I'm in a pure SIP
environment with no trunk lines and no NAT, and am configuring everything
via Asterisk@Home.
My problem is that I am only able to get one SIP device to be able to call
out at a time. For example, if I register my Cisco 7960 at extension