Displaying 20 results from an estimated 1000 matches similar to: "Create column of frequency"
2009 May 06
4
subset data
Dear all,
> data <- data.frame(id=seq(1:10),x=runif(10))
> data
id x
1 1 0.3604464
2 2 0.4813987
3 3 0.0160058
4 4 0.7165909
5 5 0.6092248
6 6 0.2413049
7 7 0.7981568
8 8 0.6093960
9 9 0.2887064
10 10 0.3485780
> selected.id <- sample(data$id,3,replace=F)
> selected.id
[1] 9 7 1
I want to select data with corresponding selected.id, namely
>
2012 Feb 05
1
R- Fisher Information
Dear All,
Can you help me, with the code below how do I obtain the fisher information from it.
Is my q<-replicate(1000,x) the right way to do simulation.
thank you.
x<-rweibull(100,0.8,1.5)
q<-replicate(1000,x)
z<-function(p){
beta<-p[1]
eta<-p[2]
log1<-(n*log(beta)-n*beta*log(eta)+(beta-1)*sum(log(x))-sum((x/eta)^beta))
return(-log1)
}
zz<-optim(c(0.5,0.5),z)
zz
Chris
2015 Jul 27
2
R package with Fortran module on Windows? undefined reference to `__stack_chk_fail'
Hi,
I created a R library that uses a Fortran module. Everything works like a
charm on linux.
Now I'm trying to make it work on Windows. I cloned my git repository
<https://github.com/ignacio82/MyPi> on a windows computer, and when I press
the build and reload button on Rstudio I get these errors:
==> Rcmd.exe INSTALL --no-multiarch --with-keep.source MyPi
* installing to library
2012 Mar 11
2
Matrix negative fraction power
Dear list,
I understand that to raise matrix A to power (-1/2) we should use something
like this:
eigen(A)$vectors%*%diag(1/sqrt(eigen(A)$values))%*%t(eigen(A)$vectors)
[from previous discussions:
http://r.789695.n4.nabble.com/matrix-power-td900335.html]
But this will only do it for negative sqrt of the matrix not for other
fraction powers like (-3/2).
Seeing that these things be can done
2011 Jun 07
1
variable selection in linear regression
Hello
With due respect, have a nice time. I would like to ask some command in R.
It is regarding variable selection in linear regression.
In R, there is one rebuild function called "step" which
selecting variables according to AIC.
let say i have data [y, x1,x2,x3,x4]
we start with y~b0
i compute the partial F test and choose the variable
with maximum partial F to enter the
2012 May 13
1
how to write data using xlsReadWrite
Hai I'm Dee. I'm trying to write var data from these codes inside excel
file. My directory to store the data is *D:\FYP\image* .
these are my codes, can you help give an advice or idea with my problem:
l*ibrary("biOps")
library("waveslim")
library("xlsReadWrite")
x <- readTiff("D:\\FYP\\image\\SignatureImage\\user186g1.tif")
y <-
2019 Jul 07
2
Can't Connect With New Install
Hello -
I'm working on a project that when deployed I'll need wireless access for
updates / configuration changes. I've installed Samba but can't get it to
work. I can SSH and ping both the host name and IP, but no Samba.
I've searched online for help and tried everything that sounded reasonable
but I'm at a dead end. Here's some of the relevant info and I'd be glad
2006 Jun 14
5
Rails SOAP tutorial
Hi all..
I new in Ruby/Rails.. Where could i get some good tutorial about SOAP
using Rails?
I''ve been googling yet still did''nt find good tutorial.
Thank you in advance.. :)
--
Regards,
Ananda Putra
2019 Jul 07
4
Can't Connect With New Install
Thanks for your help.
I followed your suggestions and I'm getting basically the same thing.
I used your suggested smb.conf and created /home/pishare:
<mypi>:/ $ ls -l -d /home/pishare
drwxrwsr-x 2 root root 4096 Jul 7 12:17 /home/pishare
"pi" is a Unix and a Samba user.
Attempting to logon from Win 10 gives the same error messages.
Testing the connection as suggested in
2001 Sep 28
1
Generate rand. data with zero skewness and some kurtosis
Dear all,
Right now, I'm doing research about outlier in statistical data
(univariate and multivariate) and I want to simulate its behavior. My
problem is :
How to generate random data from distribution with zero skewness and
some kurtosis values in R ?
A. Kudus
=====================
Dept. of Statistics
Bandung Islamic University
I n d o n e s i a
==========================
2007 Mar 19
1
Vector CAD/CAM
Hello everybody!
For my hobby, I have a tabletop mill driven by a linux box (Ubuntu+EMC2). I
bought a CAD/CAM package (Vector http://www.vectorcadcam.com ) that works
very well; but which runs on windows.
Recently, I installed Wine on Ubuntu and tried Vector by copying the whole
install directory. To my great surprise :-), it worked OK, except when
starting the code generation window, which
2009 Nov 01
3
counting frequencies across two columns
I've got a data frame describing comments on an electronic journal,
wherein each row is a unique comment, like so:
commentID author articleID
1 1 smith 2
2 2 jones 3
3 3 andrews 2
4 4 jones 1
5 5 johnson 3
6 6 smith 2
I want know the number of unique authors per article. I can get a
2015 Jul 27
0
R package with Fortran module on Windows? undefined reference to `__stack_chk_fail'
You should be able to set PKG_FCFLAGS="-fno-stack-protector" when
compiling to ensure that the stack protector is not used.
(Trying that out on a Windows VM, with a simple `R CMD build` + `R CMD
INSTALL`, compilation of your package succeeded but linking failed
saying the DLL 'Fpi' was not found; I imagine that's a separate
issue.)
As an aside, be sure to check out what
2008 Nov 10
1
cant boot after installation of centos 5
Hi all,
I'm having problems with the installation of CentOS 5 for i386 to my Dell
Percision T4500 Workstation.
The installation run just fine. The installation DVD had been tested before
installation. After installation, the installer ask me to reboot. after
reboot, when the msg for LVM saying detection of my LVMs, 1 or 2 lines after
that my monitor turned off, but i believed the cpu is still
2007 Aug 14
0
Limma - 2x2 factorial design matrix
Hi all,
I'm working on microarray and currently analyzing the microrarray data using limmaGUI. Loop design has been applied in this experiment. This is a 2X2 factorial experiment where there are control and treatment at 2 different time points, week 6 and 9. The experimental design is almost the same as the limmaGUI work example: Weaver Data set. I would like to look at the effect of
2010 Jun 25
0
HEGY.test, error "Mypi not found"
Hi,
I'd like to use the HEGY test from the uroot package (s. attachment) and get
the following error message:
error in dimnames(Mypi)[[2]] <- paste("Ypi", 1:s, sep = "") :
Object 'Mypi' not found
For the air passenger example on
http://127.0.0.1:11997/library/uroot/html/HEGY.test.html it works, but for
my time series it doesn't (giving names to the
2003 Apr 03
0
Call for papers
"CALL FOR PAPERS"
THE ISLAMIC SOCIETY IN SOUTH EAST ASIA CONFERENCE ON
STATISTICAL AND MATHEMATICAL SCIENCES
BANDUNG, 25 - 26 APRIL 2003
Fakultas Matematika dan Ilmu Pengetahuan Alam
Universitas Islam Bandung
Jalan Tamansari No. 1, Bandung 40116
Telepon +62 22 4203368 Ext. 136 or 135
Facsimile +62 22 4263895
E-mail: - fmipa_unisba at yahoo.com
- wanda at
2005 Dec 19
0
Package "boot": How to construct CI from censboot object?
Dear all,
I run the example of "censboot" contained in "boot" package. But, I can't
find the confidence interval of the resulted "censboot" object. Any idea ?
> aml.fun <- function(data) {
+ surv <- survfit(Surv(time, cens)~group, data=data)
+ out <- NULL
+ st <- 1
+ for (s in 1:length(surv$strata)) {
+
2019 Jul 07
0
Can't Connect With New Install
On 07/07/2019 17:54, J Romans via samba wrote:
> Hello -
> I'm working on a project that when deployed I'll need wireless access for
> updates / configuration changes. I've installed Samba but can't get it to
> work. I can SSH and ping both the host name and IP, but no Samba.
> I've searched online for help and tried everything that sounded reasonable
> but
2006 Jun 06
5
HELP!!!! Weird TDM2406E unable to bridge all outgoing calls.
Hi all,
I have TDM2406E with 24FXO ports connecting to 10 POTS line sitting in
my office. the out going calls symptom like when called party pickup the
phone but the calling party still hearing the ring tone from the IP phone.
Please light me up. it been many sleepless night by googling around
trying to get the right answers.
The digium card running on Intel 915G chipset. Below are my zaptel