similar to: "subset" or "condition" as argument to a function

Displaying 20 results from an estimated 1000 matches similar to: ""subset" or "condition" as argument to a function"

2002 Apr 18
2
Changing tick mark labels
Hello, Can anyone help me out with this problem? After performing logistic regressions and testing the significance with likelihood ratios, I have plotted the results using "termplot". I am wondering, how to get the names of my variables to appear on the x-axis rather than ascending numbers? I have used: termplot(fm, se=T, axes=FALSE, col.se="black") axis(1, 1:4,
2013 Apr 03
1
(no subject)
Hello, I want to perform a latent class analysis using poLCA package. My formula is: substances <- cbind(subs1, subs2, subs3, subs4, subs5, subs6) ~ gender+age+education+income+occupation+urban+dbehavior+incarceration+treatment+depression+alcriteria I want to include sample weights in the model, I have read that poLCA does not take into account weights, but when I introduce them, it seems
2013 Mar 13
7
Export R generated tables and figures to MS Word
Dear Rxperts, I am aware of Sweave that generates reports into a pdf, but do know of any tools to generate to export to a MS Word document... Is there a way to use R to generate and export report/publication quality tables and figures and export them to MS word (for reporting purposes)? Thanks so much, Santosh [[alternative HTML version deleted]]
2012 Oct 03
3
"options" in R
Dear Rxperts, Was wondering if there is any function in R similar to options("time.zone"): found in S-Plus that can help in looking at the default timezone settings.. Thanks much, Santosh [ [[alternative HTML version deleted]]
2013 Mar 26
2
suggestions about import SAS Transport files to R.
Dear Rxperts! My colleagues used SAS PROC COPY to generate the xpt files that could be read by the available "xpt" file reading packages in R. However, I am unable to use the R packages for reading SAS transport files generated through SAS PROC CPORT. I have tried SASxport, Hmisc, and foreign. Any ideas/suggestions are more than welcome! Thanks so much! Santosh [[alternative HTML
2012 Jul 21
2
library XML in R version 2.15.1
Hello Rxperts.. I have a peculiar situation.. XML library is not available with R2.15.1 whereas I was able to install it with R version 2.13.1. Would highly appreciate your suggestions. I am now trying to see if XML works with previous versions of R. Thanks, Santosh [[alternative HTML version deleted]]
2013 Sep 26
2
Read shortcuts of MS Excel files through R
Dear Rxperts, Through Windows OS, I created shortcuts (paste as shortcut) to excel spreadsheets ( with "xlsx" as the file extension). I wasn't able to read the shortcuts through R and using "read" functions of "xlsx" package. exf <- "a1.xlsx.lnk" > read.xlsx(exf,1) Error in .jcall("RJavaTools", "Ljava/lang/Object;",
2011 Apr 19
2
cut & histogram
Dear Rxperts, Below is a small sample of values (cut short due to space considerations while posting).. I was wondering if it is possible to construct boundaries (or intervals) based on the distribution of points. Is it anything similar to boundary detection of distributions? x1 <-
2013 Apr 23
2
Tables package - remove NAs and NaN
Dear Rxperts, q <- data.frame(p=rep(c("A","B"),each=10,len=30), a=rep(c(1,2,3),each=10),id=seq(30), b=round(runif(30,10,20)), c=round(runif(30,40,70))) The operation below... tabular(((p=factor(p))*(a=factor(a))+1) ~ (N = 1) + (b + c)* (mean+sd),data=q) yields some rows of NAs and NaN as shown below b c p a N mean sd mean sd A 1 10
2011 Apr 27
2
sub-matrix block size
Dear Rxperts Below is a small vector of values of zeros and non-zeros... was wondering if there is an efficient way to get the block sizes of submatrices of a big matrix similar to the one shown below? diagonal elements can be zero too. Rows with only a diagonal element may be considered as a unit block size. c(1,0,0,0,0,0,0,0,0,0,0, 1,1,0,0,0,0,0,0,0,0,0, 0,0,1,0,0,0,0,0,0,0,0,
2013 May 02
3
Lattice xyplot multipanels
Derar Rxperts, I have a strange situation.. I see curly brackets around "strip.levels" in multipanel strips while using lattice::xyplot. .How do I get rid of the curly brackets? For some reason, I am not able to reproduce the problem using an example below... Any suggestions are highly welcome! Thanks, Santosh q <-
2012 Nov 27
2
binning by frequency
Dear Rxperts, is there way to identify intervals from continuous data (having some kind of a pattern) and then pick the value of most frequency? a1 <- round(rnorm(50,mean=0,0.1),2) a2 <- round(rnorm(50,mean=1,0.2),1) a3 <- round(rnorm(50,mean=5,1),0) a4 <- round(rnorm(50,mean=14,4),0) a5 <- round(rnorm(50,mean=30,8),0) b1 <- rbind(a1,a2,a3,a4,a5) hist(b1,brea=100) # shows
2013 Apr 22
1
Hmisc & pdflatex
Dear Rxperts, Apologize for posting it to a wrong thread..Hence, the re-post... I am trying to use pdflatex from Hmisc, I get the error message. "pdflatex is not available"... The version of Hmisc is the latest one (got the warning that it was compiled under R version 2.15.3) . The version of R on my machine is > version platform i386-w64-mingw32 arch i386 os
2011 Apr 08
2
a bug in "write.csv"?
Dear Rxperts! A simple example where "write.csv" does not seem to accept user specified arguments.. Why? write.csv(t(1:10),"./te1.csv",quo=F,col.names=F) Warning message: In write.csv(t(1:10), "./te1.csv", quo = F, col.names = F) : attempt to set 'col.names' ignored However, write.table does fine..
2011 Jan 30
1
HDT: New release 0.4.0-beta1
Hey folks, Last release was a long, long time ago. Pierre & I got a lot of work on our respective jobs. Anyway, I spent some days to complete some work on Syslinux & HDT. My current git tree is now featuring an ACPI implementation that allow parsing the structures (dsdt, ecdt, facs, fadt, madt, rdsp ,rsdt, sbst, xsdt) This pre-release of HDT is so featuring this table detection + cpu
2011 Jan 30
1
HDT: New release 0.4.0-beta1
Hey folks, Last release was a long, long time ago. Pierre & I got a lot of work on our respective jobs. Anyway, I spent some days to complete some work on Syslinux & HDT. My current git tree is now featuring an ACPI implementation that allow parsing the structures (dsdt, ecdt, facs, fadt, madt, rdsp ,rsdt, sbst, xsdt) This pre-release of HDT is so featuring this table detection + cpu
2013 Apr 25
2
RStudio.. text editor
Dear Rxperts/RStudio users, Is there a way to set tabs (the TAB key) in the text editor of RStudio, similar to the way customization can be done in Tinn-R? Thanks and regards, Santosh [[alternative HTML version deleted]]
2012 Sep 06
1
Package installation errors
Dear Rxperts.. I am trying to install a few packages in R (version 2.14.2) on a *64-bit Window 7* workstation. Some of the errors are posted below.. Both 32-bit and 64-bit versions of R were installed. I did not get errors while installing packages through *32-bit R*, except that it could not update some of the packages (already installed with 64-bit R) *A*) When I start *64-bit R (2.14.2)*
2017 Nov 26
1
installing "rgl" package
Hi Rxperts, I tried with r-cran-rgl (based on the default installation of Ubuntu) with reinstalled rgl package from R-forge.. I get the missing GL/gl.h header. Didn't reinstall Mesa libraries per recommendations of Duncan. * installing *source* package ?rgl? ...** package ?rgl? successfully unpacked and MD5 sums checkedchecking for gcc... gcc -std=gnu99 checking whether the C compiler
2013 May 02
1
Create and read symbolic links in Windows
Dear Rxperts.. Got a couple of quick q's.. I am using R in windows environment (both 32-bit and 64-bit) a) Is there a way to create symbolic links to some data files? b) How do I read data from symbolic links? Thanks so much.. Santosh [[alternative HTML version deleted]]