blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b003215c3ed92fcce1882a6a6f813f9676c60672 | f41a57727e712813ae285f4302960f2b12a95158 | /R/db_helper.R | 73237b71d2aaa6cebde56e6c4c3e578d27e2bcbb | [] | no_license | exoulster/dbhelper | 10202f5e55f32f763a7be377ee67468ff4fe1ba2 | ee513379883bb636da9d8ff10c95301f2e133e8f | refs/heads/master | 2021-02-09T07:41:22.676280 | 2020-07-12T11:47:39 | 2020-07-12T11:47:39 | 244,258,437 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,349 | r | db_helper.R |
parse_table_name = function(conn=NULL, table_name) {
table_name_txt = table_name %>%
strsplit('.', fixed=TRUE) %>%
.[[1]]
if (!is.null(conn)) {
if ('OraConnection' %in% class(conn)) {
table_name_txt = toupper(table_name_txt)
}
}
if (length(table_name_txt)==1) { # does not contain schema... |
ba385d83e887b6f145fd08fe82ca5bb5ff598034 | dfe41238836c90cf97a5370d77e7c40a9d6547ca | /R/preprocess_omic_list.R | 12169c6d771b7726392ac381621196744125aa0c | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | Valledor/pRocessomics | 6357053773820971335da5c077cab77b3e4eb1de | 35ee785e1ce3c088519812f42cec8cc9ed5cb6f8 | refs/heads/master | 2023-03-10T12:29:02.815741 | 2023-03-02T05:47:26 | 2023-03-02T05:47:26 | 173,298,170 | 3 | 0 | Apache-2.0 | 2019-03-12T18:24:27 | 2019-03-01T12:26:53 | null | UTF-8 | R | false | false | 11,932 | r | preprocess_omic_list.R | #
# Copyright 2019 Luis Valledor / Laura Lamelas
# Last revision 01.2023
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appl... |
dd96d20c7192cf02e3eb12c60e87a2ebbf34a41c | b3aea4451ebe458f962fbd24bfa2b2b415f2c3e9 | /Team_D/Brenda_Li_Final_Project_Code.R | 1e3c9e688329de8c2093d0ad2e94c538f92b02b6 | [] | no_license | Middlebury-Statistical-Learning/Final_Project | 1d084f14a5ab6155f4336e382093459663ea640c | 13a532daf2cda2f7f2efb79a6d4daa61b672e5e4 | refs/heads/master | 2021-01-20T14:46:51.181848 | 2017-06-01T22:14:31 | 2017-06-01T22:14:31 | 90,657,107 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 14,024 | r | Brenda_Li_Final_Project_Code.R | #-------------------------------------------------------------------------------
# Spring 2017 MATH 218 Statistical Learning Final Project
# Due Tuesday 2017/5/23 12:00pm
#
# Team Members: Brenda Li
# Kaggle Competition Name: Africa Soil Property Prediction
# Kaggle Competition URL: https://www.kaggle.com/c/afsis-soil-... |
7b25010de8f1c789440650953184402c1f3de480 | 675d0e46df0b750781353690b07c7ea31d4e824c | /plot3.R | 941b9045c3391ab328e5b53bfab8ccb3fad08328 | [] | no_license | rabund/ExData_Plotting1 | 5486795e85551cb96e353b633b4fc6e6a819b76a | 61cdf09c2e773d9b4ada6ffcd21d0d892fba3a23 | refs/heads/master | 2021-01-19T07:09:30.874631 | 2017-04-07T19:56:48 | 2017-04-07T19:56:48 | 87,526,377 | 0 | 0 | null | 2017-04-07T08:59:18 | 2017-04-07T08:59:17 | null | UTF-8 | R | false | false | 1,003 | r | plot3.R | plot3 <- function(t) {
## plot all three sub meterings per timestamp
## open the output device = png
outFile <- ".\\plot3.png"
png(outFile, width = 480, height = 480)
## set the ranges to define the axis
xrange <- range(t$timestamp)
yrange <- range(c(range(t$Sub_metering_1), r... |
52dfcd3018aa93610d848d0ba904b5f9b16f019d | 40c40770f7ff82c30fa6e58d948f9b90508758c8 | /man/ML_treeplot.Rd | 0859b30376c4eff7b30dd661d5d99158f22ee139 | [] | no_license | NatalieKAndersson/DEVOLUTION | c61a5ff65d1322f1ec4794435d2c17bf6f2e65fa | 7ec9cec2ef04cdacb47db6413b41c352b0460d7f | refs/heads/master | 2023-08-09T20:13:18.565107 | 2023-07-12T13:05:39 | 2023-07-12T13:05:39 | 297,145,258 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 526 | rd | ML_treeplot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/DEVOLUTION.R
\name{ML_treeplot}
\alias{ML_treeplot}
\title{Visualising the ML-tree.}
\usage{
ML_treeplot(ML_tree, limitml, col)
}
\arguments{
\item{col}{If the phylogeny should be colored or not.}
\item{MP_tree}{The MP-tree object obtained ... |
7455546fd5f82340ebfa7339c108904711c4c6c4 | dc3e41f013c39f912f6e8058d1feaa855244841c | /ShinyApp/server.R | 066e72f3e7b42b3d8622c05f62963d6cd24f9247 | [] | no_license | dfan/CWAS_Census | 5848a1bcc4a5c71b9eb89c37152d72acc623920e | f7147bf96bfb425dcde6d28c2830888a0449a0fe | refs/heads/master | 2022-12-10T02:15:53.518476 | 2020-09-14T03:40:06 | 2020-09-14T03:40:06 | 61,927,254 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 22,152 | r | server.R |
# Define server logic required to output displays
shinyServer(function(input, output, session) {
observeEvent(input$action,{
session$sendCustomMessage(type = 'resize', message = paste0(100 * getTotal(), 'vh'))
})
# loading stuff
withProgress(message = 'Loading...', value = 0.1, {
# use install.packa... |
66c264589f55b78bb413a9c5a9074efc5d698e86 | 8eaf2fc58bda3aa46fe3d921fe8e10a23575061a | /tabs/fda_plots_tab.R | 9dadab491eff51557d81730ef55c0525bd9708ef | [
"MIT"
] | permissive | jovitagudan/Covid19 | 739c83a75bac016dd8e1c74a7627b5d8cd11b87c | 01e74c3fbad3349b028c8db6c1fb1a133ebadf5e | refs/heads/master | 2023-08-14T00:31:03.778392 | 2021-10-06T13:26:57 | 2021-10-06T13:26:57 | 292,038,510 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,793 | r | fda_plots_tab.R | fda_plots_tab <- tabItem(
tabName = "fda_plots",
fluidRow(
box(
span(tags$i(h6("Select one or more countries/regions.")), style="color:#d2d5d6"),
tags$head(tags$style(HTML('
#country+ div>.selectize-dropdown{background: #5b6063; color: #ffffff;}
... |
17cbec1171509c4859b4f1cd83ea2f769cfc7c44 | 2b5c558745f842e9944ae2618b9dc0c619256241 | /KS-plot questionable.R | 375fb78d67d2a6d430468461c247a8bc45d47ebe | [] | no_license | starsfell/KS_Curve | a78190b8ce583b830cb2029c99d9845612ab323d | 1946565bad89d94193ccbb80ee566c21f93acfa4 | refs/heads/master | 2020-03-27T08:42:55.347259 | 2018-08-28T07:10:55 | 2018-08-28T07:10:55 | 146,280,790 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,724 | r | KS-plot questionable.R | rm(list=ls())
# 引入library
library(ggplot2)
library(reshape2)
library(ROCR)
library(dplyr)
# 引入样本,划分Train与Test
diamonds$is_expensive <- diamonds$price > 2400
is_test <- runif(nrow(diamonds)) > 0.75
train <- diamonds[is_test==FALSE,]
test <- diamonds[is_test==TRUE,]
# 拟合模型
fit_A <- glm(is_expensive ~ ca... |
a5f7ee0aec1f34a08570465e88cc882932d9b3b0 | 0a021f843670c168c4a212207c13be1b0a88ddbe | /inst/doc/plotfunctions.R | be5cc2a9778bea3584624247a133c58f7f005a2d | [] | no_license | cran/plotfunctions | ddc4dd741ad2a43d81deb0ef13fe2d7b37ca84bd | ebacdd83686e1a32a4432a35f244bf82015a19a5 | refs/heads/master | 2021-01-20T18:53:05.464513 | 2020-04-28T09:00:02 | 2020-04-28T09:00:02 | 59,847,744 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,329 | r | plotfunctions.R | ## ----setup, include=FALSE-----------------------------------------------------
knitr::opts_chunk$set(eval=TRUE, include=TRUE, echo=TRUE, fig.height = 4, fig.width = 4)
## ----startup------------------------------------------------------------------
library(plotfunctions)
## ----ex1, fig.width=8, fig.height=4, fig.s... |
6a3d1159d69e2d06455530d854aa9ef7fc803360 | 6b0a2ee0da687afe5812e895bfb5274409ea7fea | /R/dataprep.R | 4c3dfe76811146117283554c876648b469799bb1 | [
"MIT"
] | permissive | kkholst/mcif | d5450b13a264a1336579fcffc2cb74f8dd22de42 | 88c5e7606d991e3c9ec85ffb12febb32d3670bfa | refs/heads/master | 2020-05-21T23:57:17.269517 | 2017-08-02T14:03:39 | 2017-08-02T14:03:39 | 59,477,463 | 2 | 2 | null | 2017-07-31T11:51:16 | 2016-05-23T11:34:20 | C++ | UTF-8 | R | false | false | 2,685 | r | dataprep.R | #-----------------------------------------------------------------------
# Time transforming function g(t)
#-----------------------------------------------------------------------
# Transformation g
g <- function(x,delta){
atanh((x-delta/2)/(delta/2))
}
# Derivative of g
dg <- function(x,delta){
(1/2)*delta/... |
dd59cc0c7af526e1508691e8fdc89c481c35811c | 96a999542c8dbcc68744697954cd516f88f66b32 | /WSP_detailed_Anal/old style solution.R | c2567f0806bf4fd8e584d5a86b256fc32e3596a6 | [] | no_license | tomfun10/test2 | 41bc7485d73cf60b55ecf1782ead8acaca8460b4 | d015382d13bdcf44ca4776f5b37c6665b2bd85c7 | refs/heads/master | 2021-01-23T07:20:41.511271 | 2017-01-31T06:45:00 | 2017-01-31T06:45:00 | 80,497,911 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,203 | r | old style solution.R | # ----------------------
# Old style solution below, assuming all csv's are readable - stacking one on top of another
mf = data.frame(fNumb=seq_along(d) , fName=d, isDataFrame= FALSE)
# Which files are readable as csv's
fil = vector(mode='list', length(d))
for (i in seq_along(d)){
# print(d[i])
fil[[i]] = try({... |
fd2cd5c498454bc68fdef3f6d1bd08d5f58cea12 | 100579f212788d09f4e502dd0b058709f282faa4 | /R/jfsp.R | 640e67abe7336306fafded44d05e28cc52e2cbfe | [
"MIT"
] | permissive | leonawicz/jfsp | 615c63d9d4b8cf1c628db2e6710ff4c76cfe52b5 | 370918501cf9764fe03ff1e811557e8d804655ce | refs/heads/master | 2021-04-27T08:50:09.450955 | 2018-03-21T16:43:18 | 2018-03-21T16:43:18 | 76,271,792 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 720 | r | jfsp.R | globalVariables(c(".", ".data"))
#' jfsp: R functions and data associated with ALFRESCO wildfire model outputs for the Joint Fire Science Program (JFSP).
#'
#' The jfsp package encapsulates code, data and analysis results associated with ALFRESCO wildfire model outputs produced by the Scenarios Network for Alaska and ... |
9897413298ec7b6e0bcb6d6eede69f514c19d915 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/Rpdb/examples/rotation.Rd.R | 73bcd0198f9355745e301881847fbdace377f901 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 617 | r | rotation.Rd.R | library(Rpdb)
### Name: rotation
### Title: Rotation of Atomic Coordinates
### Aliases: R R.coords R.pdb rotation
### Keywords: manip
### ** Examples
# First lets read a pdb file
x <- read.pdb(system.file("examples/PCBM_ODCB.pdb",package="Rpdb"))
cell <- cell.coords(x)
visualize(x, mode = NULL)
# Rotation of the st... |
3286ab1b88791270bfb03bd7d2ffe2b55d385bb1 | 8527a6e9d3747128929a0946e0612345280649fe | /R/get_pbp.R | 3bb9d23a97e28eacb21a6b81ac1b08fb0c273e8a | [] | no_license | skoval/slam-sofascoreR | 2164da68a62dd767fa7115a79b186db299a79a4f | dd2f377cf376355566dee04a7a1d0cac4b14fd5b | refs/heads/master | 2022-03-11T07:00:09.916410 | 2019-11-20T02:45:01 | 2019-11-20T02:45:01 | 222,835,812 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,796 | r | get_pbp.R | #' Get PBP and Pressure Scores
#'
#' @params matches. Data frame of completed matches
#' @params con. DB connection
#'
#' @export
write_pbp <- function(matches, con = make_connection()){
matches <- matches %>%
dplyr::filter(statusDescription == "FT") # Limit to completed matches
results <- do.call("rbind", la... |
e6ae8924f861b9d1f65e3688d2bd729b6a100129 | 0aadcf7d61193d1a2405370cbad3764f565cdf3e | /R/rmysql.R | fe17f3a2d2c64d69cab6259c79801ece71bfd6b8 | [] | no_license | rsh249/vegdistmod | da662a75579ab32b7b462aa2e1547ae9b8caac61 | cc4e5f0c31fa1ef7d53e8127f0a57001c1b04403 | refs/heads/master | 2021-01-17T10:01:22.940779 | 2019-01-28T16:45:12 | 2019-01-28T16:45:12 | 59,592,035 | 4 | 0 | null | 2016-10-19T19:21:41 | 2016-05-24T16:58:17 | R | UTF-8 | R | false | false | 864 | r | rmysql.R |
.gbif_local <- function(taxon, limit=1000000000, db, u, h, pass){
#this will only work on Cuvier
#if(!is.null(grep("[[:space:]]", taxon))){
split <- strsplit( taxon, ' ');
genus = split[[1]][1];
species = split[[1]][2];
if(is.na(species)){
species = "%%";
}
#}
query = paste("SELECT... |
f9dcb7cdb65144b44b9f35ee5f29fcb4c453cc87 | 6051b2367c480dea740e343edb682ccabf5993b6 | /music_plotter.R | 61fef11d8827d247ec0293c4780383c9d8c71f8a | [] | no_license | gvdr/2016_sc_sfu | b7a0f9ffeb546ae9c21fbf7b0345b3ef40dc326b | 4fcb36480a80330eba72fbc306d87d98c2ef68db | refs/heads/master | 2021-01-12T12:00:57.982562 | 2016-10-04T19:28:14 | 2016-10-04T19:28:14 | 69,998,188 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 517 | r | music_plotter.R | music_plotter <- function(music_data,
xvariable,
yvariable,
colorvariable,
do_smooth) {
music_plotted <- music_data %>%
filter(year > 1000) %>%
ggplot(aes_string(y = yvariable, x = xvariable, color = colorv... |
e0ac56766c9a1052dd9fe02fc8c6896d84feed8b | d4918568929a592a40ee705dc91614be17603c2c | /man/data2nnet.Rd | 0b8519deff999f8f0d5de4317dc07b031f296389 | [] | no_license | kevin05jan/iop | d722f6c8520cd457872f9a4f2d83294e1a3dc675 | 8a8b391976982985f1cfe66535d58a1606d4099b | refs/heads/master | 2020-08-02T14:25:27.256169 | 2019-10-19T09:43:06 | 2019-10-19T09:43:06 | 211,387,761 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 316 | rd | data2nnet.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tmp.R
\name{data2nnet}
\alias{data2nnet}
\title{Neural Networks: nnet::nnet}
\usage{
data2nnet(f, x, ...)
}
\description{
Neural Networks: nnet::nnet
}
\examples{
m = data2nnet(Species ~ ., iris)
predict(m, iris)
}
|
85b5f42585fd87ef9af29103d83ed279e871b6f7 | ef57d1cb1527de38efedd75149facbb5848f1ff7 | /man/Compboost.Rd | 6d3a4c845b9132a0c042237a4a651e0dd9353a11 | [
"MIT"
] | permissive | QuayAu/compboost | 848126d5ca089a16922ade488ee22ad08e79e16d | c016409903583f1490e0800ee3bb0099878a203f | refs/heads/master | 2020-05-05T02:25:00.429666 | 2019-03-30T13:12:54 | 2019-03-30T13:12:54 | 173,743,931 | 0 | 0 | NOASSERTION | 2019-03-04T12:49:46 | 2019-03-04T12:49:46 | null | UTF-8 | R | false | true | 12,207 | rd | Compboost.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/compboost.R
\name{Compboost}
\alias{Compboost}
\title{Compboost API}
\format{\code{\link{R6Class}} object.}
\description{
\code{Compboost} wraps the \code{S4} class system exposed by \code{Rcpp} to make defining
objects, adding objects, the t... |
dc7d9edfc36276877273837af7fc5b2e463ce5f9 | 698dcc73b9c81e7cb81ce4fd90efa52a4b72ea0b | /E428 - PTM counts.R | d312e344fd8c601646e5796442895ce8675d5f20 | [] | no_license | andrewrgross/E428-post-translational-modification | 22cc3a711d5b9deb13965e4b1ca84d0db7dca486 | 49f61918068521529ccd8f52be4ec353d680236a | refs/heads/main | 2023-08-30T02:42:33.575551 | 2021-11-12T18:49:41 | 2021-11-12T18:49:41 | 399,268,701 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 18,992 | r | E428 - PTM counts.R | ### E428 - PTM Counts -- Andrew R Gross -- 22SEP21
###
### A program to count the number of PTMs expressed in an expression table by group
### INPUT: PTM quantification tables
### OUTPUT: A counts table of the number of PTMs consistently found in each group
##############################################################... |
acc44fe845974f498f75aec93ff636a9be71eb06 | 7c39da976f28af016e5b1f847e68473c659ea05d | /R/RearrangementParams-class.R | 56cc5a1e4afdb9e6d35cace5a6f9be117b220609 | [] | no_license | cancer-genomics/trellis | b389d5e03959f8c6a4ee7f187f7749048e586e03 | 5d90b1c903c09386e239c01c10c0613bbd89bc5f | refs/heads/master | 2023-02-24T05:59:44.877181 | 2023-01-09T20:38:36 | 2023-01-09T20:38:36 | 59,804,763 | 3 | 1 | null | 2023-01-11T05:22:52 | 2016-05-27T04:45:14 | R | UTF-8 | R | false | false | 5,553 | r | RearrangementParams-class.R | #' @include AllGenerics.R
NULL
#' Parameter class for rearrangement analysis
#'
#' @slot rp_separation length-one numeric vector
#' @slot min_number_tags_per_cluster length-one numeric vector
#' @slot min_cluster_size length-one numeric vector
#' @slot max_cluster_size length-one numeric vector
#' @slot min.gapwidth l... |
41ca606d4203145a04ddccd9cf5ff1b15b312835 | a312832099b0835621b07ae88cd915cac5518bc7 | /utils/stick2lm.R | d8886fa55eaa7f1e793a1bb666bbed611e4ec631 | [
"MIT"
] | permissive | PennLINC/xcpEngine | 5858b4dcdd614d1319eaf3fc5f904cc065f1c50e | d7998c89bf4b77060479f164db8914d30afe5050 | refs/heads/master | 2023-04-25T23:58:59.315254 | 2023-04-19T16:30:56 | 2023-04-19T16:30:56 | 80,768,241 | 13 | 12 | MIT | 2023-04-19T16:30:57 | 2017-02-02T21:00:22 | Shell | UTF-8 | R | false | false | 8,222 | r | stick2lm.R | #!/usr/bin/env Rscript
###################################################################
# ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ ⊗ #
###################################################################
###################################################################
# function for converti... |
a48b3bb8d5b1ca5fefc32ebd69aa8ab52cf697bb | 541202ce433b1fdcff47e07647333806fb0e6d6c | /tests/testthat/test-geos-polygonize.R | ffba3543c45de9e2362d392abbe1193bee2868bc | [
"MIT"
] | permissive | morandiaye/geos | fe3b786366a9ec891d1aa79c9b5b4144d64c437d | fd33a9ca885f2a5e2793cd738e6c4173051eb44f | refs/heads/master | 2023-08-26T10:07:43.055164 | 2021-11-07T15:12:15 | 2021-11-07T15:12:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,567 | r | test-geos-polygonize.R |
test_that("polygonize works", {
expect_true(
geos_equals(
geos_polygonize("MULTILINESTRING ((0 0, 0 1), (0 1, 1 0), (1 0, 0 0))"),
"POLYGON ((0 0, 0 1, 1 0, 0 0))"
)
)
expect_identical(geos_polygonize(NA_character_), geos_read_wkt(NA_character_))
bad_ptr <- geos_read_wkt("POINT (0 0)")
... |
a6f62589de4610b0814e3282af3f657548d88522 | 7225139edc69f95a358143b6da98dee0d8dd83b4 | /r_kkagi/ch04_ex02.R | afbf1d188b57942f2d9c6baa4241bb3589dafc8f | [] | no_license | diligejy/r_train | 57512fb571fcef4bdc63e3fccdc8d304ff020024 | 925bb9fea85151a4e1be8ddc9ced3e48a3d789a8 | refs/heads/master | 2022-12-16T06:44:49.017734 | 2020-09-16T10:04:42 | 2020-09-16T10:04:42 | 258,130,049 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 424 | r | ch04_ex02.R | DF <- mtcars
# 산점도 그리기기
plot(DF[, c(1:5)])
plot(DF[,c(6:11)])
# 원하는 그래프만 그리기
plot(DF$mpg ~ DF$disp)
# disp -> 배기량, mpg -> 연비
# 상관계수 구하기
cor(DF$mpg, DF$disp)
# mpg(연비) 자세히 살펴보기
summary(DF$mpg)
boxplot(DF$mpg)
hist(DF$mpg)
hist(DF$mpg, breaks = 10)
# disp(배기량) 알아보기
boxplot(DF$disp)
hist(DF$disp)
hist(DF$disp, ... |
a0c4e057452e4fb5eae3b47ff7fb15a2ed9c6b89 | da980b7e2a20ca7a3e5e7ba1f54cb670bb2306bd | /rsample.R | cc0af63c27c230edc0b5df85b10d7949f93d1edb | [
"Apache-2.0"
] | permissive | pucpsophia/linealr | 13f6279411a884eb2c569ce7244caf828bc233bb | 39d6ad3e8350de1237adf8028d9961cf0ba3160e | refs/heads/master | 2021-04-15T13:56:28.320047 | 2018-03-24T23:06:29 | 2018-03-24T23:06:29 | 126,647,297 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 170 | r | rsample.R | library("faraway")
attach(cathedral)
str(cathedral)
head(cathedral)
lab <- rownames(cathedral)
plot(cathedral$x, cathedral$y)
text(cathedral$x, cathedral$y, lab = lab)
|
e88a875b987212020527462f8053b97bed6b6e19 | 7167a42a17be4c995958aaeac639cfa84867e7e9 | /US_only/1-TrendInHumidityUSOnly.R | 5c9ebfd52e61588edb5cb9bd9cdefa9ed3d6ec27 | [] | no_license | tristanballard/false_discovery_rate | b78dd9551ae1d9ea63bf50f1762cd367a2f60fb2 | b8583e547527dac12f62df54a93c77360d14fd8f | refs/heads/master | 2020-12-30T12:24:18.097054 | 2017-05-15T21:47:37 | 2017-05-15T21:47:37 | 91,384,311 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,592 | r | 1-TrendInHumidityUSOnly.R | suppressMessages(library(fields))
suppressMessages(library(ncdf4))
suppressMessages(library(RColorBrewer))
suppressMessages(library(abind))
suppressMessages(library(base))
suppressMessages(library(Rfit))
#File below is too large (150mb) to include in the zipfile;
shum.hw=readRDS("/scratch/users/tballard/shum/percentil... |
579f8b14288d0be0f3d75517e1becbbfd2557bd9 | 0ee989cf562771905cb979ad19a49eba735f77db | /R/amh_proposal_refresh.R | a80b8ef2b1e17fd84c335379c2dfe8f30b94979d | [] | no_license | alexanderrobitzsch/LAM | e403fdd1cfd573566ed67035ecb8873ee63dd53e | 14431ad82c95671353fda9fba1fbe8c5102a7ba8 | refs/heads/master | 2023-05-14T05:08:53.569886 | 2023-05-03T09:13:01 | 2023-05-03T09:13:01 | 95,305,128 | 5 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,315 | r | amh_proposal_refresh.R | ## File Name: amh_proposal_refresh.R
## File Version: 0.25
#*** refreshing the proposal SD
amh_proposal_refresh <- function( acceptance_parameters, proposal_sd,
acceptance_bounds, acceptance_rates_history, proposal_equal )
{
target <- mean(acceptance_bounds)
acc <- acceptance_parameters[,1] / accepta... |
e798b4b21543a4b5149c34f6c214425db1c8d202 | acc1ad04e1827919205fabb796fcf89592781f5c | /R/plot_past.R | 886fccc9c0507075957ff57e42989dcc78eae5ee | [] | no_license | csgillespie/benchmarkme-data | f2c21707a6babc6f51263a49140390433fc3a574 | 0672aedd6678f5f60d7643f7eefa4031788899b8 | refs/heads/master | 2020-05-21T12:23:20.201955 | 2020-04-23T14:31:48 | 2020-04-23T14:31:48 | 48,945,789 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,573 | r | plot_past.R | globalVariables(c("cpu", "n_time", "past_results_v2", "time", "sysname", "ram"))
#' Scatter plot of past benchmarks
#'
#' Plot the previous benchmarks. This function creates two figures.
#' \itemize{
#' \item Figure 1: Total benchmark time over all benchmarks (in seconds) on the y-axis.
#' \item Figure 2: Relative time... |
98a7baa723226f436cd4ddd8e4cd60c788cb1e5d | b650358a163e9187cb5db226e5c4acba52fde98a | /viz-with-r.R | 125e9284e1092e7e7d6aa48095d9136e0b70a5f7 | [] | no_license | andrewbtran/viz-in-r | 11ead60480d3d945066d730096a86ab11a277ee0 | ed467971b4befd01563b3e5b28e48f574017199e | refs/heads/master | 2021-01-11T18:53:45.764539 | 2015-12-09T03:56:40 | 2015-12-09T03:56:40 | 47,667,459 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,889 | r | viz-with-r.R | # libraries needed for some neat charts
library(plyr)
library(lubridate)
library(dplyr)
library(ggplot2)
library(tidyr)
# The city gave us two separate files
garage1 <- read.csv("council_garage/garage_rawdata1.csv")
garage2 <- read.csv("council_garage/garage_rawdata2.csv")
# We have to bring them together, so we'll b... |
52e97d44bbfbad9a3c5f95b6977fc66e97bf76a4 | b6228c51511e3656ed0bc422d3999af2715ae893 | /template.R | ce68e58ed59495311013655b14db7bad254d8351 | [] | no_license | NorfolkDataSci/twitter-account-analysis | d0cedb7673c0c31c714036a0bc45348444171276 | 9d32df8a8d19b66e42d044e8e11bb52e797e1ac2 | refs/heads/master | 2021-01-20T06:46:13.503101 | 2016-08-07T19:06:58 | 2016-08-07T19:06:58 | 64,975,828 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,107 | r | template.R |
# turn off stringsAsFactors because they make text analysis hard
options(stringsAsFactors = FALSE)
# load packages
suppressMessages(suppressWarnings(suppressPackageStartupMessages(library(twitteR))))
suppressMessages(suppressWarnings(suppressPackageStartupMessages(library(plyr))))
suppressMessages(suppressWarnings(... |
90ce195cda14077d5064aada6a1c30921c82d29d | 5537583b4a93a529590af69d273f70ee16d4c0e4 | /purge_intri/append.R | ed7c6e9018abd85dc3ca6207511d0f04bd73fa64 | [] | no_license | larrymy/intri | 5735693c4fba8f8ab0a623737873a1fecab899a8 | 16f75626a005946cdac001670dfba36711242c09 | refs/heads/master | 2021-09-06T02:13:25.712837 | 2018-02-01T15:51:55 | 2018-02-01T15:51:55 | 106,582,642 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,109 | r | append.R | #append fdf
library(dplyr)
library(lubridate)
#Load data
setwd("C:/Users/jy/Desktop/intri/purge_intri/")
load("3_20171110_fdf_intri.rda")
setwd("C:/Users/jy/Desktop/tempmplus/rda")
load("plot_df.rda")
#last date
lastdate <- max(df[,"DATE"])
df1 <- plot_df %>%
filter(date == lastdate) %>%
select(code, o... |
d68fd48d2053c42dcdf5abcc13334b660483f1f0 | 6117f10e74484838f8d21498487dfd7449a824d3 | /plot1.R | 0b8ba0fb2bc56edeac0530475eddc086ad543b1a | [] | no_license | dougyoung/ExData_Plotting1 | 6866db3ced1c0f40c92e0b96b020db7d7bb0ff47 | d07d8bd4aea56775a4e3818e4882f61e61a1e72c | refs/heads/master | 2020-06-21T07:36:05.472241 | 2016-11-26T03:05:39 | 2016-11-26T03:05:39 | 74,797,977 | 0 | 0 | null | 2016-11-26T01:39:33 | 2016-11-26T01:39:32 | null | UTF-8 | R | false | false | 716 | r | plot1.R | source('load_samples.R')
source('render_to_png.R')
plot1 <- function(samples) {
# Histogram of Global Active Power over samples
# Histogram has these properties:
# color: red
# title: Global Active Power
# x-axis label: Global Active Power (kilowatts)
# y-axis label: Frequency
hist(
samples$G... |
c95a045a7993955a0832a74d52c04ea616190b3a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/catnet/examples/cnCluster.Rd.R | 8a8d3668b50079e2f502543b14cab37b1c890f5b | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 332 | r | cnCluster.Rd.R | library(catnet)
### Name: cnCluster-method
### Title: Network Clustering
### Aliases: cnCluster cnClusterSep cnClusterMI cnCluster,catNetwork-method
### cnClusterSep,catNetwork-method
### Keywords: methods graphs
### ** Examples
cnet <- cnRandomCatnet(numnodes=30, maxParents=2, numCategories=2)
cnCluster(obje... |
c3c2aa6f2a3d8b8c2b946a96a781793c3f526f30 | b1552d66be25934829f08f923c84af17a3d6b8fc | /fig-whoami/fig-mcmc.R | 76401d31f5ef6b179eb621313b45cb5ffecef801 | [] | no_license | gvegayon/faculty-talk | b8d0e52c6dc1b4c9f868e54ceb5c4fecfefc1529 | 48eb4e0e53e567eb4636f4f884d2c3979e98cc0e | refs/heads/master | 2023-08-25T00:31:02.309572 | 2021-11-01T17:21:35 | 2021-11-01T17:21:35 | 317,743,622 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,223 | r | fig-mcmc.R | library(coda)
# dat <- readRDS("fig-mcmc/mcmc_partially_annotated_no_prior.rds")
library(fmcmc)
data(logit, package = "mcmc")
out <- glm(y ~ x1 + x2 + x3 + x4, data = logit, family = binomial, x = TRUE)
beta.init <- as.numeric(coefficients(out))
lupost_factory <- function(x, y) function(beta) {
eta <- as.numeric(x %... |
7aa3a71e2b8b26348cdc407f70d75deaf8e8ef59 | 66a2afd9c0dab1d55e6d236f3d85bc1b61a11a66 | /man/remove_empty_linked_object_cols.Rd | f0aaa58b7c6b0091a3a0a0380422a8e5643cdca3 | [
"MIT"
] | permissive | StevenMMortimer/salesforcer | 833b09465925fb3f1be8da3179e648d4009c69a9 | a1e1e9cd0aa4e4fe99c7acd3fcde566076dac732 | refs/heads/main | 2023-07-23T16:39:15.632082 | 2022-03-02T15:52:59 | 2022-03-02T15:52:59 | 94,126,513 | 91 | 19 | NOASSERTION | 2023-07-14T05:19:53 | 2017-06-12T18:14:00 | R | UTF-8 | R | false | true | 950 | rd | remove_empty_linked_object_cols.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{remove_empty_linked_object_cols}
\alias{remove_empty_linked_object_cols}
\title{Remove NA Columns Created by Empty Related Entity Values}
\usage{
remove_empty_linked_object_cols(dat, api_type = c("SOAP", "REST"))
}
\arguments{
\... |
317dde33ed300571695320f8e00ff87b5eedd116 | cb6f2a406e75c379a647e0913ac407a2e067c693 | /man/run.permutations.Rd | 26d8f5a8cca47b5d74be880b782a3fb5813993e2 | [] | no_license | NKI-CCB/iTOP | 9f797340aa9bf90a1bb7b1bb273c7b7f2b59a37a | e93ad3a8bbd7754153c57c44afc85970c9b682c2 | refs/heads/master | 2021-04-09T16:02:13.978456 | 2018-06-13T08:14:16 | 2018-06-13T08:14:16 | 125,842,771 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,148 | rd | run.permutations.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/functions.R
\name{run.permutations}
\alias{run.permutations}
\title{Permutations for significance testing}
\usage{
run.permutations(config_matrices, nperm = 1000)
}
\arguments{
\item{config_matrices}{The result from compute.config.matrices().... |
246400d5d077d430a3bad8b6b6b01e45900811bf | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/heplots/examples/Hernior.Rd.R | eb4f7044cec8b3209971e83e0c91dc029d8d85b8 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,238 | r | Hernior.Rd.R | library(heplots)
### Name: Hernior
### Title: Recovery from Elective Herniorrhaphy
### Aliases: Hernior
### Keywords: datasets
### ** Examples
str(Hernior)
Hern.mod <- lm(cbind(leave, nurse, los) ~
age + sex + pstat + build + cardiac + resp, data=Hernior)
Anova(Hern.mod, test="Roy") # actually, al... |
568d844af932edde1d165dadc770e24d1f6c5a74 | 4201e9b754760dc35fc0aeef9df5a8b9d801c47f | /bin/R-3.5.1/src/library/graphics/R/persp.R | 25739ca9b334b0804359d71550b1a224f60e15da | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"GPL-2.0-only"
] | permissive | lifebit-ai/exomedepth | cbe59cb7fcf2f9183d187f8d466c6620fb1a0c2e | 5a775ae5e2a247aeadc5208a34e8717c7855d080 | refs/heads/master | 2020-03-27T12:55:56.400581 | 2018-10-11T10:00:07 | 2018-10-11T10:00:07 | 146,578,924 | 0 | 0 | MIT | 2018-08-29T09:43:52 | 2018-08-29T09:43:51 | null | UTF-8 | R | false | false | 2,995 | r | persp.R | # File src/library/graphics/R/persp.R
# Part of the R package, https://www.R-project.org
#
# Copyright (C) 1995-2012 The R Core Team
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; eithe... |
8354a0608a4809f9d2fe80ea4f41f03b5b0daa9d | c4a21be5b82f9f2f797e99f0658a290fd5a1035c | /update_nowcasting.R | 1d648bc7e354de6fe3b2be4662004ea5ba485e70 | [] | no_license | kamila-belo/nowcasting | 98209d3e31ac3a57d25430136e1d7d83e9942d57 | 5c26e259765f4ca03773ea3413739b6c22c54805 | refs/heads/master | 2022-09-02T20:34:00.328155 | 2020-05-21T07:13:03 | 2020-05-21T07:13:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,851 | r | update_nowcasting.R | # Libraries
library(widgetframe)
library(tidyverse)
library(plotly)
library(lubridate)
library(optparse)
library(Hmisc)
library(stringr)
library(foreign)
library(dplyr)
library(NobBS)
library(zoo)
library(tidyr)
# carrega funcoes----
source("_src/funcoes.R")
##########################################################... |
e64722577c268d890a85fbed3f9ab0540018dd37 | 9a67dc2525091b63f5182294d65266e735600b71 | /rcpp2.R | 731797c97f1ff9b5da7dbe4129715da04956e945 | [] | no_license | brennap3/thesis_2 | 83ba43d4e8d687314a5f02d63c3de6a30571da00 | 5747a5bfbfb3fbf13643e1f1265d839cdf297b9c | refs/heads/master | 2021-01-20T15:18:29.181654 | 2018-05-28T12:11:16 | 2018-05-28T12:11:16 | 90,749,279 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,971 | r | rcpp2.R | rm(list=ls())
library(lubridate)
library(dplyr)
library(lubridate)
library(purrr)
library(magrittr)
library(rts)
library(depmixS4)
library(TTR)
library(ggplot2)
library(reshape2)
library(gridExtra)
library(dplyr)
library(ggplot2)
library(tidyr)
library(lubridate)
library(KMsurv)
library(tibble)
library(stringr)
librar... |
1f642dade7670ab5995e308d94faab3ac8f05bc0 | 204998478eb0d27bd9d64d8814f8b6d664107bb5 | /SEWE.R | 183430d55aac99b4870aad43e98b2a73a41806fc | [] | no_license | TheAlchemistNerd/R-Programming | da7ce38ffc26957671b84170c24725445903dd75 | d0e032d93c440b770692636b191bade05ce4f64d | refs/heads/main | 2023-06-08T09:37:24.133530 | 2023-05-31T18:58:18 | 2023-05-31T18:58:18 | 356,393,502 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,004 | r | SEWE.R | m=15
m
n=17
n
m+n
m/n
17/15
fn1 <- function(x){
return(x)
}
fn1(66)
mulp=function(a,b){
result=a*b
return(result)
}
mulp2=function(a,b){
return(a*b)
}
mulp(40,80)
mulp(m,n)
# non-linear least square
xvalues <- c(1.6, 2.1, 2, 2.23, 3.71, 3.25, 3.4, 3.86, 1.19, 2.21)
yvalues <- c(5.19, 7.43, 6.94, 8.11, 18.75, 1... |
490a0c13792ffe34c152804096b995571a472576 | 6ca2764f97c949600a320f6132a4d401eefc74c6 | /cachematrix.R | fdff3f74b59a1006d0903f5211055c5fdcccb7da | [] | no_license | bingcaowei/ProgrammingAssignment2 | 2e963b9c402d1c527168d98c89318eda1cf7b0c2 | 55fb2ed9bb888cc551371b0fbb2f39df481e1a25 | refs/heads/master | 2020-06-29T11:10:48.171133 | 2019-08-04T16:54:12 | 2019-08-04T16:54:12 | 200,518,917 | 0 | 0 | null | 2019-08-04T16:55:47 | 2019-08-04T16:55:46 | null | UTF-8 | R | false | false | 1,140 | r | cachematrix.R | ## bingcaowei August 2019
## https://github.com/bingcaowei/ProgrammingAssignment2
## HW3 for R Programming Coursera
## Creates a special matrix object that can cache its inverse
## assume matrix is always invertible
makeCacheMatrix <- function(x = matrix()) {
inv <- NULL
set <- function (y){
... |
832f77e2b5f93e8ad481349ec19b34224a21de89 | a0dc6dc943cee1dd1f86c1dd62d9ef44d9369951 | /data_model.R | 4f4ff107416a69b15afdd7c0ee84be69569c69d6 | [] | no_license | mortonanalytics/n_gram_model | d09eb66f00b66309fb3ef231b121512fc0ce7b73 | f60cc8427f73a818a1b5b18828ad7f4914ba93ec | refs/heads/master | 2021-01-20T04:47:24.587655 | 2017-06-26T22:29:32 | 2017-06-26T22:29:32 | 89,733,575 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,509 | r | data_model.R | ##tidy data management packages
library(dplyr)
library(tidyr)
library(tidytext)
library(quanteda)
##language detection package
library(textcat)
##graphics package
library(ggplot2)
dir <- "Z:/Ryan/Coursera/10_capstone_project/corpus/final/en_US"
setwd(dir)
data(stop_words)
docs <- list.files(dir)
docs <- docs[grep("t... |
5f7e2ea07da0f6a98aaf4d72253a2a3687b4efde | e6ef0f643c8af293ce42bdeb0937d4b24798ddbd | /svm.R | e21143e983d7777eb7563311adcf857e04ce5936 | [] | no_license | Karpagampgdds/SVM | a7a91586da5304f60251fd9dfcf00fb6d5be0ac1 | 4c21de29ac379502ea53ad018f57442803ec209e | refs/heads/master | 2021-03-14T19:04:22.582838 | 2020-03-12T09:02:57 | 2020-03-12T09:02:57 | 246,787,287 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,676 | r | svm.R | #--------------------------------------------------------------------------------#
#----- Hand written Digit Recognition using SVM both Linear and Non-linear ------#
# Submitted by : KARPAGAM R
#--------------------------------------------------------------------------------#
# --------------------- Installing ne... |
279d2ab069cfed57964e18db06a9fff28806d597 | e68e99f52f3869c60d6488f0492905af4165aa64 | /man/torch_nonzero.Rd | f85dee27cfcda261ebe0cfe2ca8e42d8a7d7e740 | [
"MIT"
] | permissive | mlverse/torch | a6a47e1defe44b9c041bc66504125ad6ee9c6db3 | f957d601c0295d31df96f8be7732b95917371acd | refs/heads/main | 2023-09-01T00:06:13.550381 | 2023-08-30T17:44:46 | 2023-08-30T17:44:46 | 232,347,878 | 448 | 86 | NOASSERTION | 2023-09-11T15:22:22 | 2020-01-07T14:56:32 | C++ | UTF-8 | R | false | true | 1,712 | rd | torch_nonzero.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gen-namespace-docs.R,
% R/gen-namespace-examples.R, R/wrapers.R
\name{torch_nonzero}
\alias{torch_nonzero}
\title{Nonzero}
\usage{
torch_nonzero(self, as_list = FALSE)
}
\arguments{
\item{self}{(Tensor) the input tensor.}
\item{as_list}{If... |
cf894c8436bc5e4786034c41812bbc7932c60dc0 | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /Benchmarking/R/bootStat.R | 7a307a8ff62e95622e2c3af0e25515a166f194a4 | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 817 | r | bootStat.R | # $Id: bootStat.R 117 2011-05-17 10:17:07Z Lars $
# Calculates the critical value at level |alpha| for the vector of
# trials |s|
critValue <- function(s, alpha=0.05) {
if ( alpha <= 0 || alpha >= 1 )
stop("The argument alpha must be between 0 and 1")
ss_ <- sort(s)
mean( ss_[floor(alpha*length(s))... |
05dabef9b1515b3a3074e88315bcc4ca7a7617ca | 506d30b16d10cbbdd832d1efe7a293eeaaa8fe96 | /R/mpgroup.R | dce581403a73aee8a9bae2aa6138d5bf87ddfd64 | [] | no_license | Peter-Jackson22/mpMap | 407646d292717c2c18db3302a3048b38acb23127 | 89837b6dcfe126b682079d2de5283eda3c5c2d5a | refs/heads/master | 2020-03-30T13:53:24.581363 | 2017-09-19T22:45:16 | 2017-09-19T22:45:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,297 | r | mpgroup.R | #' Construct linkage groups using 2-point recombination fraction estimates
#'
#' Use two-point recombination fraction estimates to group markers into the specified number of linkage group, The input \code{initial} can be used to select groups of markers that will be assigned to the same group. Grouping is performed u... |
bc4fbe0755f77b979042cf34135da449d9e951be | be29750bf5d0f705fb3f966f77bb857ff481231c | /exemplos/05-ggplot2.R | 5c62bc98ece880871a400919232a5d89626f475b | [
"MIT"
] | permissive | curso-r/intro-programacao-em-r-mestre | 6dcfdecac4ab049562154fe49413631a42811481 | 3a743ee8f6c25498fff63da47bbfd1dfa4182f00 | refs/heads/master | 2021-07-04T10:12:33.462192 | 2020-09-01T21:55:37 | 2020-09-01T21:55:37 | 165,696,442 | 7 | 4 | null | null | null | null | UTF-8 | R | false | false | 11,259 | r | 05-ggplot2.R |
# Carregar pacotes --------------------------------------------------------
library(tidyverse)
# Ler base IMDB -----------------------------------------------------------
imdb <- read_rds("dados/imdb.rds")
imdb <- imdb %>% mutate(lucro = receita - orcamento)
# Gráfico de pontos (dispersão) ----------------------... |
613c1868037cf8fb53562dd4c08f5985bd39327d | 4d265c3f4046c3edd1bac44a9894d466526d9d1d | /chap01/03textMining.R | e32608259d5e8772d01716226cb20524fcad643e | [] | no_license | kjy3309/R_study | 3caa3c0753c3f32b8aefe69afbb9ae97ed7288ce | 6ff03f9b4940116a551aaa5e186559400c7746d0 | refs/heads/master | 2023-01-22T06:07:11.477448 | 2020-11-12T04:49:27 | 2020-11-12T04:49:27 | 312,169,482 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 813 | r | 03textMining.R | library(dplyr) # 전처리
library(KoNLP) # 형태소 분석기
library(stringr) # 문자열 다루기
library(wordcloud2) # 워드클라우드 시각화
library(rvest) # html 요소 가져오기
library(RColorBrewer) # R 색상 조합 표
useNIADic()
url <- 'http://www.itworld.co.kr/main/'
html_source <- read_html(url,eencoding = 'CP-949')
# a 태그 안의 텍스트 추출
title <- html_source %>% ht... |
d05d2415cb0c01f9002831b89f97489ed318e141 | 6b769ade12829c97f7aa9930265418bede361967 | /man/Table1_5.Rd | 5d0e9567df419389888cc9a90acd3169bcbee452 | [] | no_license | brunoruas2/gujarati | 67b579a4fde34ae1d57f4a4fd44e5142285663c1 | a532f2735f9fa8d7cd6958e0fc54e14720052fd4 | refs/heads/master | 2023-04-07T01:15:45.919702 | 2021-04-04T15:10:58 | 2021-04-04T15:10:58 | 284,496,240 | 14 | 6 | null | null | null | null | UTF-8 | R | false | true | 410 | rd | Table1_5.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/table1_5.R
\docType{data}
\name{Table1_5}
\alias{Table1_5}
\title{Table 1.5
Seasonally Adjusted M1 Supply: 1959:01 to 1999:07 (billions of dollars)}
\format{
\itemize{
\item \strong{Year:Month}
\item \strong{M1}
}
}
\usage{
data('Table1_5')
}... |
89312af6215b5332ea6909f53cfc6c403d48dead | a632a57196002af7477f6f45a55fd1c150cb9724 | /cachematrix.R | f01e2560a5d42577861e7126c58079bd1e5eaa09 | [] | no_license | MichaelLHerman/ProgrammingAssignment2 | f506f82fd86fc95e7ab768f761ed4b5714a5eeb2 | 5c5aceaecaa96c214d662b2a031f371f9c525ff2 | refs/heads/master | 2023-01-25T05:17:08.430843 | 2023-01-12T19:35:26 | 2023-01-12T19:35:26 | 22,898,358 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,350 | r | cachematrix.R | ## ProgrammingAssignment2 for Coursera course `R Programming` by Roger D. Peng, PhD, Jeff Leek, PhD, Brian Caffo, PhD
# makeCacheMatrix creates a special "matrix" object that maintains a cache its inverse.
# Arguments: x a matrix
# The returned object is represented by a list of accessor functions to get and set t... |
4def28b414c9f3e9466ddbbfcd98987dc076957a | eacb17556e69c2ce33abc189262164618f66ca90 | /rejected.R | ae272aa86335771a80b84ec1ec8a23cfdd019738 | [
"Apache-2.0"
] | permissive | facorread/taskr | 670e08f5a00cd5338a04bb854df49490720b2c73 | 3441cd1830f9087519577e1bf92ab0bf430834e6 | refs/heads/master | 2020-12-21T21:31:41.579376 | 2020-07-03T19:08:44 | 2020-07-03T19:08:44 | 236,568,392 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 147 | r | rejected.R | # This looks alright but it overcomplicates the code.
overdueE <- parse(text='(date < Sys.Date()) & (state == "Pending")')
taskr$t[eval(overdueE)]
|
35a4e344f300e0c720c76e132ff2f724a1b9ccf4 | 3176bef3d05e202483010f8e3215d6bd1b5ef390 | /R/converters.R | f01562df358b962b10c6b70a444ecfd70fec3160 | [
"MIT"
] | permissive | BlocklancerOrg/ethReum | dcd7af91cd7a572a8e7b376e69bff02e2d8d8ab3 | 561c2a3b2233af935fa9267ae84abee9c4ccc7f9 | refs/heads/master | 2021-09-20T18:27:14.543351 | 2018-08-13T23:07:14 | 2018-08-13T23:07:14 | 113,497,628 | 4 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,186 | r | converters.R | #' Convert hex to decimal value
#'
#' @param hex character, hex value, '0x' prefixed.
#' @return numeric, decimal equivalent
#' @export
hexDec <- function(hex) {Rmpfr::mpfr(hex, base=16)}
#' Convert decimal to hex value
#'
#' @param dec numeric or character, an integer value formatted as character if
#' over 32bit... |
8e34b83c91bb72a04a0ffdc21a9407f2c4577241 | 81a2139233fb15960f3d947cbfe97ccd04b82929 | /server.R | b3cb3abfaca936a75512db6d7b3dad8830fae8ef | [] | no_license | mengeln/B13-2 | b437d0b0495025b0ffdb02e732e24b271cc572f8 | 27a7a2b123cb3977685eb8c2c4df03ba28028ba0 | refs/heads/master | 2021-01-23T03:28:11.477900 | 2014-06-27T22:15:29 | 2014-06-27T22:15:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,679 | r | server.R |
# This is the server logic for a Shiny web application.
# You can find out more about building applications with Shiny here:
#
# http://www.rstudio.com/shiny/
#
library(shiny)
library(knitr)
library(xtable)
source("r/entero.r")
source("r/hf183.r")
shinyServer(function(input, output) {
#process data#
results <... |
eb35743a840529f597a6aba2b5f2cb8ed1e31286 | 8bddfa712c7a264d2fb4e9b9e15303750ddeef3d | /R/reporting.r | b45df648c0544e19054a914edc0616fe74776711 | [] | no_license | crbwin/clnR | 38c88a198e19e4c19de8f86216343e9ddd8010fb | d181cef228a85b8473bb131acaf853501ee51b66 | refs/heads/master | 2023-01-01T13:00:34.051591 | 2020-10-27T21:13:56 | 2020-10-27T21:13:56 | 281,728,881 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,221 | r | reporting.r |
#' Produce a formatted table of proportions of frequency for a single variable
#'
#'
#' @param data data frame
#' @param ... name of single variabe
#' @param wide should the table be full width or compressed?
#' @return a formatted table of proportions of frequency for a single variable
#' @export
tabshell <- functi... |
4b28452c5ad56e76ade82d64aa6d027625e3f0dd | 319f27b05eac6b53d6e231446bd9ea05dda0ba69 | /rstudio-project/RandomForest_classification.R | de58da8740460c6e137e77c8845ed40b697369d2 | [] | no_license | adamnapieralski/mow-activities-classification | 427907b723be2513bc1dbf5e21652bf7e0d31125 | 883da7d4050db1a085470f75c6024b6f3d1eac6f | refs/heads/develop | 2022-09-09T00:21:39.863909 | 2020-06-03T13:42:43 | 2020-06-03T13:42:43 | 247,791,246 | 0 | 0 | null | 2020-06-02T13:08:20 | 2020-03-16T18:41:09 | R | UTF-8 | R | false | false | 2,813 | r | RandomForest_classification.R | RandomForest_classification <-function(train_data_and_classes, validate_data_and_classes) {
random_data.learning <<- list()
random_data.preds <<- list()
random_data.preds.probs <<- list()
random_data.preds.class <<- list()
random_data.cm <<- list()
random_data.mroc <<-list()
train_data_and_classes_f... |
7c5ec4ce22b8fe88677d60a43265c7aa3c0a7143 | 12e622493b28b6f32df9d486249201ffde6f3ea2 | /CADS2018/Exercícios/Exerc_01.R | 78fe2e171072fc6a5dd4589a0fccc9b5f0c2e543 | [] | no_license | ivanzricardo/aulas_ENAP | da7fd61a49d08816cbecfe544b11284264a046cc | cdde0e74fb8e63e87a78aa4da4c2fd44c8effb08 | refs/heads/master | 2020-03-30T20:08:13.151758 | 2018-10-29T05:33:52 | 2018-10-29T05:33:52 | 151,574,609 | 0 | 0 | null | 2018-10-29T05:33:53 | 2018-10-04T13:18:29 | HTML | UTF-8 | R | false | false | 391 | r | Exerc_01.R | #### Coleta e Análise de dados secundários
library(tidyverse)
library(magrittr)
# Exercícios Aula 01 ----
# 1. Reescreva a expressão abaixo utilizando o %>%.
round(mean(divide_by(sum(1:10),3)),digits = 1)
# 2. Sem rodar, diga qual a saída do código abaixo. Consulte o help das funções caso precise.
2 %>%
add(... |
c82aa089a980fdde1e27280e365cd454e07c67d7 | 1689ffafecb3af7ef10dfc84b38c29b5ed3030fb | /tests/testthat/test_as_workbook.R | c6e2c6de8ef15c9bbcfa99d8b6d9187ba60454b9 | [] | no_license | cran/tatoo | 809a5bc82d7bd14818f5f0f0effd2d629efdd574 | ccbc213befc1c6de2fb08e6618398f32fa0cd398 | refs/heads/master | 2023-03-29T12:10:32.885209 | 2023-03-26T08:50:02 | 2023-03-26T08:50:02 | 90,194,415 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,880 | r | test_as_workbook.R | context("as_workbook")
#* @testing as_workbook
#* @testing as_workbook.default
#* @testing as_workbook.Tagged_table
#* @testing as_workbook.Mashed_table
#* @testing as_workbook.Composite_table
#* @testing as_workbook.Stacked_table
#* @testing as_workbook.Tatoo_report
test_that("as_workbook works as expected... |
4cbffd11759a1df3001148c9af2acabbc9a5a80b | 726b211e966ad297f2d6620d9d53df103c87682a | /scripts/prepare_things.R | 00052058b57cd0c5aa3910ffc3ec2d0cbdbf4e7d | [] | no_license | H3K4me3/TreeFriends | 452db0a0760da368139c31499b1b54f0a570924c | f0d39a6accaaa683a4cef993735a4a8e5ff4e351 | refs/heads/master | 2020-03-28T23:03:59.875898 | 2019-12-24T13:42:05 | 2019-12-24T13:42:05 | 149,274,285 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,551 | r | prepare_things.R |
library(here)
setwd(here())
if (!requireNamespace("BiocManager"))
install.packages("BiocManager")
### dbSNP package from Bioconductor #####-------------------------------
if (!requireNamespace('SNPlocs.Hsapiens.dbSNP151.GRCh38'))
BiocManager::install("SNPlocs.Hsapiens.dbSNP151.GRCh38")
### BSgenome packa... |
ca8aa8a1cfad0345dedc6b1f0b7214cdcc4796a3 | 81b93eb1ae55df23c6cbddef27e56f17c77c729e | /man/Node.Rd | e3e530a79f90a52bce7213cc9b075e5ea22c0320 | [] | no_license | ipub/data.tree | fa842bfa03a8f78aa43843dec173d3f96e66f164 | 4dcc2fb8c6d250439504557913d91a470ea3dfb2 | refs/heads/master | 2020-05-20T17:55:43.473209 | 2015-04-02T17:10:34 | 2015-04-02T17:10:34 | 33,321,260 | 0 | 0 | null | 2015-04-02T17:07:46 | 2015-04-02T17:07:46 | null | UTF-8 | R | false | false | 3,062 | rd | Node.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/node.R
\docType{class}
\name{Node}
\alias{Node}
\title{Node}
\format{An \code{\link{R6Class}} generator object}
\usage{
Node
}
\description{
\code{Node} is at the very heart of the \code{data.tree} package. All trees are constructed
b... |
c4f140a0c32f6516da38d633555066bf2f6e0e7e | 105a13098f22b706f608aef70f56e7d60d71bfae | /dataExploration.R | 45b1e98a3c3a3b87ad3fcde6db8077cd473f8d54 | [] | no_license | ratnexa/patios-contenedores | 173a32476cb74d3147c7c73a6f4d1ac3c26ebb8c | bc7bbb308d05c8953f40c8fe3c728af93bb5944d | refs/heads/master | 2023-04-09T06:01:35.368338 | 2021-04-12T20:17:02 | 2021-04-12T20:17:02 | 321,177,765 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,318 | r | dataExploration.R | library(RMySQL)
library(dplyr)
library(lubridate)
library(ggplot2)
library(gridExtra)
source("config.R")
get_query <- function(query){
mydb <- RMySQL::dbConnect(MySQL(),
user=patiosName,
password=patiosPw,
dbname=patiosDbName,
... |
9ba35eef914fa6b36904190ae745d57a521cbe9f | 8227fe55923635d2c02e2382d7d9696d7f4b3f35 | /man/Rslippy-package.Rd | 42ebdac3ed110997d651b68bf17b831ca8718005 | [
"BSD-2-Clause"
] | permissive | ozjimbob/Rslippy | 1ff80939e725803368113424a692cf59760fafb0 | c4edc2ae0d91c535a59bc38bb96d917cc78757d5 | refs/heads/master | 2021-01-19T12:58:26.081208 | 2014-07-28T01:42:07 | 2014-07-28T01:42:07 | 22,045,519 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 819 | rd | Rslippy-package.Rd | \name{Rslippy-package}
\alias{Rslippy-package}
\alias{Rslippy}
\docType{package}
\title{
Generate Leaflet slippy maps from spatial objects.
}
\description{
This package renders tiles from Raster or Spatial* objects, and produces a HTML page that uses the Leaflet Javascript library to render them as a slippy map in a br... |
6427cf734248f02d68bf3c83e435c146ed94e996 | f4742292708b2f096ed2c4d07bf5fe7d3236ed00 | /build_ngrams.R | 13287dbe18fbbbe478b5e228bbd2448783628cbc | [] | no_license | lucasloami/capstone_project | c8f8ca0deaa5070508a2a09e48b8911cd4211b36 | 86efa9cdbf16f329f13eb2e4c8c507356ddaba09 | refs/heads/master | 2021-01-12T04:30:35.268441 | 2017-01-01T21:47:15 | 2017-01-01T21:47:15 | 77,629,636 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,672 | r | build_ngrams.R | library(tm)
library(RWeka)
library(SnowballC)
#library(ggplot2)
#library(data.table)
sample_path <- "datasets/sample_dataset_20000.txt"
badwords_path <- "datasets/badwords.txt"
con <- file(sample_path, open="r")
con2 <- file(badwords_path, open="r")
sample_content <- readLines(con)
badwords <- readLines(con2)
close(co... |
3de28467351a215b2d0e12fb040b816cf66abc5d | 31505f487482742f7dc82c9ef4e4388b0127cfbb | /short_read_code/gff_processing.R | a5ae1469fd6b35f27add831e7ca36939ea980f51 | [] | no_license | qhauck16/Quinn-Summer-2020 | 2a2ca4d3dd86fa149e9289a207abc704280e6f32 | 04394259dcb4048854972782f8efd052f2d756a5 | refs/heads/master | 2023-04-19T06:34:20.070885 | 2021-04-20T18:18:03 | 2021-04-20T18:18:03 | 265,127,662 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 125 | r | gff_processing.R | #aliana_gff <- read.gtf('/uru/Data/Nanopore/Analysis/gmoney/hbird/210114_aliana_annotation/acolubris_masurca_ragoo_v2.gff')
|
a1b166bcda3c5f56b85f38e75c0bf70f654f57a1 | f80b82dc3b27e8729b8401ffb06bd37839c411b4 | /ABCDTestApp/server.R | ae42d0569ac94e79fc9ecae9b4f9d6121cc1d67d | [] | no_license | maganti/shinyapps | 158f29f7b7ec494f26fd59fd891749787fd069f9 | 35d3528c479b80199f7dc058995c56d5ce7e0ca4 | refs/heads/master | 2020-12-30T14:55:49.919132 | 2014-11-12T12:46:18 | 2014-11-12T12:46:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,670 | r | server.R |
# This is the server logic for the ABCD² Risk Score Shiny web application.
# The score table and the interpretation rules data frame are created using functions
#from the tables.R file.
#
library(shiny)
library(ggplot2)
source("tables.r")
riskdata<-createScoreDF()
scoreTable<-createScoreTable()
shinyServer(function(... |
775a254508fef604eb309c3d23b25f64c9ace945 | 2defb970de80008d3a5f77728bf3f896832fe2e1 | /Vaccine Rollout/Create_Coverage_Boxplot_Wane.R | 7d17e5701f8d033140bc27c5621521cd017ed0aa | [] | no_license | FredHutch/COVID_modeling_schools | bd211844ebd00c5977ac6ad0ef8b298aa7d6a8f2 | 98c1a879e1685b78a21427780f0f34941c309034 | refs/heads/master | 2023-08-31T14:37:46.365370 | 2021-10-06T16:36:47 | 2021-10-06T16:36:47 | 413,988,503 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,937 | r | Create_Coverage_Boxplot_Wane.R | library(HutchCOVID)
library(lubridate)
library(dplyr)
source("covid-model-plotting.R")
#out_dir = "out"
out_dir = "big_out"
do_box_plots_24 = function(final_cumul, days_at_max_sd, max_daily, final_cumul_ylab, max_daily_ylab)
{
# for now we assume the first half has SD control, second half does not
cols = c("#7fbf... |
3409cd24e4d4a8a9d95b40125cb410009c25eb94 | f64770d666eea570863b0e3988399cde5429e2eb | /plot5.R | 17205739c1f94ee9f85936347014b9eb1ccf1f27 | [] | no_license | mrdumass/ExData_Plotting2 | 493a700bc1e0f54ddf788f157713af948b2cd010 | 2849388ff1f52920ebbb0a99196ccc925a3fcf22 | refs/heads/master | 2020-06-02T15:13:54.517402 | 2014-08-21T02:14:29 | 2014-08-21T02:14:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 934 | r | plot5.R | ## Read in the Source Classification file ##
sc<-readRDS("Source_Classification_Code.rds")
##read in the summary scc data ##
sumSCC<-readRDS("summarySCC_PM25.rds")
##get the data only for baltimre##
baltimore<-(sumSCC[(sumSCC$fips==24510),])
rm(sumSCC)
## find all the codes for vehicles ##
vehicles<-sc[grepl("Vehicle... |
403ead71d94252d54d7d6aecb867fac69b0fe1aa | 76de44331998499ba9388780db45681a8648dabd | /simulate.R | 0bbec3b6b712594e659dd12157100e756647994a | [] | no_license | michaellevy/gwdSimulateEstimate | 629f2324e2dd5ffd7f7837c39cd6cfc5d3981c40 | c3d9abe417452d5dfb951c6c27085d87ce46895e | refs/heads/master | 2020-04-18T11:46:01.160840 | 2016-10-24T15:22:24 | 2016-10-24T15:22:24 | 66,306,491 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,432 | r | simulate.R | # On aws had to install libssl-dev, libcurl4-gnutls-dev, and libxml2-dev and maybe run the following line
# Sys.setenv(PKG_CONFIG_PATH="/usr/lib/x86_64-linux-gnu/pkgconfig")
if (!require("devtools")) install.packages("devtools", dependencies = TRUE)
if (!require("pacman")) install.packages("pacman")
if (!require("net... |
61e382f99b25681f2bb56286013312dc0accfde2 | 20bba0a43de06fb558a9e236c9bfcc8ebb332c16 | /tools/ngs/R/ngs-filter-annotations.R | e337bc3bfc5892f4cb68fdd7de06115e01578e03 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | JunjuanZheng/chipster-tools | 921e324aeee3d48b7e1729419ef6a8d6d076e101 | f95cbd4322926e5a64487e4e17a44aaf593256b1 | refs/heads/master | 2022-12-06T02:26:04.192480 | 2020-08-11T09:32:52 | 2020-08-11T09:32:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,305 | r | ngs-filter-annotations.R | # TOOL ngs-filter-annotations.R: "Filter table by column term" (Allows the user to filter the table rows on the basis of terms in any text column.)
# INPUT annotations.tsv: annotations.tsv TYPE GENERIC
# OUTPUT filtered-NGS-results.tsv: filtered-NGS-results.tsv
# PARAMETER column: "Column to filter by" TYPE COLUMN_SE... |
9a320f0ee837d02f05e4b5b065dfd6509c0b55c2 | c874e55ec73043f6b837601cc58d855d37649e59 | /mlcenzer/plots/example_correction_figure.R | 46a24be74ae6df52900c332561974076c092c055 | [] | no_license | mlcenzer/SBB-dispersal | 85c54c924b399834a798d700cabf0b2702ae0755 | 1a777370986f83186180552a09149dfba72b96d0 | refs/heads/master | 2022-12-11T10:13:32.416530 | 2022-12-03T16:23:52 | 2022-12-03T16:23:52 | 229,098,494 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,061 | r | example_correction_figure.R | ###############################################################################
######Fig. 5: Plasticity across latitude
setwd("/Users/Meredith/Desktop/Documents/R/soapberry bugs/F2 April 2014/")
library(lme4)
morph1<-read.csv("F2morphology12.3.15a.csv", header=TRUE, sep=",", quote = "")
morph<-data.frame(morph1[mo... |
bd72a82dd2179da9325bbdd4610eb6097341a230 | 72e6844bf2dcf570c62c54f0aa69405d3368d885 | /plot4.R | 353e070ed7f7a045cca5aa6971dbc8bec2d67dee | [] | no_license | alcanta/ExData_Plotting1 | 76a555d38f451d0d0374fa5113ecb7fbc0ceb4f2 | 25e6de5014cfea906384406c6db1faf63aa92b7f | refs/heads/master | 2021-01-18T10:04:27.325887 | 2014-06-06T20:46:15 | 2014-06-06T20:46:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,414 | r | plot4.R | #downloaded and unzipped the file manually on the local computer
#the script reads the data from the unzipped text file
#uses sqldf package for reading the data
library(sqldf)
select_statement<- "select * from file where Date='1/2/2007' or Date='2/2/2007' "
#read data into dataframe df
df <- read.csv.sql("household_... |
b25575d97e3a22d0d3604aebbc4df3ca3042db57 | cf9109f6e0a2c494bdc2f1f027ee2cd60cefc30f | /build_datasets_without_missing_values.R | 93c56680ccbe9c92682c671eb6515e8043d58d6e | [] | no_license | ACC1029/MATH-571-HAI-Medicare | da717f9f2cae53038f87df44c620adcabd3c6172 | eeb00d846af5c0501490f49615a1bb59787687c5 | refs/heads/master | 2021-04-28T01:38:14.108330 | 2018-04-29T04:49:06 | 2018-04-29T04:49:18 | 122,284,276 | 1 | 1 | null | 2018-04-28T20:26:47 | 2018-02-21T02:38:31 | R | UTF-8 | R | false | false | 1,053 | r | build_datasets_without_missing_values.R | # R script to create reduced datasets, minus all hospitals too small
# Run HAI exploration script and all its dependencies before this one if you're in a fresh session
## Using lack of ANY HAI scores as a easy parameter for too small
## This may be incorrect
hosp_gen_info_reduced_nona <- hosp_gen_info_reduced
... |
32defccece3f83f7cfc6b524dbaf36061de70e15 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/searchable/examples/boundary.Rd.R | 40448afa3faa8ee23be55a3957d543abe4d06818 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 186 | r | boundary.Rd.R | library(searchable)
### Name: boundary
### Title: Define boundary for pattern matching
### Aliases: boundary endsqwith full partial sentence startswith word
### ** Examples
# -tk
|
e0b742d47855e02d0c15d19d580809850e1cfe25 | a6f4c8c91414d62fad5f8f7f53b1dee9c9d099ee | /R-Portable-Mac/library/proto/demo/proto-vignette.R | 2e7803ec35850387acf3216be4faf8d92313b10a | [
"GPL-2.0-only",
"LicenseRef-scancode-unknown-license-reference",
"CC0-1.0"
] | permissive | sdownin/sequencer | 6a2d70777fbd8109e26f126229b5ee10348cf4e7 | 045d0580e673cba6a3bd8ed1a12ff19494bf36fa | refs/heads/master | 2023-08-04T08:06:02.891739 | 2023-08-03T04:07:36 | 2023-08-03T04:07:36 | 221,256,941 | 2 | 1 | CC0-1.0 | 2023-02-04T15:06:14 | 2019-11-12T16:00:50 | C++ | UTF-8 | R | false | false | 4,708 | r | proto-vignette.R |
# code from proto vignette
library(proto)
addProto <- proto( x = rnorm(5), add = function(.) sum(.$x) )
addProto$add()
addProto2 <- addProto$proto( x = 1:5 )
addProto2$add()
addProto2$y <- seq(2,10,2)
addProto2$x <- 1:10
addProto2$add3 <- function(., z) sum(.$x) + sum(.$y) + sum(z)
addProto2$add()
addProto2$add3(c(... |
d234bc71bde5d0b51b71e4f36d2dfce9c9dbe897 | f16341116353bd31afe205e192df3ae67a82b540 | /RLibrary/common.functions/LoadLib.R | 38dbf5035817a253b51961b2ba9311a25f75fa05 | [] | no_license | south-central-climate-science-center/OU-FUDGE | 6b5ceb5eaf07bc0faabb4a36288934d6112df809 | a5454a3ec8b6e0d314776e3c4b8c37123d0a4f6c | refs/heads/master | 2021-01-10T03:35:23.260314 | 2017-03-28T18:34:52 | 2017-03-28T18:34:52 | 47,719,764 | 0 | 3 | null | 2015-12-16T17:38:43 | 2015-12-09T21:22:46 | R | UTF-8 | R | false | false | 596 | r | LoadLib.R | # Function to load common and DS method specific libraries
# automatically throws an error if libraries are not available
LoadLib <- function(){
# Load common libraries and those based on the DS method used
# ncdf4 is common to all methods as datasets used in FUDGE are netCDF only at this time.
library(ncdf4)
... |
94ca0ddebb69544ea9e5cdb536400bba42dc3801 | cc2e7b3f34a6bcc3669d3454a02fd167234eb94f | /Health_Spending/UI_Components/tabs/ChargetoCostRatio_tab.R | 905b2489e35739f364d0f758a2c08900617d5b00 | [] | no_license | asidamo/Health-Spending-and-Outcomes | cfc9533079b7eda63b6c73b1bac2407480524dc2 | 2a35e548dcb9c7ec8b68fa3330629ae83ee5b7ab | refs/heads/master | 2020-04-18T01:11:50.738109 | 2019-02-01T02:43:17 | 2019-02-01T02:43:17 | 167,109,468 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 822 | r | ChargetoCostRatio_tab.R | ChargetoCostRatio_tab<-tabItem(
tabName = "CCR",
fluidRow(
box(
width=12,
column(6, sliderInput(inputId = "ratio",
label = "Value of Ratios",
min(ccr_df$AverageCCR),max(ccr_df$AverageCCR),
... |
06b2ca151dd5c05b33b58b81082cb2e14520499e | 6da4c044291c1f3636b02eb652382a34b20d215d | /R/processHeader.R | 8dba3ca29190f5e78579ccadb53f0ef13f28921f | [] | no_license | pmbrophy/mspReader | 49ca049782c31ee7c3c92c2d798493ea7fd4810c | c03a5b12b6e619c48d72b08db838849a1289e1df | refs/heads/master | 2022-08-23T02:37:27.855094 | 2020-05-26T17:55:57 | 2020-05-26T17:55:57 | 264,728,112 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,690 | r | processHeader.R | #' Process the header from an msp file
#'
#' @description Top level header processor for msp files. Provide a character
#' vector containing the header lines and corrisponding groupIndex.
#'
#' @param header character vector containing the header lines only
#' @param groupIndex an integer vector the same length as `h... |
eb7e662100d5b18f6b5fbf43db4eb5f1a2c3cd7b | 1582167a782db5d8edea97f91545f9d6c613d5f6 | /supplementary_data/tra2/DEXSeq/scripts/DEXSeq_Calculation_TRA2.R | c1349031c1c593e9f7e87e40fbe333886f6fba7f | [] | no_license | wenmm/SUPPA_supplementary_data | d9293028ae5cd33cffa48cde920db89d93b0118c | 877f885c915f521385c321760239cbaae932a0f9 | refs/heads/master | 2020-06-23T12:52:17.254042 | 2018-02-13T10:25:30 | 2018-02-13T10:25:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,044 | r | DEXSeq_Calculation_TRA2.R | #DEXSeq_Calculation_TRA2.R
library("DEXSeq")
#Load the count files created with dexseq_count.py
countFiles = list.files(path="/~/tra2/DEXSeq", full.names = TRUE)
sampleTable = data.frame (row.names = c("SAMPLE_1_REP_1","SAMPLE_1_REP_2","SAMPLE_1_REP_3","SAMPLE_2_REP_1","SAMPLE_2_REP_2","SAMPLE_2_REP_3"),
... |
7044839a87b1fd5921a278623b3bada96bcdc686 | abf19cc11247c66891450598b9b8e8a4c9e3d3f7 | /Biophys/HH_sim.R | 4044b2c0c4ec05de45eca80ed4beaaf7b1fd03f3 | [] | no_license | CSNLWigner/idegrendszeriModellezes | b1a6279ca6f61614c1e4b443ef4132c08c599eda | 7816a08b730551c35ada8169ad1b9f22ef9e5945 | refs/heads/master | 2021-01-23T20:30:14.765660 | 2018-11-19T11:11:10 | 2018-11-19T11:11:10 | 102,862,876 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,411 | r | HH_sim.R | ## simulating the Hodgkin-Huxley equations
isa <- require(deSolve)
if(isa=='FALSE') {
install.packages('deSolve')
require(deSolve)
}
#############################################
## definition of constants
source('HH_consts.R')
###############################################################
## the famous Hodgkin... |
7b89b5d126fd05fa75cf54b47b9a643965a9c048 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/DPpackage/examples/DProc.Rd.R | 5f793d6daa4cf4aad9e03b1355e66c3d3af501db | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,161 | r | DProc.Rd.R | library(DPpackage)
### Name: DProc
### Title: Semiparametric Bayesian ROC curve analysis using DPM of normals
### Aliases: DProc DProc.default
### Keywords: models nonparametric
### ** Examples
## Not run:
##D ##############################################################
##D # Fertility data example:
##D ... |
c51bee4698823d638d96f5ff6b11aa45f3e9316f | ce8d13de6aa47617809c5fc4d83ccd961b310104 | /man/partial_dep.obs.Rd | cae37d8fd9fb5efc236f6c1ae68bb539bacca4cb | [] | no_license | BruceZhaoR/Laurae | 2c701c1ac4812406f09b50e1d80dd33a3ff35327 | 460ae3ad637f53fbde6d87b7b9b04ac05719a169 | refs/heads/master | 2021-01-22T12:24:50.084103 | 2017-03-24T19:35:47 | 2017-03-24T19:35:47 | 92,722,642 | 0 | 1 | null | 2017-05-29T08:51:26 | 2017-05-29T08:51:26 | null | UTF-8 | R | false | true | 6,271 | rd | partial_dep.obs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/partial_dep.obs.R
\name{partial_dep.obs}
\alias{partial_dep.obs}
\title{Partial Dependency Observation, Contour (single observation)}
\usage{
partial_dep.obs(model, predictor, data, observation, column,
accuracy = min(length(data), 100), sa... |
0ef16dc60ec7198f556fa1336fd693a0f4f2ab01 | 004663c606c7b01ea02c520c93c2e678c8489bff | /Ex_data/plot1.R | ff4363b0c92f89a690201b95929fe238daeaef74 | [] | no_license | unniks2/datasciencecoursera | 2ea75af7364c81d0d10d3927332292d3d468828c | a357a986e47033941a1d0959be45133a32e36cb2 | refs/heads/master | 2020-05-18T17:25:05.781591 | 2015-12-12T11:03:41 | 2015-12-12T11:03:41 | 42,513,344 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 431 | r | plot1.R | library(lubridate)
library(dplyr)
read.table("hp",header=TRUE,sep = ";",colClasses = "character")
date<-dmy(c("01-02-2007","02-02-2007"))
final<-filter(hp,ymd(hp$date)==date)
final$datetime<-paste(final$Date,final$Time)
final$datetime<-strptime(final$datetime,"%d/%m/%Y %H:%M:%S")
hist(as.numeric(final$Global_active_pow... |
0d15e2119dfcce74a4962237410256cb21bc036a | 52c521885d3f6b652bc3a54f20d01a45908176f3 | /man/cartografia.Rd | 9036deff2bd0c58f175d97ab3e67d351cc7e061e | [] | no_license | pcorpas/medear | 7e21133984cb219f317f22148f725cf65f9aa6b0 | e9f957f7cce4e303688f3aa655e576a75d5f3ae9 | refs/heads/master | 2021-05-11T12:27:12.392553 | 2018-01-15T16:50:59 | 2018-01-15T16:50:59 | 117,659,182 | 0 | 1 | null | 2018-01-16T08:58:39 | 2018-01-16T08:58:39 | null | UTF-8 | R | false | true | 1,681 | rd | cartografia.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\encoding{UTF-8}
\name{cartografia}
\alias{cartografia}
\title{Cartografia por seccion censal para las ciudades MEDEA3}
\format{Un objeto de clase \code{SpatialPoligonsDataFrame}, donde los datos
(\code{cartografia@dat... |
9bb19c09348c4c33b6fd76f704dacce031c63138 | 360df3c6d013b7a9423b65d1fac0172bbbcf73ca | /FDA_Pesticide_Glossary/tetrahydrophthalimid.R | 00997c7b2c523f591847bdde1be94cd9750d721b | [
"MIT"
] | permissive | andrewdefries/andrewdefries.github.io | 026aad7bd35d29d60d9746039dd7a516ad6c215f | d84f2c21f06c40b7ec49512a4fb13b4246f92209 | refs/heads/master | 2016-09-06T01:44:48.290950 | 2015-05-01T17:19:42 | 2015-05-01T17:19:42 | 17,783,203 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 276 | r | tetrahydrophthalimid.R | library("knitr")
library("rgl")
#knit("tetrahydrophthalimid.Rmd")
#markdownToHTML('tetrahydrophthalimid.md', 'tetrahydrophthalimid.html', options=c("use_xhml"))
#system("pandoc -s tetrahydrophthalimid.html -o tetrahydrophthalimid.pdf")
knit2html('tetrahydrophthalimid.Rmd')
|
a689e8bafdcd35c727dae5e516c569cbba22ed47 | ce19634de1b7bdbfa8aa44ff3b6645752117311c | /tic.R | 276682d0c47d05c84b985edfc10dbed81f4e2a0b | [
"MIT"
] | permissive | christophM/iml | 465f61e8e72fc3d5227584335d0b249de59e1b43 | 9e5d74968376ddb3440589aceb6ef85ed76fac6d | refs/heads/main | 2023-08-31T04:44:27.122158 | 2023-05-28T13:10:30 | 2023-05-28T13:10:30 | 108,261,564 | 487 | 100 | NOASSERTION | 2023-09-06T13:50:39 | 2017-10-25T11:36:53 | R | UTF-8 | R | false | false | 334 | r | tic.R | # installs dependencies, runs R CMD check, runs covr::codecov()
do_package_checks()
get_stage("install") %>%
add_code_step(reticulate::install_miniconda()) %>%
add_code_step(keras::install_keras())
if (ci_on_ghactions() && ci_has_env("BUILD_PKGDOWN")) {
# creates pkgdown site and pushes to gh-pages branch
d... |
76ee8b701feb09cfc84fd014f4b5a0ade27b6e75 | 2d34708b03cdf802018f17d0ba150df6772b6897 | /googlestoragev1.auto/man/Bucket.lifecycle.rule.condition.Rd | dc269a10d32ab31366285d9702a8e0c0dd635d96 | [
"MIT"
] | permissive | GVersteeg/autoGoogleAPI | 8b3dda19fae2f012e11b3a18a330a4d0da474921 | f4850822230ef2f5552c9a5f42e397d9ae027a18 | refs/heads/master | 2020-09-28T20:20:58.023495 | 2017-03-05T19:50:39 | 2017-03-05T19:50:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,414 | rd | Bucket.lifecycle.rule.condition.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/storage_objects.R
\name{Bucket.lifecycle.rule.condition}
\alias{Bucket.lifecycle.rule.condition}
\title{Bucket.lifecycle.rule.condition Object}
\usage{
Bucket.lifecycle.rule.condition(age = NULL, createdBefore = NULL,
isLive = NULL, matches... |
31949f331e95deab8c6747cf06866095422502bc | dec0927e9512eeb4b9898f52557e91bd47b3c3d6 | /loops_YRIvCebu_boxplots.R | e2d23ae08e231abba37f4ca1190962e71478a483 | [] | no_license | Xudeh/Running-PrediXcan | b85335e955d3a633690a3431cbcd7838744d1411 | 610158bc5911023d584a4723df4dcd3b28a9021b | refs/heads/master | 2022-02-12T10:25:44.213605 | 2017-08-08T14:22:20 | 2017-08-08T14:22:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,627 | r | loops_YRIvCebu_boxplots.R | #goal: make boxplots for a tissue and a gene, with adjacent "YRI" and "Cebu"
"%&%" = function(a,b) paste(a,b,sep="")
library(dplyr)
sigGenes <- read.table('/home/angela/compare/sigGenes.txt')
sigGenes <- sigGenes$V1
sigTiss <- read.table("/home/angela/compare/sigTiss.txt")
sigTiss <- sigTiss$V1
for(i in sigTiss){
fo... |
03dc17dd07aff9bf92d7ee6c8f19760dbf946ba6 | 243491156eee732d9b0767775caa0026879f68d1 | /plot4.R | 248f4c5e3703824ebb11e455e4af04061f7fa949 | [] | no_license | Pu-Ting/ExData_Plotting1 | 43a12a40e4f2839ebbe5e2dc5b3808bee8b46150 | afbacffa4837319f3a13680bc9fa52c21e515c4e | refs/heads/master | 2022-11-10T18:32:06.951414 | 2020-06-22T02:26:58 | 2020-06-22T02:26:58 | 273,986,985 | 0 | 0 | null | 2020-06-21T21:33:36 | 2020-06-21T21:33:35 | null | UTF-8 | R | false | false | 882 | r | plot4.R | > data_full <- read.csv("household_power_consumption.txt", header=T, sep=';', na.strings="?",
+ nrows=2075259, check.names=F, stringsAsFactors=F, comment.char="", quote='\"')
> data1 <- subset(data_full, Date %in% c("1/2/2007","2/2/2007"))
> data1$Date <- as.Date(data1$Date, format="%d/%m/%Y")
> ... |
9ebab813592c8e30e20500916ec2b10027db96c6 | 2656550952bf1c69735a399f3285ada7da4fea4e | /lab4/lab4/man/resid.linreg.Rd | 7124f908a1f48c5e7c53b1a744239b3d622f1882 | [] | no_license | Raikao/R_programming | fb32b4d3e45e8db5d79f8583643f7866700845e6 | a4a307fd3a36ede143f8ef06245a0f205ca5beda | refs/heads/master | 2021-01-21T03:22:43.421120 | 2019-05-01T14:07:17 | 2019-05-01T14:07:17 | 101,895,812 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 281 | rd | resid.linreg.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/linreg.R
\name{resid.linreg}
\alias{resid.linreg}
\title{resid linreg}
\usage{
resid.linreg(x)
}
\arguments{
\item{x}{linreg class object}
}
\description{
Return the residuals of the linear regression
}
|
2f0b5eee45c8eba83ffbe8bd970efb06f342500e | 96581be4d9c432d9e2f168339b80de7f8e5a8275 | /Process_and_Understand_Data_Ex.R | d42762c7c812708ae03a0663f72ef57378c40b3d | [] | no_license | rwfrankenfield1s/Basic_Code_Ref | 90a8c94d1ff4cfe0ab49468738bddddea3042daa | 400f6dfc9d1eaea7844d6dd70f12a20fd1186243 | refs/heads/master | 2020-04-26T21:24:19.052940 | 2019-03-07T01:46:59 | 2019-03-07T01:46:59 | 173,841,221 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,102 | r | Process_and_Understand_Data_Ex.R | library(lattice)
library(nutshell)
data(births2006.smpl)
births2006.smpl[1:5,]
dim(births2006.smpl)
births.dow=table(births2006.smpl$DOB_WK)
births.dow
barchart(births.dow,ylab="Day of Week", col="black")
dob.dm.tbl=table(WK=births2006.smpl$DOB_WK,
MM=births2006.smpl$DMETH_REC)
do... |
da4bec5800216d4c155fc6acf1db74f7ebf18e54 | f31960290de09e040047b27d8f894a0d7bd68054 | /tests/testthat/test-td.R | 287e705f87f6483157593eb0710a55ae890d891d | [
"MIT"
] | permissive | 1512474508/oncoscanR | 7c99dead3603433098ca5fb6de02007087f02a80 | c1f1f7715c403f1bf3564923d9cce16a4d46fd4f | refs/heads/master | 2022-09-08T19:58:01.203437 | 2020-05-18T19:03:54 | 2020-05-18T19:03:54 | 269,932,057 | 1 | 0 | null | 2020-06-06T09:26:16 | 2020-06-06T09:26:15 | null | UTF-8 | R | false | false | 3,101 | r | test-td.R | test_that("TD score works - only gains, border checks", {
cov <- GRanges(seqnames = factor(c(paste0(1:4, 'p'), paste0(1:4, 'q')),
levels = c(paste0(1:4, 'p'), paste0(1:4, 'q'))),
ranges = IRanges(start = rep(1, 8),
end = rep(200*10^... |
1dfaf454794acaafb2022b4973eac8ad08afcb94 | a3e3824c097bc5ebed250fa2b72a1575ad230954 | /man/metric.select.Rd | ec490a62d1eef155baf776ea4d4260841f39c058 | [] | no_license | p-schaefer/BenthicAnalysis | f147b353922d7845979446c07254a1d1f37036fd | 51e47f5ed8049c63422af91b267ca803e1aa675a | refs/heads/master | 2023-05-14T09:59:02.450146 | 2023-05-01T14:02:33 | 2023-05-01T14:02:33 | 43,658,323 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,600 | rd | metric.select.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/metric.select.R
\name{metric.select}
\alias{metric.select}
\title{Indicator metric selection}
\usage{
metric.select(Test, Reference, outlier.rem = T, rank = F, outbound = 0.1)
}
\arguments{
\item{Test}{Vector containing metric scores... |
4cd5b848570441147f696daf75c7de5255a9ed19 | c261669633350df11966f606e302debb1b8b2ddf | /code/mpp_cat1.R | d9596329e7863a6ff49b619fd01610af6f507495 | [] | no_license | vrindakalia/mpp_cat1_metabolomics | 4f529f53d4d885bf0495c86bb1a69187f4af9838 | d8087ace32e18cbb4b586373beeff4cfa0f7f521 | refs/heads/master | 2022-11-06T04:36:14.782407 | 2020-06-30T19:31:33 | 2020-06-30T19:31:33 | 196,630,294 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,178 | r | mpp_cat1.R | ###############################################
## MPP+ compared to cat-1 ##
###############################################
# Two ways to do this: metabnet and mummichog on overlapping features
# xMSanalyzer to get overlapping features
library(MetabNet)
library(xMSanalyzer)
library(tidyverse)
libra... |
4df5bef09ee5a0b1238f933181a7991452ae981e | 1c4f4e8c53a0e172fc6a78a4929b150f80770233 | /helper/glmerSpecial.R | 1f6a04252fb03bd47814dbaf22b3812d6c47f46f | [] | no_license | shakty/artex-analysis | d91632c8722cfbe571752641f6001f0e7f6d4d9a | 123876029d31e4bf879a9c2477313ee27c7ca5dd | refs/heads/master | 2020-09-20T12:48:39.108718 | 2019-11-27T17:32:18 | 2019-11-27T17:32:18 | 224,483,293 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,397 | r | glmerSpecial.R | ####################################################
## Helper Function: Fit hard to converge glmer models.
##
## Sometimes, some hard to fit glmer models do not converge properly. This code adds some robustness to make convergence more likely.
##
## Code from: http://stats.stackexchange.com/questions/158003/glmer-err... |
5401f921f0e90184e86115d4c6c1b057b8166abc | 6d4a8d3fc9521805b6b2b4457e60bbb3b0663e81 | /Code/16-sql-summaries.R | 36be9fe7ffcdf38c198ff37355c4c3f4fdfb3619 | [
"MIT"
] | permissive | andrie/galaxyzoo-net | 287675c56ee401abe8b0c45375e0782951e7b3ec | a1479de5a521683842e1dac101022731ee8c6a68 | refs/heads/master | 2020-04-09T17:28:57.406838 | 2016-10-21T13:39:14 | 2016-10-21T13:39:14 | 68,102,271 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,991 | r | 16-sql-summaries.R | source("code/00-settings.R") # defines dbConnection
sql_share_directory <- file.path("c:", "AllShare", Sys.getenv("USERNAME"))
#dir.create(sql_share_directory, recursive = TRUE)
sql <- RxInSqlServer(connectionString = dbConnection,
shareDir = sql_share_directory)
# ---------------------------... |
9835569d9f281a7f0e5791a43bc3279e4079323f | f85a27dda7eb61370ac868c5138ea90d5ddfcfaf | /src/04_seleccion.R | 914a1539bbb0f8fe49b39b0a69beaa1e21cea3e0 | [] | no_license | Songeo/proyecto_spam | 52f55ef52e035c5cacde10a25f78ffd15ca6cbcd | 66c47cbc5945ca81a9f4fed29fe9bde59693ed91 | refs/heads/master | 2021-01-22T02:04:21.016650 | 2017-06-02T01:46:49 | 2017-06-02T01:46:49 | 92,330,096 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,522 | r | 04_seleccion.R |
library(ProjectTemplate)
reload.project()
library(arm)
library(e1071)
library(randomForest)
library(gbm)
library(xtable)
# Loading results
load(file = "cache/results_models/results_logit.Rdata")
load(file = "cache/results_models/results_svm.Rdata")
load(file = "cache/results_models/results_rforest.Rdata")
load(file... |
5850f54b762792e65d1270600c056105e6f14d09 | d3ff029140e0e0bca01c88f0e8da64c09d12806c | /Shinny/ui.R | da7b5f16ec2129276ae17801a558c2d6a1899401 | [] | no_license | tinghf/dss-capstone2 | b15cb099115b2438725962aa10ccad62ba917800 | 9cb84c6d4394af623d76da890ba326b178331bbf | refs/heads/master | 2016-09-16T01:15:08.977321 | 2015-08-23T23:47:24 | 2015-08-23T23:47:24 | 41,075,585 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 8,605 | r | ui.R | require(shiny)
require(markdown)
shinyUI(
navbarPage("Coursera Data Science Capstone", inverse = FALSE, collapsible = FALSE,
tabPanel("Prediction",
fluidRow(
sidebarPanel(width=3,
hr(),
... |
2829b08402b51fa95628ddbf75b5e0586b3c75b3 | e374888ce6ca6436d2b08b4d406ed39fb2504170 | /Final Visualizations.R | 3446bcb928cfd08d5a6ee58c0ab4f8d6eb00a0a2 | [] | no_license | derekcastleman/StoicProject | 1480b475c10edba3b6ba7764a6a87640d5fe7a06 | 028f846389a3ca6f15529cd64d856e28c79ff18b | refs/heads/main | 2023-04-20T19:34:34.461437 | 2021-05-07T19:01:52 | 2021-05-07T19:01:52 | 365,323,087 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,527 | r | Final Visualizations.R | install.packages('paletteer')
library('gt')
library('paletteer')
# Changing up the names of the columns for better final appearance.
philosopher_prepped <- philosopher_summary %>%
rename(Philosopher = philosopher,
Tweets = tweets, Users = distinct_users, Avg_Fav = avg_fav, Favorites = total_fav,
... |
7c15e17e83237a1c21fb08528438cd4dc30568f8 | 12292a3ea0df7e1ca422d778f8f3ea812069cb83 | /man/whippetTranscriptChangeSummary.Rd | 38aa064b839d12efc25ee24b256b51654aa3bfb8 | [] | no_license | federicomarini/GeneStructureTools | bd8be331d1bc29d849452329bcbb77705e6868dd | ed946d997fc62ac70b1f34e5ce631aefe60d2dca | refs/heads/master | 2020-03-13T21:15:32.154189 | 2018-04-27T12:22:17 | 2018-04-27T12:22:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,006 | rd | whippetTranscriptChangeSummary.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/quickAnalysis.R
\name{whippetTranscriptChangeSummary}
\alias{whippetTranscriptChangeSummary}
\title{Compare open reading frames for whippet differentially spliced events}
\usage{
whippetTranscriptChangeSummary(whippetDataSet, gtf.all = NULL, ... |
2c3a4ac6b241b2ec3042d637c5b523d34a4d3588 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/fivethirtyeight/examples/drinks.Rd.R | 0cdbfc187111428fa41a1e5da465811f3650bfed | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 477 | r | drinks.Rd.R | library(fivethirtyeight)
### Name: drinks
### Title: Dear Mona Followup: Where Do People Drink The Most Beer, Wine
### And Spirits?
### Aliases: drinks
### Keywords: datasets
### ** Examples
# To convert data frame to tidy data (long) format, run:
library(tidyverse)
library(stringr)
drinks_tidy <- drinks %>%
ga... |
858be5524cd95cb5772556b69b871a78d142c982 | 2866cc0f4d69352281ebcb0ea2a9ef0d4a7c5110 | /Figures.R | da90c8b556be35d4baf25d97ac96969165bb88f5 | [] | no_license | edvallog/UtahCovidData | af79f576f0a8933492fd6268185e0878c45eb7d4 | d6fa14ba16fa09dd43e2cd2a436cfedbd28dbd96 | refs/heads/master | 2022-09-27T20:23:01.039424 | 2020-06-05T05:08:57 | 2020-06-05T05:08:57 | 269,534,968 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,745 | r | Figures.R | stacked <- plot_ly(covidData, x = ~Day, y = ~totalDeath, type = 'bar', name = 'Total Deaths', marker = list(color = 'red'))
stacked <- stacked %>% add_trace(y = ~actCases, name = 'Total Active Cases', marker = list(color = '#fc7703'))
stacked <- stacked %>% add_trace(y = ~Recov, name = 'Total Estimated Recoveries'... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.