similar to: how to reconstruct the discriminant funciton from lda$prior, $means and $scaling

Displaying 20 results from an estimated 100 matches similar to: "how to reconstruct the discriminant funciton from lda$prior, $means and $scaling"

2008 Oct 23
3
Fuctions help!
Hi everyone, I have a question about functions. I have two functions: Sampling=function(fname,Total,nSample,nPatient){......return(list(Gmean,Gsd))} Power=function(alfa,m1,m2,s1,s2,n1,n2){....return(powe)} I want to use "Gmean" and "Gsd" which are the returned values from "Sampling" function, in "Power" function. i.e. when I call "power" I want
2008 Oct 17
2
function help
Hi everyone, I have dataset which I make a sample of it couple of times and each time I get the mean and standard deviation of each row for each sample. I have a function for that, which takes the name of the file and number of times to sample and then returns the mean and standard deviation for each row in each sample. Sample=function(name, n){
2008 Oct 22
2
Help with functions
Hi there, I have a the following function which takes a name(fname), total number of rows (Total), number of times to make a sample(nSample), number of records/rows to be included in each sample(nPatient). then it generates required samples and calculates the mean and standard deviation of the columns for each sample and finally in calculates the grand mean and standard deviation. The problem
2005 May 30
0
a question about read.marrayRaw
Hi, everyone, I ran the test case in "Introduction to the Bioconductor marrayInput package first. When I ran the session in (read.marrayRaw) I got the following error messages. Other sessions work well. The functions and errors are labled with blue and red respectively. >mraw <- read.Spot(path = datadir, layout = galinfo$layout, gnames = galinfo$gnames, target = swirlTargets) Error
2006 Dec 11
2
updating rgl on debian stable
Running: R Version 2.3.1 (2006-06-01), debian stable I'm testing an application that uses rgl (installed with apt-get install r-cran-rgl) but fails, at least partly because that application uses a more current version. There is also a mysterious error msg from Xlib: > library(car) > library(rgl) > iris.mod <- lm(cbind(Sepal.Length, Sepal.Width, Petal.Length, Petal.Width) ~
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 =
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?
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
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:
2007 Nov 21
2
Reconstruct array dataset
Hi there I have an interesting problem: My csv file is of array dimensions [12,50], but it was saved the wrong way: there should be only 11 colums. What happens now if I read it into R is that the whole data set is shifted ( in the first row, the last column contains already the first value of the supposed second row and so on...) how can I tell R to switch after 11 read values to the next row,
2009 Dec 15
2
Reconstruct a dataset
Dear all, I have a dataset that looks like this: inividual var1 var2 ? 1 1 1 ? 2 1 2 ? 3 2 1 ? 4 2 2 ? ? ? ? ? I will random sample 2 individuals from this dataset based on a set of random numbers, e.g., rn1 <- c(0, 0, 1, 1), rn2 <- c(0, 0, 2, 0), rn3 <- c(1, 0, 0, 1), rn4 <-
2010 May 20
2
reconstruct recovery of rpool zpool and zfs file system with bad sectors
Folks I posted this question on (OpenSolaris - Help) without any replies http://opensolaris.org/jive/thread.jspa?threadID=129436&tstart=0 and am re-posting here in the hope someone can help ... I have updated the wording a little too (in an attempt to clarify) I currently use OpenSolaris on a Toshiba M10 laptop. One morning the system wouldn''t boot OpenSolaris 2009.06 (it was simply
2008 Feb 06
3
Reconstruct disklabel for UFS and GELI volumes
Hi, Somehow[TM] an installation of 4.11 to ad0s3 managed to wipe out my existing disklabel for 7.0 on ad0s4. I now need to recover the disklabel to get my system to boot! There were three labels - ad0s4a: UFS, exact size unknown. Is it possible to infer this from the UFS partition size? I can mount this already, as I simply wrote an 'a' label of maximum size to the disklabel - ad0s4b:
2011 Jul 22
1
Mean and Timeseries modelling
Hello, i have following problem and I hope you can help me a little bit My dataframe looks like: df a m d typ value 1950 1 1 5 -4.1 1950 1 2 9 2.7 1950 1 3 3 -1.3 1950 1 4 5 -1.9 1950 1 5 2 0.2 1950 1 6 8 0.5 1951 1 1 4 1.3 .... It consists by daily observations from 1950- 2009. Now, I get with.... for (i
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
2009 Mar 18
0
Wavelet reconstruction with coefficients set to zero
Dear all: Greetings from Mumbai, India. Reference?R help solution [Rogerio, Thu 16 Nov 2006 - 20:54:25 GMT]. Simonsen, Jensen and Johansen (2002) [arXiv:cond-mat/0202352v1] note "(.wavelet filtered was...) achieved?by first transforming the log-price [...] to the?wavelet-domain, setting all wavelet coefficient corresponding?to scales larger then 1000 trading days to zero, and finally
2018 Apr 22
0
Reconstructing files from shards
Il 20/04/2018 21:44, Jamie Lawrence ha scritto: > Hello, > > So I have a volume on a gluster install (3.12.5) on which sharding was enabled at some point recently. (Don't know how it happened, it may have been an accidental run of an old script.) So it has been happily sharding behind our backs and it shouldn't have. > > I'd like to turn sharding off and reverse the
2018 Apr 23
0
Reconstructing files from shards
Il 22/04/2018 11:39, Gandalf Corvotempesta ha scritto: > Il dom 22 apr 2018, 10:46 Alessandro Briosi <ab1 at metalit.com > <mailto:ab1 at metalit.com>> ha scritto: > > Imho the easiest path would be to turn off sharding on the volume and > simply do a copy of the files (to a different directory, or rename > and > then copy i.e.) > > This
2018 Apr 22
0
Reconstructing files from shards
So a stock ovirt with gluster install that uses sharding A. Can't safely have sharding turned off once files are in use B. Can't be expanded with additional bricks Ouch. On April 22, 2018 5:39:20 AM EDT, Gandalf Corvotempesta <gandalf.corvotempesta at gmail.com> wrote: >Il dom 22 apr 2018, 10:46 Alessandro Briosi <ab1 at metalit.com> ha >scritto: > >> Imho