Displaying 15 results from an estimated 15 matches for "exctracting".
2009 Oct 09
1
Substituting the extracted coefficients into the formula, exctracted from the result of nls()
Dear all,
Here I come with another stupid question. Suppose I want to use nls()
to fit a series of data (here modelled by generated points), then plot
the points and the fitting curve. I figured out some way of doing it:
x <- runif(1:20, 0, 10)
y <- 0.1*x^2 - rep(3, length(x)) + rnorm(length(x), sd = 0.5)
yfit <- nls(y ~ a*x^2 + b*x + c,
start = list(a = 1, b = 1, c = 1),
2003 Oct 09
1
subsetting objects
I want to be able to exctract a matrix from a data frame that contains repeated measurements for individuals. i.e I want to exctract the second observation for each individual in the study.
Is there a way of doing this?
I guess what I am trying to ask is if there as a multidimensional version of aggregate() as in aggregate(data, list(data[,"ID"]), function(x) x[2,])
but aggregate will
2005 Jan 26
2
reshape (a better way)
Hi,
I am using the NLSY79 data (longitudinal data from the Bureau of labour
stats in the US). The extractor exctracts this data in a "wide" format and
I need to reshape it into a long format.
What I am doing right now is to do it in chuncks for each and evry
variable that is varying and then I merge the data together. This is
taking a long time. my question is:
How do I specify that
2009 Feb 27
2
Smth. about "Icon=" option in .desktop files created by WINE
When I install some Win32 application using WINE, it creates associated menu item file for it, located at ~/.local/share/applications/wine/Programs/***Program title***/***Program shortcut.desktop***. Well, inside this file I see option named "Icon", where path to some icon is set. Sometimes this path points to some PNG image file, but sometimes it points to something I don't have a
2008 Mar 20
3
create matrix
...th '1' for
'survival'.
I thought of creating matrices for each individual, adding first one
column 'survival' containing zeros to the original dataset, then
creating matrices with data = 'the vector containing all elements of an
individual/row' ([1,], nrow = [a,b], exctracting the element for
longevity, and then with byrow = TRUE letting the data be filled in by
row. At the end I would have to set the last element in 'survival' to
'1', and then combine all matrices into one single one.
So far I've used Excel to create these datesets manually, but wi...
2007 Apr 25
2
assigning two conditions to grep()
Hi,
i have a problem in assigning 2 conditions to grep() ,
my data look like this:
DA 24 N7 Rad= 3.4 20 Sac= 0.93 Acc= 4.76
DA 24 N7 Rad= 3.4 14 Sac= 0.65 Acc= 3.33
DA 24 N7 Rad= 3.4 3 Sac= 0.14 Acc= 0.71
DA 24 N7 Rad= 3.4 11 Sac= 0.51 Acc= 2.62
DG 23 N7 Rad= 3.4 8 Sac= 0.37 Acc= 1.91
DG 23 N7 Rad= 3.4 5 Sac= 0.23 Acc= 1.19
DG 23 N7 Rad= 3.4 0 Sac= 0.00 Acc= 0.00
DG 23 N7 Rad= 3.4 3 Sac=
2004 Sep 17
3
Cannot join SAMBA domain from XP/2K
Hi List.
I've got SAMBA 3.0.7 with LDAP passwd backend (OpenLDAP 2.2.15) on
Solaris 9 box.
When joining the domain I have permanent error "The user name could not
be found".
To add machine I use account "administrator" which is already exist in
SAMBA/LDAP with uid=0 and proper password.
I have "add machine script" directive in smb.conf file and I see that
2011 Apr 12
1
extract element from list by rownames
Hi,
I've a list of list.
I want to extract an element by the rownames.
I can extract it by:
data[[1]][[1]][[4]][1]
But I want to exctract it by a command like this:
data[[1]][["B0"]][["smac"]][["cont"]][1]
It's possible?
Thanks,
Alfredo
> str(data)
List of 1
$ :List of 4
..$ :List of 4
.. ..$ : num [1, 1:3] 0.4 0.458 0.5
.. ..$ : num
2006 Jun 12
0
Curious about new (ActiveRecord::Base)
Because the documentation isn''t clear (at least to me)...
I have a Logfile model that has corresponding fields in MySql.
The main ones are id, fileName, and content type. However, I can pass a
File object to a new Logfile and have handlers that I created in the
Logfile class extract the data. However, the documentation states
"...you can?t have attributes that aren?t part of
2005 Apr 04
1
Object item extraction
Hello
I am able to extract partial regression coefficients from a fitted model
object "model", i.e.
model <- lm(var.sel.gkm, weights = count.gkm, data = DATA)
summary(model)
write.table(model$coef, file = "C:/coef_CO_gkm.txt", row.names = TRUE,
col.names = TRUE)
I was wondering if anyone could advise me how to extract other object
items such as std. error, t-values
2002 Oct 21
0
GDI bug?
Hi!
I am not sure if this is a bug, or I did something wrong. My collegaues
made a little program what shows the bug. Two screenshots and the source
are included in the tar.gz.
Please somebody examine it, and help me if you can.
The source, binaries, and screenshots can be downloaded from
ftp://ftp.uhulinux.hu/misc/testprg.tar.gz. It needs to be exctracted to
the wine c:\ directory
Thanks for
2007 Sep 18
5
Need help on "date"
Dear all,
I have a variable 'x' like that:
> x
[1] "2005-09-01"
Here, 2005 represents year, 09 month and 01 day.
Now I want to create three variables naming: y, m, and d such that:
y = 2005
m = 09
d = 01
can anyone tell me how to do that?
Regards,
[[alternative HTML version deleted]]
2010 Oct 12
6
List or matrix of object
Hi everyone.
Is it possible in R to create a matrix or a list (vector) or R object. For
instance, I have
f1 <- function(x) sqrt(x%*%x);
f2 <- function(x) (2x+1);
I would like to do something like
L <- List();
L[1] = f1;
L[2] = f2;
So, is there a way to create matrix or vector that can contains R object.
With regards,
Phil
--
View this message in context:
2017 Jun 26
19
[Bug 101601] New: Nvidia GT 1030 (NV138/GP108) support
https://bugs.freedesktop.org/show_bug.cgi?id=101601
Bug ID: 101601
Summary: Nvidia GT 1030 (NV138/GP108) support
Product: xorg
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
Assignee: nouveau at
2006 Jan 16
23
Read data from Excel
A client of mine has a ton of data stored in Excel spreadsheets. I''m
building a web application for her (backed by a real db of course) and want
to import all that data. Is there a library available to read data from
Excel? Is there an easy way to upload the spreadsheets and then read the
data?
Thanks,
Ken Kousen
--
Kenneth A. Kousen, Ph.D.
President
Kousen IT, Inc.