[R] DiagrammeR and grViz

2018-07-25 Thread Evan Kransdorf
Is anyone using DiagrammeR and grViz? I made a nice grViz but when I use RStudio to export quality looks bad (need high resolution figure). I can't quite figure out how to use DiagrammeR to export the grViz I made. Any suggestions? Thank you, Evan [[alternative HTML version deleted]]

[R] Help with data.table

2017-02-28 Thread Evan Kransdorf
Hello, I need some help with data.table. I am trying to use data.table to do a binary search of a large table using 2 keys. KEY1 KEY2 PARAM1 row1 1 2-0.031 row2 2 8 -0.456 row3 3 24-7.86 row4 5 2 2.89 I set the keys:

[R] UpSetR

2016-04-19 Thread Evan Kransdorf
Hello, Does anyone use UpSetR for set visualization? I am wanting to re-order the sets in the diagram. Thanks, Evan [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see

[R] Question about survival::survfit

2015-08-05 Thread Evan Kransdorf
I am wanting to do a KM curve of two groups using survival. For some reason, the summary(survfit) gives me the following output: records n.max n.start events median 0.95LCL 0.95UCL VAR=N 10931 10931 10931 1646 NA NA NA VAR=Y3452 34523452906 NA

[R] Shiny help with verbatimTextOutput

2015-07-30 Thread Evan Kransdorf
Hello, I am working with Shiny and want to use it to show user-entered input from a check box. However, when using verbatimTextOutput with no options selected in the check box I get character(0) as the output. Is there any way to make this so it displays nothing instead? Thanks #Begin R code

[R] Help with declaring factors in a function

2015-02-18 Thread Evan Kransdorf
Hello, I am passing a df to a function and then want to declare factors (based on a vector of column names in the df) for a logistic regression. I am having trouble - R doesn't seem to recognize the factors as declared in the function? Below is my code. Does anyone have any ideas? MyFunction -

[R] plsrglm package

2015-01-07 Thread Evan Kransdorf
Hello, Is anyone using plsrglm to do PLS regressions? I am having trouble figuring out where my factor loadings are stored. For example, if I do a PLS regression and have an object from this, what is the list element of the object with the factor loadings? Thanks very much

[R] Help with Lowess smoother

2014-10-26 Thread Evan Kransdorf
Hello, I'm trying to use Lowess smooters to plot some data for regression analyses. When I do with certain variables, I get the following error: plot(lowess(data$V1,data$V2)) Error in lowess(data$V1, data$V2) : 'delta' must be finite and 0 Does anyone know where the problem is? I suspect

[R] Help

2014-10-26 Thread Evan Kransdorf
Hello, I'm trying to use Lowess smooters to plot some data for regression analyses. When I do with certain variables, I get the following error: plot(lowess(data$V1,data$V2)) Error in lowess(data$V1, data$V2) : 'delta' must be finite and 0 Does anyone know where the problem is? I suspect

[R] Help with functions - printing a variables name

2014-10-14 Thread Evan Kransdorf
Hello Everyone, I was wondering if someone could help me implement a function in R. I want to pass a vector x to my function, peform some math, then output the data. However, I want the output for x to be the *name of the vector I am *using as input. For example, data-c(1,5,10)

[R] Help with PredicABEL

2014-10-03 Thread Evan Kransdorf
I am using PredictABEL to do reclassification. When I use it to compare two models (+/- a new marker), I get some output without a p-valve. Anyone know why this might be? #BEGIN R OUTPUT NRI(Categorical) [95% CI]: 0.0206 [ 0.0081 - 0.0332 ] ; p-value: 0.00129 NRI(Continuous) [95% CI]: 0.1781