Displaying 20 results from an estimated 1000 matches similar to: "creating dummy variables"
2013 Apr 19
5
how to subtotal by rows
Dear R-users,
I have a dataset as like below, and I want to subtotal the values of rice,wheat and maize by year for each fid.
fid year rice wheat maize
------------------------------------------------
1 1995 5 NA NA
1 1995 NA 3 NA
1 1995 NA NA 2
1 1996 4 NA NA
1
2011 Dec 02
1
Error in Genetic Matching
Dear R Users,
I am a novice learner of R software. I am working with Genetic Matching - GenMatch(), but I am getting an Error message as follows:
Error in GenMatch(Tr = Tr, X = X.binarynp, BalanceMatrix = BalanceMatrix.binarynp, :
GenMatch(): input includes NAs
Could you please suggest me correcting the above problem?
My GenMatch command is,
> gen1 <- GenMatch(Tr = Tr, X =
2012 Jul 15
1
how to extract p-value in GenMatch function
Dear R-Users,
I have a problem on extracting T-Stat and P-Value. I have written R-code below
library("Matching")
data("lalonde")
attach(lalonde)
names(lalonde)
Y <- lalonde$re78
Tr <- lalonde$treat
glm1 <- glm(Tr~age+educ+black+hisp+married+nodegr+re74+re75,family=binomial,data=lalonde)
pscore.predicted <- predict(glm1)
rr1 <-
2011 Jan 20
4
Asterisk to asterisk t.38
I have a setup of asterisk 1.6 in one box and asteirsk 1.4 in another. I
can send recieve faxes from both boxes fine to and from pstn. But the
faxing between 1.6 and 1.4 extensions does fail. Any ideas please ?
--
Thank You
Amit Nepal
2009 Jun 15
4
reading Excel file
Dear all,
I was using older version of R (installed early). I install new version of R (R.2.9.0) but i could not find package "xlsReadWrite" to read Excel file. Is there any alternatives to read Excel file ?
I hope it should be.
I need help although it is minor querry.
Thanks in advance.
Sincerely,
Ram Kumar Basnet
Wageningen University,
The Netherlands
[[alternative HTML
2011 Nov 16
2
Conversion of symmetry matrix into a vector
Dear R users,
I am not good in R-language programming. So, i need your help.
I want to convert my lower-triangle value of symmetry matrix into a vector with their row and column name.
I found a function called "sm2vec" in "corpcor" package but it give only a vector of values but not row and column names. But i also want ROW and COLUMN name together with their corresponding
2008 Sep 05
2
Error: can not allocate vector of 117.3 Mb
Hi R users,
I am doing multiscale bootstrapping for clustering through pvclust package. I have large data set (observations 182 and variables 5546). When i tried to make bootstrapping, then i got message as "Bootstrap (r = 0.5)............Error: cannot allocate vector of size 117.3 Mb".
I am new R user and could not understand what is the problem and also don't know the easiet
2008 Oct 27
3
Problem in installation of "Rgraphviz" package
Dear R users,
I am not so used to this R software. I have to use the package " Rgraphviz" but found some problem in the installation process. I download this package and store in R library but i am not getting this package in R installation list.
I made review in google search net and use the following command:
###
source("http://bioconductor.org/biocLite.R")
2010 Dec 05
3
merging two vectors
Dear R users,
It may be very simple but it is being difficult for me.
I have two vectors with some common string. And, i want to combine into a vector in such a way that it includes string from both vectors and make a unique.
For example:
x <- paste(rep("A",5),1:5,sep = ".")
x
[1] "A.1" "A.2" "A.3" "A.4" "A.5"
y <-
2008 Dec 06
2
Barplot label
Dear all,
I am trying to make barplot from matrix with "beside=FALSE". I have 165 labels in my bar plot. When i plot the label horizontally below the barplot, then all labels are not appear in the plot due to lack of space. I used the following function:
barplot(t(bar), main="Barplot based on LCMS", ylab="RF membership Probability",
2009 Nov 27
2
matching and extracting data
Dear all,
I have querry on how to extract the data by matching between two data set where one has the same elements multiple times?
For example, I have two matrix X and Y.
> X
[,1] [,2] [,3]
1 A 5 P
2 B 6 P
3 C 7 P
4 D 5 Q
5 E 6 Q
6 F 7 Q
7 G 5 R
8 H 6 R
9 I 7
2008 Sep 15
1
how to plot PC2 vs PC 3 in PCA
Hi everybody,
I am doing principal component analysis (PCA) using "prcomp' function. When i did "Biplot", i did not found interesting result and it is based on Principal component (PC) 1 vs PC2. Now, i want to see"Biplot" in combination of either PC1 vs PC3 or PC2 vs PC 3. I did not get the ideas.
Does any one have ideas ?
I am optimistic on getting some idea.
2012 Jun 21
1
[LLVMdev] Error: unsupported GC: vmkit
Hi,I have recently installed llvm-3.1 , gnu classpath-0.97.2 and vmkit I compiled a simple java file "hello.java" to hello.class Then converted hello.class to llvm bytecode(hello.bc) using vmjc from vmkitwhen i tried to run "hello.bc" using lli
I am getting the following error
shyam at shyam:~$ cat hello.javaimport java.io.*;
class hello {
public static void main(String[]
2009 Oct 26
3
Sandard deviation calculation
Dear all
I am trying to learn R
I was trying to calculate standard deviation
here are the commands and outputs in R
> sd(Ht_cm[type=='SD'])[1] 3.283605> sd(Ht_cm[from_treeline=='above'])[1] 16.83289> sd(Ht_cm[type=='SD'][from_treeline=='above'])[1] NA>
the problem is that, i could not understand why the third command could not give any result.
2007 Jan 17
3
Help on variable ranking
Hello all,
I want to assign relative score to the predictor variables on the basis of
its influence on the dependent variable. But I could not find any standard
statistical approach appropriate for this purpose.
Please suggest the possible approaches.
Thanks in advance,
Rupendra Chulyadyo
Institute of Engineering,
Tribhuvan University,
Nepal
[[alternative HTML version deleted]]
2012 Jul 09
1
[LLVMdev] Error generating a executable using llcj
I installed vmkit-0.29 and tried to generate a executable using llcj
I generated the libvmjc and updated the library path
export LD_LIBRARY_PATH=$(VMKIT_OBJ)/Release/lib
llcj --main=hello hello.class -o hello
but i am getting the following error
/home/shyam/classpath-0.97.2/lib/vmkit/Release+Debug/lib/libvmjc.a(glibj.zip.o): In function
2009 Nov 25
4
Importing many files from a single code
Dear R users,
Does somebody know the way to import many files by a single command in R ? I have 50 files in a directory and now, i am importing the files repeatedly (one by one). If there is a way to import all files at a time, it makes much more easy and save times too.
Thanks in advance.
Sincerely,
Ram Kumar Basent
Wageningen University,
the Netherlands
[[alternative HTML
2018 May 02
1
[Gluster-Maintainers] Meeting minutes : May 2nd, 2018 Maintainers meeting.
Meeting date: 05/02/2018 (May 02nd, 2018), 19:30 IST, 14:00 UTC, 10:00 EDT
BJ Link
* Bridge: https://bluejeans.com/205933580
* Download: <TBD>
Attendance
* Raghavendra M (Raghavendra Bhat), Kaleb, Atin, Amar, Nithya, Rafi, Shyam
Agenda
*
Commitment (GPLv2 Cure)
* Email and Patch
* [amarts] 20+ people already have done +1. Will wait another
2018 Aug 13
6
How to use kerberos as the default auth in AD config?
Hi Folks,
We have samba(4.8) deployed with following key parms
security = ADS
realm = TEST
client NTLMv2 auth = No
ntlm auth = disabled
We have a win2k user configured as a "Protected User"
(https://docs.microsoft.com/en-us/windows-server/identity/ad-ds/manage/how
-to-configure-protected-accounts)
When this user tries to connect to samba/winbind, we get
2008 Oct 01
1
Error: cannot allocate vector of size 117.3 Mb
Dear R users,
I am using RandomForest package. While using this package, i got
"Error: cannot allocate vector of size 117.3 Mb" .........................message.
I had this problem earlier too but could not manage. Is there any way to solve this problem or to increase vector size ? My data set is of 163 samples and 5546 variables.
I tried through "? Memory" function to solve