similar to: Pls package

Displaying 18 results from an estimated 18 matches similar to: "Pls package"

2009 Sep 21
2
How to handle missing values for the GeneMeta package?
Hello all, It seems that the GeneMeta passage returns NA in the respective row if any gene in the data sets to be synthesised are missing. Do you know of a way to overcome this problem? I tried using the 'impute' package to fill-in the missing values, but R crashes if 'impute' and 'GeneMeta' packages are used together. I have asked a separate question for that. Thanks
2009 Jun 12
3
Referencing data frames
Hi, How do I use the string content of a string variable to reference a data frame of the same name? I want to do the typical tasks of 1) building a name with a string variable and using the string variable to create a data frame (or any object) whose name is the string value of the variable and 2) pass on a string to a function as a parameter, and then use that string to refer to an existing
2009 Sep 02
5
pruning data
Hello everyone, I am trying to prune a data frame for partial least squares analysis. I need to delete an entire row if one cell in the row contains a NA. Presently, I am running a loop that is supposed to extract the rows that are full of numbers into a second data frame and skips the rows that contain a single NA value. I want to know if there is a simple way to determine if a row
2009 Jun 11
3
Matrix manipulation
Hello everyone, I have a couple of fairly simple questions (I hope) the answers to which I cannot find through the documentation at the moment. 1. I would like to delete the a row from a matrix if a certain elimination criterion is met. I am familiar with x <- x[-7,] (to remove row 7, for example). Are there any other means of removing an entire row? 2. Is there a single command that
2009 Jun 25
2
Placing text outside graph boundary
Hello, Is possible to place a label on a multipanel figure outside the boundaries of any single one of the existing graphs in a panel? Specifically, I have a function that creates a panel with quartz() and then fills it with 6 graphs consisting of exactly the same plot for 6 different groups. I would like to add one title for the entire figure at the top of the figure, but I cannot figure out
2009 Jun 15
2
Help with syntax error
Hi, I have written boxplot commands of this form before, but I don''t quite understand why the function call is reporting a syntax error in this instance. All parameters passed to the function are strings. Thanks in advance. Payam > simplevar <- function(wframe,column1,column2) { + tframe <- get(wframe) + x1 <- which(names(wframe)==column1) + x2 <-
2009 Jun 11
2
More basic question
I have encountered a more fundamental problem in my data set. I''m using read.csv, and all the data are imported as character. How do I do a string comparison in a line like this: M10[ !sapply(1:10, function(x)666 %in% M10[x,]), ] Alternately, how do I change the class type on a column in a data frame from character to numeric? Thank you very much. Payam [[alternative HTML version
2009 Jun 12
1
Extracting the name of an object
With apologies if I missed the answer in the response given to my previous question. How do I extract the name of an object and assign it to a string variable? For example, I have a dataframe named comnoglyc How do I assign this name to a variable dfname such that print(dfname) returns "comnoglyc"? Thank you very much. Payam [[alternative HTML version deleted]]
2010 Jun 26
1
Passing the parameter (file name) to png()
I am fitting 3 parameter model to my response matrix and want to generate item characterstic curve. I want to specify file name to save item characterstic curve by passing it as external parameter to the R batch script. The following is the code I have written for this. *R Script:* library(ltm) cmd_args = commandArgs(); for (arg in cmd_args) cat(" ", arg, "\n",
2009 Jun 15
0
books on Time serie
A time series text with a title that seems designed to hide its wide scope is: Forecasting with Exponential Smoothing The State Space Approach Hyndman, R.J., Koehler, A.B., Ord, J.K., Snyder, R.D. Springer 2009. This book is actually an excellent overview of time series theory, ARIMA as well as state space. It is of course, in part, a manual for the forecast and other packages in what has been
2003 Jan 24
3
win98 & samba file server
Hello everybody, it's a few minutes that i've subscribed in your mailing list. nice to meat all of you. I have samba on redhat 8 as a file server for a couple of "win98" & "winXP"'s.It work's for my XP OS's but I don't know how to join the "win98" 's in. please help me thanks payam.
2011 Aug 11
1
Cv.glment question -- why giving me an error
Hi All,  I am trying to run cv.glmnet(x,y,family="multinomial", nfolds =4) and I only have 8 observations and the number of features I have is 1000, so my x matrix is 8 by 1000 and when I run the following, I get this error, I am not sure what is causing this problem.  Error in predmat[which, , seq(nlami)] = preds :   number of items to replace is not a multiple of replacement length Can
2005 Apr 08
2
DLL Memory Problem
Hello, I have created a .dll file using G77 and MinGW on my PC (Windows 2000). After using dyn.load to bring it into R2.0.1, I then call the .dll through the function ccprox shown below. It returns the correct values. If I run it a second time though it returns different values, so it seems something is being placed oddly in memory. If I unload and reload the .dll it works again the first
2010 Oct 02
1
Possible Bug in Effects Package
Dear List, I find Effects package very useful, but I believe I have found a bug in allEffects function. Please consider the following code: test <- data.frame(tries= round(runif(40, 5, 300)), tra = gl(4, 10, labels = c("V", "D", "C", "L")), prop= runif(40, 0, 1)) test$success <- round(with(test, tries*prop)) test$prop <- with(test,
2011 May 05
6
Averaging uneven measurements by time with uneven numbers of measurements
I have a new device that takes measurements anywhere from every second, to every 15 minutes (depending on changes). The matrix has a date, time and Y column (Y is the measurement). For three days it is 25,000 rows. How do I average the measurements by every 30 minutes so my matrix is 48 rows per day? I have been working on this and cannot figure out a simple method. Any ideas? Thank you. ----- In
2005 Jun 22
1
undefined method `each' for nil:NilClass
I have a search page asking for some criteria. The search method in my controller does its thing and sets the @assignments collection. Then finally I do the following redirection to the report page so that I can show the results nicely. Before doing the following, I print the contents of the collection and it is not nil. redirect_to :action => ''report'' I have an empty method
2004 Apr 14
2
No ringing sound on GS phones
I've already installed * 0.9.0. All calls from my GS phone has no ringing sound but the other end rings! I also checked this with my CVS archive. The problem exists in CVSs from (Mar 6) up to now. and I have no problem with my Xten softphone when calling with it. anybody can help? -------------- next part -------------- An HTML attachment was scrubbed... URL:
2001 Nov 11
9
samba server
I can't see samba server linux( suse 7.2 ) from win 2000 server although i install samba & i configure smb.conf, so if i configure in smb.conf, public=yes i can see samba server well but if i comment it only i can see workgroup & share folder and then asked passwd & user then i type my user & passwd that in samba server wac created but don't accept it, although in