search for: myvar2

Displaying 6 results from an estimated 6 matches for "myvar2".

Did you mean: myvar
2006 May 21
2
nls & fitting
...130.390552 6 1264.9111 36.727069 7 1788.8544 52.848587 8 2449.4897 25.128742 9 3464.1016 7.531766 10 4472.1360 8.827367 11 6123.7244 6.600603 12 8660.2540 4.083339 I would like to fit N as a function of x according to a function depending on 9 parameters (A1,A2,A3,mu1,mu2,mu3,myvar1,myvar2,myvar3), namely N ~ (log(10)*A1/sqrt(2*pi)/log(myvar1)*exp(-((log(x/mu1))^2)/2/log(myvar1)/log(myvar1)) +log(10)*A2/sqrt(2*pi)/log(myvar2)*exp(-((log(x/mu2))^2)/2/log(myvar2)/log(myvar2)) +log(10)*A3/sqrt(2*pi)/log(myvar3)*exp(-((log(x/mu3))^2)/2/log(myvar3)/log(myvar3))) (i.e. N is to be seen a...
2012 Jul 26
4
names function not working at the 2nd place in a program
Hello, I am using names function to name an array. It works first time when I use *as.numeric(names(myVar1)* However, at a place later, when I tried to use a very similar line of code *as.numeric(names(myVar2)*, it always returned 'numeric(0)' (or if I only type 'names(myVar2), it gave me NULL'. Both myVar1 and myVar2 are type of integer. The only difference that I can tell is where the names function are called in my code. Does anyone have an idea what may cause the problem? Thanks...
2004 Nov 04
3
calling a var by name in another var
Hello list, I'd like to use a variable (or a column of a data frame) by using its name as a string. E.g.: Data2003 <- c(150,200,120) Data2004 <- c(145,211,110) myvar1 <- "Data2003" myvar2 <- "Data2004" # now I'd like do do this total <- Data2003 + Data2004 # in any way like # total <- ???(myvar1, myvar2) # or # total <- ???(myvar1) + ???(myvar2) # or something like that Is there a possibility to do this in R - can't find a solution! Thanks a lot
2015 Aug 14
2
[LLVM RFC] Add llvm.typeid.for intrinsic
...truct name __g_##name; OUTPUT_STR(mystr) int x; int y; int z; OUTPUT_STR_END(mystr); OUTPUT_STR(mystr2) int x; int y; OUTPUT_STR_END(mystr2); --------------- RESULT ------------- int func(void) { int x = 123; struct mystr myvar; struct mystr2 myvar2; output_mystr(&myvar); output_mystr2(&myvar2); output_mystr(&myvar); return 0; } int func2(void) { int x = 123; struct mystr myvar; struct mystr2 myvar2; output_mystr2(&myvar2); output_mystr(&myvar); output_mystr2(&myvar2);...
2015 Aug 12
3
llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event
On 2015/8/12 12:57, Alexei Starovoitov wrote: > On Wed, Aug 12, 2015 at 10:34:43AM +0800, Wangnan (F) via llvm-dev wrote: >> Think about a program like this: >> >> struct strA { int a; } >> struct strB { int b; } >> int func() { >> struct strA a; >> struct strB b; >> >> a.a = 1; >> b.b = 2; >>
2011 Jun 13
2
use variable value to create new variable name
Hi, Is it possible (and how) to use a variable value to create a name of a new R variable? I want to do something like this: for (i in 1:3) { newvarialbe_#i# = somedata } where #i# is a value stored by i. In the first loop, there will be newvariable_1, in second newvariable_2 and so on. Thanks in advance, Maciek [[alternative HTML version deleted]]