Displaying 20 results from an estimated 162 matches for "funciton".
Did you mean:
funcion
2008 Jun 18
3
Number of digits in paste funciton
Hi!
Does anyone know hot to set number of digits to be printed in function
'paste'?
Tine Mla?
2005 Jun 23
0
how to reconstruct the discriminant funciton from lda$prior, $means and $scaling
Hi R folks,
How can I generate the discriment function from lda?
I have an unbalanced data set. one class has about 25
entries and another class has about 200 entries.
I used lda for classification
> z<- lda(V3 ~ V1+V2, data)
> z
Prior probabilities of groups:
0 1
0.91111111 0.08888889
Group means:
V1 V2
0 0.4445161 0.04723951
1 0.4058900
2018 Apr 16
0
Inverse Gaussian distribution not working in glm funciton
Hello everybody,
I have encountered a problem with the inverse Gaussian distribution. It is very likely that it will not work regardless of the data input. I have programmed this regression and it works fine no matter which distribution the response comes from.
If you run this example (first tried and already got the error)
set.seed(1234)
y = abs( rnorm(150) )
glm( y ~ ., iris, family =
2003 Feb 16
1
__stdcall funcitons called using .C() on win32 chokes
I've developed a dll (win32) of a bunch of functions prototypes as:
/* for building on *nix */
#ifndef WIN32
#define __stdcall /*nothing*/
#endif
void __stdcall dbh_2_height(
const unsigned long *func_idx,
const unsigned long *metric,
const unsigned long *species,
const double *dbh,
double *pred_height );
and have created a R interface
2012 Mar 17
1
[LLVMdev] [llvm-commits] Review Request: Use SmallPtrSetImpl instead of SmallPtrSet in funciton IVUsers::AddUsersIfInteresting
hi,
On Sat, Mar 17, 2012 at 2:11 AM, Andrew Trick <atrick at apple.com> wrote:
> Yep. I normally do that. I was under some strange impression last night that SmallPtrSetImpl wasn't a template.
The patch is incorrect because the SmallPtrSetImpl is neither a
template nor has an "insert" function...
After a detailed look at the header of SmallPtrSet, I found that the
2020 Oct 06
4
Solving a simple linear equation using uniroot give error object 'x' not found
...ork
yfun(10,100,10)
# use uniroot to find a solution to the
# function in the range -100 to 100
uniroot(yfun(x,10,20),c(-100,100))
My output:
> # Define the function
> yfun <- function(x,diffMean,diffSE) ((abs(diffMean)-x)/diffSE)
> # Prove the function and a call to the funciton works
> yfun(10,100,10)
[1] 9
> # use uniroot to find a solution to the
> # funciton in the range -100 to 100
> uniroot(yfun(x,10,20),c(-100,100))
Error in yfun(x, 10, 20) : object 'x' not found
Thank you,
John
John David Sorkin M.D., Ph.D.
Professor of Medicine
Chief...
2006 Jan 19
7
validates_numericality_of positive integer
Hi,
What is the simplest way to validate a positive integer?
validates_numericality_of :foo, :integer_only => true
how do I add the positive part? Do I need another validation statement
for pattern matching or do I have to write a validate() funciton for
my model?
Thanks,
Peter
2008 Dec 15
0
[LLVMdev] How to get the total number of variables in a funciton?
Mingxing Tan wrote:
>
> Hi, all;
>
> How can I get the number of variables in a function/module (both the
> number of variables in original source program and the number of
> temporal variables for ssa-form)?
>
Do you want the SSA values *created* by a function, those used by a
function, or both?
For SSA values, simply iterate over all of the instructions within the
2008 Dec 09
2
[LLVMdev] How to get the total number of variables in a funciton?
Hi, all;
How can I get the number of variables in a function/module (both the number of variables in original source program and the number of temporal variables for ssa-form)?
I’m dealing with some dataflow analysis problem and need the information of variables. Appreciate any help.
Thanks.
Star.Tan
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2004 Mar 16
3
rate of change
Hello
I am wondering, how do I find if R has a certain
funciton to do a given task. do I just type
help.search("rate").
I am just trying to find a function to calculate the
rate of change for a variable. I could come up with
one if there isn't any allready builtin.
thanks
2007 Oct 01
3
3-dimensional graph
Windows XP
R 2.3.1
I have a funciton
fit1<-lm(y~x+z)
Is there a function that will produce a 3-dimensional plot of y,x,z?
I looked at the help files, but did not find a clean answer to my question.
Thanks,
John
John Sorkin M.D., Ph.D.
Chief, Biostatistics and Informatics
University of Maryland School of Medicine Division of Gero...
2010 Jan 08
4
Arguments of a function
...uments in my own function. For
example, I have a function that looks like this:
my.f <- function(a = x1, b = x2)
{
x1 = equation 1
x2 = equation 2
x3 = equation 3
y = a + b
}
x1, x2, and x3 are temporary variables (intermediate results) calculated
from other variables within the funciton. I want to use two of these three
variables to calculate y, and write R script as below:
my.f(a = x1, b = x2)
or
my.f(a = x2, b = x3)
The error information shows that: ?objects 'x1', 'x2', or 'x3' not found?.
Can anybody help me solve this problem? Thanks in advance....
2020 Oct 06
0
Solving a simple linear equation using uniroot give error object 'x' not found
...ind a solution to the
> # function in the range -100 to 100
> uniroot(yfun(x,10,20),c(-100,100))
>
>
> My output:
>> # Define the function
>> yfun <- function(x,diffMean,diffSE) ((abs(diffMean)-x)/diffSE)
>> # Prove the function and a call to the funciton works
>> yfun(10,100,10)
> [1] 9
>> # use uniroot to find a solution to the
>> # funciton in the range -100 to 100
>> uniroot(yfun(x,10,20),c(-100,100))
> Error in yfun(x, 10, 20) : object 'x' not found
The problem is that uniroot() wants a functio...
2004 May 24
2
Manova and specifying the model
Hi,
I would like to conduct a MANOVA. I know that there 's the manova() funciton and the summary.manova() function to get the appropriate summary of test statistics.
I just don't manage to specify my model in the manova() call. How to specify a model with multiple responses and one explanatory factor?
If I type:
pcor.manova<-manova(isol+hcom+habarea+inclin+windprot+shr...
2010 Dec 22
8
Possible Bug (Include ${HANGUPCAUSE} in CDR)
...n my h
extension.
exp..
exten => h,n,Set(CDR(cause_code)=${HANGUPCAUSE})
I need the cause code stored.
Really what I need to be able to do is in the h quickly store some values
to the CDR then.
For the write of the CDR and stopping the billing seconds. Then continue
to process some cleanup funcitons.
How can I work arround asterisk not honoring the endbeforehexten=no.
Is there some other way to achieve this?
Bryant I need the cause code stored.Really what I need to be able to do is
in the h quickly store some values to the CDR then.For the write of the CDR
and stopping the billing seconds...
2009 Mar 24
2
help: what are the basis functions in {mgcv}: gam?
I am writing my thesis with the function gam(), with the package {mgcv}.
My command is: gam(y~s(x1,bs="cr")+s(x2, bs="cr")).
I need help to know what are the default basis funcitons for gam. I have not
found any detailed reference for this.
Can anyone help me with this??
--
View this message in context: http://www.nabble.com/help%3A-what-are-the-basis-functions-in-%7Bmgcv%7D%3A-gam--tp22673295p22673295.html
Sent from the R help mailing list archive at Nabble.com.
2007 May 04
2
need more knowledge about asterisk
...2007 and have installed the asterisk svn 1.4
with success. I also used the patch for cellphones and it works perfectly. I
was that happy that I decided to buy a TDM11B and it works.
Now, I want to study a bit the code used by this people. Does anybody know
how can I go deeper in this code with funcitonal bloqs in order to
understand how is possible to interface that much new technologies? I know
there is a book available but I am not in a mood for buying it.
Any ideas?
Thanks in Advance,
Iban
_________________________________________________________________
Un amor, una aventura, compa??a p...
2015 Jun 23
2
Server Member
Hi guys,
I have a server in Debian 8 with Samba 4.2.2 compiled about sources. This
server is my project for small busines and run all network funcitons. The
functions like AD, DNS, DHCP, NTP, File Server, Print Server, Openfire,
OCS, GLPI, Squid and Squidguard are work integrated on Domain perfectly. My
problem is that some clients need run a windows aplication so I put a
windows server as member server but I canot access Windows Server via RDP
c...
2019 Jan 05
2
Solr -> Xapian ?
Op 04/01/2019 om 11:17 schreef Joan Moreau via dovecot:
>
> Why not, but please guide me about the core structure (mandatory
> funcitons, etc..) of a typical Dovecot FTS plugin
>
The Dovecot API documentation is not exhaustive everywhere, but the
basics are documented. The remaining questions can be answered by
looking at examples found in similar plugins or the relevant API sources.
I know of one FTS plugin not written by Do...
2006 Dec 27
3
how to transform string to variable name in a fuction?
...df[df[,1]=='a',] ; df.b <- df[df[,1]=='b',] ; ....
> df.a
aa bb
1 a 20.27802
4 a 22.32898
...
So, when completed, there should be df.a, df.b,df.c, etc.
If we could do this by hand, it is pretty fine. But could I write a loop to do this ?
when I tried this using a funciton, there is a problem.
> for ( i in levels(df[,1])) {
+ name = paste('df',i,sep='')
+ name <- df[df[,1]==i,]
+ }
> name
aa bb
3 c 21.33470
6 c 20.38979
> ls()
[1] "df" "i" "name"
> i
[1] "c"
there is not data fra...