similar to: functions in a package

Displaying 20 results from an estimated 3000 matches similar to: "functions in a package"

2003 Apr 23
1
Comparing formulas
Dear All, I want to compare formulas resulting from using stepAIC() on glm() objects. I have 2 different formulas, say F1 and F2, which consist of about 10 factors (Y~A+B+C+...) but one has an interaction term (A:B) while the other doesn't. But when I perform F1==F2 it comes back as TRUE. Is there a proper way to compare formulas? ------------------------------------------- Jeffrey M
2004 Oct 19
1
Creating Packages with Windows under R 2.0.0
Hello, I have a workspace that contains a number of functions I want to put in a library. Under R 1.9.0 I did this fairly easily by putting them in a R folder, creating a DESCRIPTION & TITLE file etc. I could then load my library successfully. Under R 2.0.0 this simple process apparently no longer works. I have used package.skeleton() and have run R CMD INSTALL pkgname but still get various
2003 Apr 16
4
good source for explaining input and output parameters of R functions
Hello, thank you all for answering my previous Qs.. I have a new Q: I am wondering is there good source for explaning input and output parameters of R function? In that aspect, I found the help documents in R is not that helpful:) I am struggling with trying to understand what some of the returned value means.. for example, for surf.ls() function, the help in R only describes 3 fields(the
2004 Jun 23
2
SOS:) help on install package
HI, i tried to install package by using update.packages( "locfit" ) I got the following error: trying URL `http://cran.r-project.org/src/contrib/PACKAGES' Content type `text/plain; charset=iso-8859-1' length 172492 bytes opened URL .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... ..........
2003 Mar 24
1
wavelet model on time series in R?
Hello, Is there package built for R that can do model/prediction on time series data using wavelet? If not, does anyone know what popular software can do that? Thanks much, yan
2002 May 28
2
histogramming dates
I'd like to make a plot showing frequency of an event. The data is in a data from that includes Year, Month and Day (of month) fields, so I created a Date with ISOdate(Year, Month, Day, tz=''). I can plot frequencies for the year 2002 with > thisyear <- Date[Year==2002] > hist( thisyear, xaxt='n' ) > axis.POSIXct( 1, at=seq(min(thisyear), max(thisyear),
2012 Feb 07
2
units for mapproject() function result
Does anyone know what the units are for projected coordinates obtained using mapproj's mapproject function with an Albers projection? Thanks for any and all help! Buck Stockhausen *************************************************** * Dr. William T. Stockhausen * *************************************************** * Resource Ecology and Fisheries Management * *
2009 Dec 18
2
Package creation - require statement?
All, I have used package.skeleton, edited the .Rd files and the DESCRIPTON file. In one of my package functions I am using RODBC so I have a line of code that reads: require(RODBC). In my DESCRIPTION file I have the following relevant line: Depends: R (>= 2.9.0), RODBC However, when I do a check (Rcmd check my_package_name) I get this warning: * checking for unstated dependencies in R code
2012 Apr 02
2
nls() error
Hello, I am running a simple nls model (which a friend ran OK) but I get the following error: Error in nls(y ~ R * (1 - (x/K)^2), data = nls.dat, start = list(R = 0.3, : object 'R_nls_iter' not found Does anyone know what the 'R_nls_iter' error is? The data are: x=1:8 ; y=c(14,19,25,34,43,56,69,76) # starting values: R=.3, K=94 Thanks in advance. Jeff
2011 Oct 05
3
R CMD check
Dear R-Group, I have a function that sorts a data frame and oneo of the lines in the function is: vars <- unlist(strsplit(formc, "[\\+\\-]")) The function works fine and the above line is always reached. However, when I include the function in a package and run "R CMD check pkgname" it gives this error message: '\+' is an unrecognized escape in character
2007 Jan 29
2
countour and poygon shading
Hi, I have a contour plot and I want to shade a polygon (the area below a line) but the polygon shading wipes out the contour lines. Does anybody know how to shade the polygon and still see the contour lines? Thanks. Jeff
2005 Oct 28
1
multiple boxplots
Hello, I want to plot 3 boxplots [ par(mfrow=c(3,1)) ] but the first one has 8 groups, the 2nd has 7 and the third has 6. But I the groups to line up: 1 2 3 4 5 6 7 8 2 3 4 5 6 7 8 3 4 5 6 7 8 where the numbers actually refer to years. I suspect I have to manipulate the function bxp(). Is there a relatively simple way to do this? Thanks for any help. Jeff Breiwick NMFS, Seattle
2008 Apr 24
1
system() function
Hi, I am trying to run the command: R CMD INSTALL -l mypath mypackagename from within R (Windows XP) using system() and get the following error: ARGUMENT 'CMD INSTALL -l D:/R/JMB.LIBS jmb.test' __ignored__ Fatal error: you must specify '--save', '--no-save' or '--vanilla' My function contains these 3 lines: setwd("D:/R/R.pkgs") # path to files set
2002 Nov 27
1
[No Subject]
Hi,I try to calcualte AIC or Loglik to GARCH model,But the Packege Tseries do not deal with them.How can I calculate AIC or Loglike to GARCH Model By Packege Tseries? Thanks. ____________________________________________________ Free Internet Access NOW! In Alexandria, Ismaileya, Suez, Portsaid, Hurgadha, Sharm Banha, Shebin El-Kom, Damietta, Tanta, Zagazig, Mansoura, Damanhour, Assyout, Qena
2012 Jan 24
2
sampling weights in package lme4
Dear All I am trying to include sampling weights in multilavel regression analysis using packege lme4 using following codes print(fm1 &lt;- lmer(DC~sex+age+smoker+alcohol+fruits(1|setting), dataset,REML = FALSE), corr = FALSE) print(fm2 &lt;- lmer(DC~sex+age+smoker+alcohol+fruits(1|setting), dataset,REML = FALSE), corr = FALSE,weights=sweight) The problem is both the
2010 Jun 06
2
fitting multinomial logistic regression
Sir, I want to fit a multinomial logistic regression in R.I think mlogit() is the function for doing this. mlogit () is in packege globaltest.But, I can not install this package. I use the following: install.packages("globaltest") Can you help me? Regards, Suman Dhara [[alternative HTML version deleted]]
2005 May 31
3
Use NTFS Partition.
Hi!! I have a CentOS 4.o install on some machine in my job. I need setting the system for read/write partition NTFS. I know the kernel-2.6.x this support is part of the kernel, but in CentOS this support is unaviable. How can aviable this support whit out recompiler kernel?? Some rpm packege for do that?? Regards, David _________________________________________ Tec. David Gonzalez Romero
2006 May 31
2
install firefox last version under centos
Hello. I would like ask about install last firefox version 1.5.0.3 under centos, what is thee better option, as rpm pachage I didn?t found nothing. Thanks in advance JM --------------------------------- LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y m?viles desde 1 c?ntimo por minuto. http://es.voice.yahoo.com -------------- next part -------------- An HTML
2005 Sep 26
1
reading SAS data files
I am attempting to read in a SAS 9.1 data file. After starting R I change to the directory containing the sas data file and use the "dir" command to confirm that it is there. Then I run the following R-code: library(foreign) sashome <- "/Program Files/SAS/SAS 9.1" test<-read.ssd(file.path(sashome), "pcb", sascmd = file.path(sashome,
2014 Feb 25
2
Re: Problem with febootstrap version while compiling guestfsd in centos6.5
Ah OK, and what about generating the libguestfs-live-service for centos ? I know that they may compatibilities issues with the distribution of source rpm for fedora >=16 Actually i prefer not have all our guests overburdened with the libguestfs package while we just need the daemon. Beside i believe that with the live-service packege, closing the guestfs handle does not cause the daemon to