Displaying 20 results from an estimated 400 matches similar to: "kNNimpute error"
2013 Feb 19
1
latin hypercube sampling
Hi all,
I am attempting to use latin hypercube sampling to sample different
variable functions in a series of simultaneous differential equations.
There is very little code online about lhs or clhs, so from different
other help threads I have seen, it seems I need to create a
probability density function for each variable function, and then use
latin hypercube sampling on this pdf.
So far, I
2012 Mar 26
2
y needing more than 2 functions
Dear all,
I'm aware if y has two separate functions (depending on the conditions
of x) you can use the ifelse function to separate y into two separate
functions depending on input. How do you do this if there a multiple
different conditions for x?
for example,
y fits the following between t>0 & t<15----->function(t) t^2, y fits
the following between t>15 &
2012 Nov 06
1
Filling matrix elements with a function
Hi all,
I have a matrix simulating migration in a spatial model. I want to be
able to define movement (the values of m1, m2 and m3) as only != 0
between adjacent patches and contingent on certain conditions as
defined in the function.
Here is the code:
WET<-function(t) {everglades$precipitation[t]} #simply reads
precipitation data from a csv, value is numeric
AB<-function(WET,t)
2013 Mar 13
1
saving vector output as numeric
Hi everybody,
I'm trying to create a numerical data frame on which to perform PRCC.
So far I have created a data frame that consists of function/vector
output that displays in numerical form, but when I try and run PRCC
(from epiR package) I get the following error message:
"Error in solve.default(C) :
Lapack routine dgesv: system is exactly singular"
It appears this is because
2011 Nov 10
2
How does once import a function from an imported script?
Hi all,
I am trying to import some functions into a script and am having
difficulty in doing so. I am able to import a series of functions from
a .tex file into my script, and call on each function by column name,
however R reads them as data rather than as functions and I am
struggling with the syntax to make R read them as a function instead.
Below is a small set of the things I have tried:
2016 Mar 31
0
Filtering based on the occurrence
Hi Jim,?
Thank you tons for your help. The code worked perfectly :)?Best,Farnoosh
On Wednesday, March 30, 2016 1:13 AM, Jim Lemon <drjimlemon at gmail.com> wrote:
Hi Farnoosh,
Despite my deep suspicion that this answer will solve a useless
problem, try this:
last_subject<-0
keep_deps<-c("B","D","F")
keep_rows<-NULL
for(rowindex in
2013 Mar 14
0
Error with epiR and sensitivity
Hi everyone,
I emailed yesterday thinking I had a problem with reading matrix
information as numerical output into epiR. After working on the data
frame today, I realise it's a problem with the data itself rather than
the syntax.
An original data frame of
min max
T1 1.500000e+01 3.999954e+01
SE1 0.000000e+00 1.000000e+00
PRE
2003 May 23
1
library(MASS) in .First() (PR#3085)
Full_Name: Aimee Teo Broman
Version: 1.7.0
OS: Windows XP vers5.1
Submission from: (NULL) (162.129.145.77)
My .First() function contains the command library(MASS) -- when I open R 1.7.0,
I get this error:
Error in get(x, envir, mode, inherits) : variable "biplot" was not found
Error in library(MASS) : package/namespace load failed
If I run library(MASS) outside of the .First()
2007 Dec 11
2
Patch 10463: has_many through using uniq does not honor order
Hi,
I''ve just submitted a patch for ActiveRecord;
http://dev.rubyonrails.org/ticket/10463
The patch includes new fixtures because I could not find a applicable
combination among the existing fixtures. I hope that''s okee.
Please +1 or comment it.
Thanks,
Remco
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
2004 May 10
0
Uniden UIP200 Review (Repost)
Hello Everyone,
My company is about to deploy * as replacement for our existing
commercial Altigen PBX. Meanwhile, I've been trying to find the best
cost effective SIP VoIP phone which we can use in office for 20-30
employees, as well as a few remote staff.
Normally I wouldn't post about a VoIP phone, however, this phone was
released less than a week so I thought I'd give some
2009 Oct 26
1
Creating a sparse matrix from a file
Hi all,
I am new to R and learning the same. I would like to create a sparse matrix
from an existing file whose contents are in the format
"rowIndex,columnIndex,value"
for ex:
1,2,14
2,4,15
I would like to create a sparse matrix by taking the above as input.
However, I couldn't find an example where the data was being read from a
file. I tried searching in R tutorial and
2011 Jul 22
1
Plotting compound functions--help with defining x-axis as f(x)
Hi all,
I'm having trouble locating a script that will allow to me to create graphs
that show compound functions as a function of the simple function, rather
than just x (or time as it is in my case).
Currently I have the following functions defined in my script:
>
>
> T1<-function(t) {27.5-12.5*cos(2*pi*t/365)**}
> and
>
> B1<-function(T1,t)
2004 May 07
1
Uniden UIP200 Review
Hello Everyone,
My company is about to deploy * as replacement for our existing
commercial Altigen PBX. Meanwhile, I've been trying to find the best
cost effective SIP VoIP phone which we can use in office for 20-30
employees, as well as a few remote staff.
Normally I wouldn't post about a VoIP phone, however, this phone was
released less than a week so I thought I'd give some
2011 Jun 14
3
Read in from multiple Excel wksheets
I?ve got an Excel workbook with about 30 worksheets. Each worksheet
has 10000 rows of data over 30 columns.
I?d like to read the data from each worksheet into a dataframe or
matrix in R for processing. Normally, I use read.csv when interacting
with Excel but I?d rather manipulate a multisheet workbook directly
than set about splitting the original workbook and saving down each
part as a csv.
2009 May 15
2
transposing/rotating XY in a 3D array
Dear list,
We have a number of files containing similarly structured data:
file1:
A B C
1 2 3
4 5 6
file2:
A B C
7 8 9
10 11 12
... etc
My part of R receives all these data as an array: 1,2,3... 12 together
with info about dimensions (row,col,fileN) . (
Converting the data into 3D cannot simply done by:
array(x, c(2,3,2))
because breaks the structure (e.g. 1,3,5 is type mismatch)
2011 Jun 15
2
Trouble with compound functions---differential equations
Hi all,
My apologies if this message is incredibly inept but I am very new to both
computer programming and to R.
I am working with the odesolve add-on and have the following function
defined
RVF_Single <- function(t, x, p)
within the script I also have the following functions defined:
T1<-function(t) {T1<-27.5-12.5*cos(2*pi*t/365)}
and
B1<-function(T1,t)
2017 Oct 22
0
Test set and Train set in Caret package train function
Hey all,
Does anyone know how we can get train set and test set for each fold of 5 fold cross validation in Caret package? Imagine if I want to do cross validation by random forest method, I do the following in Caret:
set.seed(12)
train_control <- trainControl(method="cv", number=5,savePredictions = TRUE)
rfmodel <- train(Species~., data=iris, trControl=train_control,
2014 Aug 18
8
[LLVMdev] C Backend Ressurected
Hi All,
2 of my summer interns (Aimee Dipietro and Greg Simpson) used their time over the summer to resurrect the LLVM C Backend:
https://github.com/draperlaboratory/llvm-cbe
Improvements include recovery of simple for/while loops (instead of goto), better variable naming, inline asm support, and making it work on a more recent version of llvm. I believe they used the repository here as a
2004 Aug 06
0
Unofficial Icecast HOWTO posted
okee,
I put the oddcast help online at:
http://www.radioqualia.net/oddcast
i have to appologise twice for this, because the formatting is kinda
crappy and i just converted it from a word doc with a straight doc->html
export :/
will fix in the coming weeks but its online for now...also if anyone can
give some more informatiuon about the oddcast encoder settings then please
let me know so i
2012 Feb 21
0
Puppet Labs is growing - now hiring for 2 jobs based anywhere in US!
Puppet Labs continues to grow! (Seriously - we''re now at 70 employees
and continuing to hire more!)
I''m currently hiring a Sr Professional Services engineer to work with
our clients on custom engagements, lead Puppet trainings, and more. In
addition, we''ve added a new Senior Sales Engineer role who will
provide advanced pre-sales support to our sales team and