Displaying 20 results from an estimated 200 matches similar to: "Unable to retrieve residual sum of squares from nls output"
2013 May 28
6
Ocultar componentes de una lista
Saludos a todos,
Quisiera saber como ocultar algunos componentes de una lista para que cuando crees una funcion solo se muestre una parte de esa lista, y que al resto tengas acceso cuando descompongas ese objeto, por ejemplo:
Tengo la siguiente data:
data=data.frame(Samples=1:10,Sobs=c(12.6,22.4,27.4,30.5,32.5,34.3,36,37.4,38.9,39.9))
Cuando uso la funcion nls:
A <-
2013 May 28
3
Ocultar componentes de una lista
Hola Javier,
Creo que comprendio mal mi pregunta, quiero saber como ocultar algunos componentes de una lista producida por una funcion que uno crea, pero que solo esten ocultos y que pueda tener acceso a esos componentes cuando uso la funcion "str", la cual despliega todos los componentes de la lista. Además como hacer para que salga ordenado o de una forma preferida los componentes
2013 May 28
3
Ocultar componentes de una lista
Hola Eva,
Gracias por la respuesta fue de mucha ayuda. Lo que me gustaria saber es por que solo algunas funciones que usan el metodo S3 son visibles en su estructura con la funcion "body". Por ejemplo si coloco
body(print.ts)
Me va a salir la estructura de esa funcion, sin embargo si coloco
body(print.nls)
Me sale el siguiente mensaje :Error in body(print.nls) :
2013 May 28
0
Ocultar componentes de una lista
Estimado Gabriel Trujillo Paucar
Del str en el segundo renglón está fitted.
¿Usted pregunta algo como el siguiente ejemplo?
fitted(A)
O comprendí mal su pregunta.
Javier Marcuzzi
El 28 de mayo de 2013 13:25, Gabriel Trujillo Paucar <
gabriel_enter@hotmail.com> escribió:
> Saludos a todos,
>
>
>
> Quisiera saber como ocultar algunos componentes de una lista para que
2013 May 28
0
Ocultar componentes de una lista
Perdón por el goteo.
Gabriel, aquí tienes el código de nls:
http://svn.r-project.org/R/trunk/src/library/stats/R/nls.R
Si buscas "print.nls" verás que corresponde al modo en que se muestra el objeto que retorna la función.
En definitiva: Tú cuando creas una función, el objeto que retornas se va a mostrar completamente salvo que exista una función print en la clase a la cual pertenece
2013 May 28
0
Ocultar componentes de una lista
Hola, ¿qué tal?
Si haces primero
data <- data.frame(Samples=1:10,Sobs=c(12.6,22.4,27.4,30.5,32.5,34.3,36,37.4,38.9,39.9))
A <- nls(Sobs~A*Samples/(1+(B*Samples)), start=list(A=5, B=1), data=data)
y luego escribes
A
lo que ves en pantalla es lo mismo que si hubieses escrito
print(A).
Tu objeto A es de la clase "nls". Por lo tanto, la función print a la
que llamas es print.nls
2013 May 29
0
Ocultar componentes de una lista
Hola, ¿qué tal?
El que una función de un paquete sea o no visible es una elección de
su autor. Tiene todo el sentido del mundo ocultar ciertas funciones
auxiliares que llaman las funciones del paquete pero que se supone que
no están pensadas para ser invocadas directamente por el usuario
final.
Eso sí, hay maneras (usar getAnywhere es una de ellas) de ver su
código (p.e., para solucionar errores
2011 Jun 15
1
Print the summary of a model to file
Hi there,
I am having a strange problem. I am running nls on some data.
#data
x <- -(1:100)/10
y <- 100 + 10 * (exp(-x / 2)
Using nls I fit an exponential model to this data and get a great fit
summary(fit)
Formula: wcorr ~ (Y0 + a * exp(m1 * -dist/100))
Parameters:
Estimate Std. Error t value Pr(>|t|)
Y0 -0.0001821 0.0002886 -0.631 0.528
a 0.1669675 0.0015223
2005 Mar 21
3
File copying under WIN98
with the Samba3.0.12 release i encountered the following problem :
when i try to copy a file from a samba share to the local disk then the
process hangs with the windows-message
"Preparing to copy" (my translation from the german message).
In a WIN98-DOS-Windows the copy command hangs too, but the file is created.
The copying from my WIN-XP HOME works.
My previous installed version
2005 Apr 06
1
Re: Problems with Excel & MS Word files (EVEN - still ANY ideas?)
Now (after applying patch from Jeremy), most of the problems with Excel and
user's files being locked have quit. However, we're still getting some files
locked out when a given smbd process hangs, it appears as though the process
itself is tied up in some sort of loop or something and becomes
un-responsive; the client tries to auto-reconnect and does so spawning a new
'duplicate'
2005 Apr 06
2
user's smbd process generates high cpu utilization
I'm probably looking for suggestions on tracing
problems rather than a specific fix, since I don't see
any links relevant to my problem.
We have a Samba PDC with an ldap backend, serving
about 100 active users and another 400 relatively
inactive lab machines that connect once at the
beginning of the day and possibly load a file or two
from a network share.
We have a problem where
2017 Aug 03
2
[PATCH 00/29] DRM API conversions
This patch set replaces the occurrences of drm_*_reference() and
drm_*_unreference() with the new drm_*_get() and drm_*_put() functions.
All patches in the series do the same thing, converting to the new APIs.
I created patches per DRM driver as suggested by Daniel Vetter.
Background:
In the kernel, reference counting APIs use *_get(), *_put() style naming
to reference-count the objects. But DRM
2012 Sep 20
1
Gummy Variable : Doubt
Hi,
I have a system in which I analyze 2 subjects and 1 variable, so I have
2 models as follow:
y ~ x_1[, 1] + x_2[, 1] + x_1[, 2] + x_2[, 2]
Where
x_1[, i] = cos(2 * pi * t / T_i)
x_2[, i] = sin(2 * pi * t / T_i)
i = 1, 2
Data have two columns: t and y.
As you can see, I have a multiple components model, with rithm and
without trends, and I have a fundamental
2018 Jun 18
4
[PATCH 0/4] drm/nouveau: Replace {un/reference} with {put, get} functions
This patch set replaces functions named {un,reference} by their
{put,get} counterparts. Affected data types are struct drm_connector,
struct drm_framebuffer, struct drm_gem_object, and struct drm_device.
With the reference-counting functions being named {put,get}, the DRM
interface is more aligned to Linux kernel nameing standard. The patch
set does not change driver-internal interfaces.
Thomas
2019 Aug 05
2
[PATCH v6 08/17] drm/ttm: use gem vma_node
Drop vma_node from ttm_buffer_object, use the gem struct
(base.vma_node) instead.
Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
Reviewed-by: Christian K?nig <christian.koenig at amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 2 +-
drivers/gpu/drm/qxl/qxl_object.h | 2 +-
drivers/gpu/drm/radeon/radeon_object.h | 2 +-
drivers/gpu/drm/virtio/virtgpu_drv.h
2019 Aug 05
2
[PATCH v6 08/17] drm/ttm: use gem vma_node
Drop vma_node from ttm_buffer_object, use the gem struct
(base.vma_node) instead.
Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
Reviewed-by: Christian K?nig <christian.koenig at amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 2 +-
drivers/gpu/drm/qxl/qxl_object.h | 2 +-
drivers/gpu/drm/radeon/radeon_object.h | 2 +-
drivers/gpu/drm/virtio/virtgpu_drv.h
2019 Aug 05
2
[PATCH v6 08/17] drm/ttm: use gem vma_node
Drop vma_node from ttm_buffer_object, use the gem struct
(base.vma_node) instead.
Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
Reviewed-by: Christian K?nig <christian.koenig at amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 2 +-
drivers/gpu/drm/qxl/qxl_object.h | 2 +-
drivers/gpu/drm/radeon/radeon_object.h | 2 +-
drivers/gpu/drm/virtio/virtgpu_drv.h
2011 Jan 10
1
Cosinor en R
Hola a todos,
es la primera vez que escribo a la lista, espero explicarme correctamente.
Trabajo en cronobiología de mamíferos y quiero comenzar a analizar mis datos
con R (haciendo análisis de varianza ya llevo unos años en el entorno). Me
interesa saber si cada una de mis variables podría ajustarse a una función
sinusoidal; tengo medidas cada dos horas para cada una. Querría extraer el
mesor y
2013 Jul 22
2
stopping amd causes a freeze
Occasionally stopping amd freezes my system. It's a rare occurrence,
and I haven't found a reliable way to reproduce it.
It's also a real freeze, so there's no way to get into the debugger
or grab a core dump. I only can perform the 4 seconds hard shutdown to
revive the system.
I run amd through sysutils/automounter, which is a scripting solution
that generates an amd.map file
2011 Sep 12
6
Rv: Re: Cosinor Analysis
--- El lun, 12/9/11, Cristalina <pa100cia77@yahoo.es> escribió:
De: Cristalina <pa100cia77@yahoo.es>
Asunto: Re: [R-es] Cosinor Analysis
Para: "Carlos Ortega" <coforfe@gmail.com>
Fecha: lunes, 12 de septiembre, 2011 08:43
Hola,
Carlos, muchas gracias.
El método empleado en http://tolstoy.newcastle.edu.au/R/e6/help/09/01/0626.html (el url que se referencia