similar to: Reference Classes copy(shallow=FALSE) unexpected behavior.

Displaying 20 results from an estimated 500 matches similar to: "Reference Classes copy(shallow=FALSE) unexpected behavior."

2007 Dec 14
2
train nnet
Hi R-helpers, Can some one tell me how to train 'mynn' of this type?: mynn <- nnet(y ~ x1 + ..+ x8, data = lgist, size = 2, rang = 0.1, decay = 5e-4, maxit = 200) I assume that this nn is untrained, and to train I have to split the original data into train:test data set, do leave-one-out refitting to refine the weights (please straighten this up if I was wrong). I just don't know
2002 Jun 07
1
Rank of a matrix?
Hello everyone, this is a very simple question but I could not find the answer. :-( Is there any function in R for calculating the rank of a matrix? (In the sense of the dimension of the vectorial space that spans) Thank you in advance! Manuel --- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2000 Feb 14
2
Error in the inverse of a diagonal matrix?
I?m new to R so maybe this issue has been asked before and I still could not read the complete set of past messages sent to the list. I found a weird behabiour that I will explain with a simple example. Lets consider the following block of commands: > x <- diag(c(1,4,10)) > x [,1] [,2] [,3] [1,] 1 0 0 [2,] 0 4 0 [3,] 0 0 10 > invx <- x^-1 > invx
2005 Sep 15
3
means comparison in R (post-hoc test)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi. I have been using SAS for some time, and now I have discovered R. I am very happy with it, but I have not found out how to perform some of the multiple comparisons I was used to do in SAS. With the SAS/STAT, I generally used the MEANS (for comparison of arithmetic means) and the LSMEANS (for adjusted means) statements of the GLM procedure (I
2008 Jun 13
1
shallow over http or ftp not supported
I am trying to install a custom plugin in my Rails app: script/plugin install http://git.eyequeue.net/plugins/mt_capistrano.git Instead of installing the plugin, I get the following error: shallow over http or ftp not supported Any ideas on how to fix this? Is it OK to do a git clone in my vendor/ plugins directory? --~--~---------~--~----~------------~-------~--~----~ You received
2010 Mar 24
0
form_for with nested shallow route
Let''s say I have: map.resources :teams do |team| team.resources :squads, :shallow => true end When I want to generate a form_for a squad, I need both the team and squad for new/create, but only the squad for edit. This means I need: edit: form_for(squad) new: form_for([team, squad]) This seems not very dry. Is there a more idiomatic way of doing this? Right now,
2011 Feb 16
0
[elflink] _root_.c32 shallow ELF module
Hi, I'm trying to figure out how to link against symbols from the core com32 shallow module at runtime. I see references to _root_.c32 (EXEC_ROOT_NAME) in com32/lib/sys/module/exec.c, but can't find where this module is created in the build infrastructure, if indeed it is created at all. Does anyone have any pointers?
2010 Jul 03
1
deep vs. shallow directory structure
Hi all, I am using rsync to sync a directory tree of ~2 million files. I am using rsyncrypto with filename encryption to encrypt the files before syncing. When encrypting filenames, rsyncrypto assigned each file a filename which is made of hex digits. It also has the option to put the files in directories, where the location of the file is determined by the file's name and a parameter
2011 Nov 28
0
extend validObject to validate any object (shallow and deep validation)
Hi, It would be nice if there was a tool for checking the validity of any object. validObject() is of course the natural candidate for this but right now it doesn't work on S3 objects: df <- data.frame(aa=1:4, bb=letters[4:1]) attributes(df)$row.names <- c("A", "B", "C", "A") 'df' is an invalid data frame instance: > df
2010 Mar 07
1
duplicate STRSXP : shallow copy ?
Hello, As this little program illustrates, duplicating a STRSXP does not seem deep enough. require( inline ) fx <- cfunction( signature( x = "character"), ' SEXP y = PROTECT( duplicate( x ) ); int n = LENGTH(x); int nc = 0 ; char* p = 0 ; for( int i=0; i<n; i++){ p = (char*)( CHAR( STRING_ELT( y , i ) ) ); nc = strlen( p ) ; for( int j=0; j<nc; j++){ p[j] =
2014 Sep 30
2
Shallow copies
I have a question about shallow copies in R. Since R 3.1.0, subsetting a dataframe with respect to its columns no longer result in deep copies. This is an amazing change in my opinion. Now, subsetting a data.frame by rows (or subsetting a matrix by columns or rows) still does deep copies. In particular, it is my understanding that running a command on a very large subset of rows (say
2007 May 15
2
sobre tutorial
Estimado, te agradeceria me envies el tutorial en espaniol para R. Estoy dando mis primeros pasos con esta aplicacion. Desde ya muchas gracias Danilo Ceschin Ph.D IGBMC 1 rue Laurent Fries 67404 ILLKIRCH CEDEX - FRANCE tel 33 3 88 65 3457 email danilo at titus.u-strasbg.fr
2006 Aug 20
1
C compile problem on Ubuntu linux
Under Ubuntu dapper, after installing packages gcc and g77, under platform i486-pc-linux-gnu arch i486 os linux-gnu system i486, linux-gnu status major 2 minor 2.1 year 2005 month 12 day 20 svn rev 36812 language R I get an error when trying to update.packages('Hmisc'): gcc -I/usr/lib/R/include -fPIC -g -O2 -c ranksort.c -o ranksort.o In file included
2005 Sep 16
0
Problems compiling Hmisc
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi. I am trying to install Hmisc from source on MacOS 10.4.2, using the R for Mac OS X Aqua GUI 1.12. I have installed g77(using Fink). I am using the Package installer provided by the GUI, and this is the output I obtain: * Installing *source* package 'Hmisc' ... ** libs g77 -fno-common -g -O2 -c cidxcn.f -o cidxcn.o g77 -fno-common -g
2000 May 24
3
order() results
Hi, Let?s consider aux1. I wanted to order its data considering its first column as the index > aux1[1:4,] V1 V2 V3 V4 V5 V6 1 0.08506724 150 1956 15.08 233.82 463.295 14 2 0.76205323 203 1922 15.35 218.74 463.295 14 3 0.86274890 195 1835 12.54 203.39 463.295 14 4 0.37940715 152 1567 24.73 190.85 463.295 14 > aux2 <-- aux1[order(aux1[1:4,1]) , ] > aux2
2007 Mar 30
2
Minimum valid number of observations for rpart
Hi, I wonder if anyone knows a study dealing with the minimum valid number of observations when using CART?. On top of that, when using RandomForest, is it possible to obtained a interpretable tree model as the graphical output of the analysis, just like in "rpart"? Thanks a lot in advance Javier Lozano Universidad de Le?n Spain
2000 Feb 29
2
backup signal
2000 Jun 28
3
BMP to matrix
Hi all, is there any R function that loads a bmp file, or any other format, and converts its grid of pixels into a matrix or data frame? Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: https://stat.ethz.ch/pipermail/r-help/attachments/20000628/f3fc8b21/attachment.html
2006 Feb 10
1
glmmPQL and random effects
Hello R users, I am trying to run a model with a binary response variable (nesting success: 0 failure, 1 success) and 8 fixed terms. Nesting success was examined in 72 cases in 34 territories (TER) during a 6 study years. Territories are nested within 14 patches (PATCH). I want to run a model taking into account these nested factors and repeated observation. To do this, I assume that the best
2005 Sep 19
1
Use of least-squares means, are they misleading?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi. Sorry for sending this question twice, but I would really like to know your opinion on this topic. I have been reading about the (in)convenience of using least-squares means (a. k. a. adjusted means) in multiple comparisons (I used to resort to them when using SAS). I even read a post in this list warning against them, but not giving much detail.