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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
043178d37a4c03862b57ff1564d29c1bd9b76cfd | c5a0d5c211e22a1c5c240f0bda607fb48a4f60d3 | /cBioPortal_ui.R | 64fdf7ebfa6d247a89cc9fb618f2fe29b306656e | [] | no_license | kmezhoud/shinySpark | b10bbac1da73ea2ac50cbe20d4a51f0434d7a0c6 | 1867a8100a2378dbe61963de26b4e629589f1674 | refs/heads/master | 2020-04-24T09:17:33.511354 | 2019-02-21T11:49:06 | 2019-02-21T11:49:06 | 171,858,216 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,036 | r | cBioPortal_ui.R | output$cBioPortal <- renderUI({
# tagList(
sidebarLayout(
sidebarPanel(
actionButton("connect", "Connect to spark", style="color: #0447FF"),
#wellPanel(
#conditionalPanel("input.tabs_cbioportal == 'Studies'",
# uiOutput("Welcome"),
# uiOutput("... |
e5c1aa4c04804739ec0ca4e7e2c9c33e1e486838 | 65c409808b847a0777cb12876fcebf70e574a26a | /scripts/PSpreanalysis.R | 258d098f00b713fe29b78c51da5f37d88e72d8cf | [] | no_license | lucyzhangzhang/PSlibs | 1d9b897cb22dd058bd8a857fd1c9e5a7df8029f5 | d0a0ec7d4154061ea0724d42f9590a76441d31f8 | refs/heads/master | 2020-06-27T08:47:33.480797 | 2020-04-07T18:27:39 | 2020-04-07T18:27:39 | 199,901,263 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,824 | r | PSpreanalysis.R | library(ggplot2)
library(reshape2)
library(dplyr)
library(stats)
setwd("~/R/Eutrema/PS")
trimCounts <- read.table("counts")
samples <- c("ps10_S1",
"ps11_S2",
"ps12_S3",
"ps37_S4",
"ps38_S5",
"ps40_S6",
"ps41_S7",
"ps44_S8",
... |
0b36639ce86d646709ad5bef8b46b454148a15d0 | 7e45e97f10ba41f5ed251438044dc923d64f6b3d | /antic-herit-sim.r | 86d8764ab0e97821347b0c65999a85ba5dfa85fc | [] | no_license | ericminikel/e200k-anticipation | a2513cfd4a1e02f139b7bbab1c7f9dbd450ea22e | 13415953725ab1dd3c527002bfcc2c83f8ac6b0a | refs/heads/master | 2020-12-24T13:43:55.723392 | 2015-02-17T00:07:17 | 2015-02-17T00:07:17 | 24,304,771 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 29,886 | r | antic-herit-sim.r | #!/broad/software/free/Linux/redhat_5_x86_64/pkgs/r_3.0.2/bin/Rscript
# Eric Vallabh Minikel
# Demonstrates that "windowing" of year of onset is sufficient to create robust
# and highly significant false positive signals of anticipation and heritability
# This simulation will generate n parent/child pairs and then a... |
14227d8aba142292f06de05a5fa5eaebc4dc01e4 | bb6e0f698c434945a622b5b605a025ae92dc7729 | /report/Rough Contour Limits.R | 4f0a5ee076d40afc68f6d3d4f28d731d1feecdbb | [
"CC0-1.0"
] | permissive | mvparrot/vis-serve | 933f2f211b817b00177cd7b53b89f324ed882c0e | f2c307837d4d89054073864dedc8b352613c7920 | refs/heads/master | 2021-01-17T10:19:33.786055 | 2016-09-29T11:09:43 | 2016-09-29T11:09:43 | 56,582,980 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,318 | r | Rough Contour Limits.R | factor1 <- as.data.frame(levels(plot_perserve$serve_num))
factor2 <- MultipleGames(4,perserve = TRUE, server = TRUE)
factor3 <- c("Ad", "Deuce")
contour_lim <- data.frame()
for (i in 1:nrow(factor1)) {
for (j in 1:nrow(factor2)) {
for (s in 1:2) {
f1 = factor1[i,1]; f2 = factor2[j,1]; f3 = factor3[s]
... |
291c76b1eac85a760ede18a14c6ba4e9341b349b | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/ICAOD/R/RcppExports.R | a3f40738aa345d06eb4bc4f6db9341dec7ed255c | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | false | 12,300 | r | RcppExports.R | # Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#' @title Fisher Information Matrix for a 2-Parameter Cox Proportional-Hazards Model for Type One Censored Data
#'
#' @description
#' It provides the cpp function for the FIM introduced in Eq.... |
81386e16a68cd11c600930030834a3eee29e4a1b | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/6194_0/rinput.R | 90e9193f3c3f74a105c1f4f0d5e461f8957c9262 | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 135 | r | rinput.R | library(ape)
testtree <- read.tree("6194_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="6194_0_unrooted.txt") |
0aa0644414d72c87ed02202c0819f04bbf7d0635 | 789bd8e74dc9c3bbb73ac1ff15082e0124cca0d0 | /man/setResource.Rd | d3c7bc984f2f471d3870c06bce956f542db34551 | [] | no_license | sizespectrum/mizer | 58e8f41a85c035728498ae99692de1f719552fc2 | d6dbc6bcb2dbbca6c6ecf072caad7a998b54ed8b | refs/heads/master | 2023-06-08T11:42:57.079370 | 2023-06-02T13:45:35 | 2023-06-02T13:45:35 | 5,898,893 | 30 | 31 | null | 2021-09-03T11:53:31 | 2012-09-21T08:51:19 | R | UTF-8 | R | false | true | 6,571 | rd | setResource.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/setResource.R
\name{setResource}
\alias{setResource}
\alias{resource_rate}
\alias{resource_rate<-}
\alias{resource_capacity}
\alias{resource_capacity<-}
\alias{resource_level}
\alias{resource_level<-}
\alias{resource_dynamics}
\alias{resource... |
20b44b0bd1bede9da71d2a3c0a8793c18ba8b17b | 657cb8d31a7edde2ba866b43417fcff13168025c | /tests/testthat/test_filters_management.R | 2e448c8ffff349fef9e78f06547715bbfaae4d00 | [] | no_license | jdeboer/googleAnalyticsR | d026832e1d48787c5c0bc58489a2932cc8ddb5b2 | 8ca31878fff7fb3b0215acad810e137b609f7018 | refs/heads/master | 2023-01-20T04:53:50.946223 | 2020-11-24T19:41:38 | 2020-11-24T19:41:38 | 48,536,792 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,492 | r | test_filters_management.R | source("setup.R")
context("Filter management")
test_that("Get Filter View list", {
skip_on_cran()
skip_on_travis()
fits <- ga_filter_view_list(accountId = accountId,
webPropertyId = webPropId,
viewId = ga_id)
expect_s3_class(fits, "data.frame... |
8c5dec82444bc633bf6bf0ca4b5db5f3b1da56b0 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/Rpdb/examples/translation.Rd.R | 834d552bb50aa669c4a7c10e5c9c822b4b61c881 | [] | 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 | 902 | r | translation.Rd.R | library(Rpdb)
### Name: translation
### Title: Translation of Atomic Coordinates
### Aliases: Tabc Tabc.coords Tabc.pdb Txyz Txyz.coords Txyz.pdb
### translation
### Keywords: manip
### ** Examples
# First lets read a pdb file
x <- read.pdb(system.file("examples/PCBM_ODCB.pdb",package="Rpdb"))
visualize(x, mode =... |
9ec0264424e863068289f34197f3dddd3b460d71 | becf7caa63d95071221c4120c0f238626b46100a | /man/FEM.time.Rd | 01b8e07fcad05e4d8f9d4e66b4dadc7fb01668fe | [] | no_license | cran/fdaPDE | 1acaf7798553c5582294cbb99c3a7207b78ccb55 | 4c275d6bfbcbbdef81e094fc977e60f68d1e24f3 | refs/heads/master | 2023-03-09T17:20:47.497214 | 2023-03-01T07:22:39 | 2023-03-01T07:22:39 | 49,715,847 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,832 | rd | FEM.time.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/FEMobjects.R
\name{FEM.time}
\alias{FEM.time}
\title{Define a spatio-temporal field by a Finite Element basis expansion}
\usage{
FEM.time(coeff,time_mesh,FEMbasis,FLAG_PARABOLIC=FALSE)
}
\arguments{
\item{coeff}{A vector or a matrix containin... |
0eedeac7d232479c0d4492df2893dc1d6fa29255 | 6cbb7fdf84de20904947ce318da6adad5586a6b9 | /plot3.R | f1083927382b1e54994dead11b15e00c8c02d8a8 | [] | no_license | c0nanh/ExData_Plotting1 | 26e57482817c57cb48a46a9866a80293228b87ae | b4b6868ecd83a9b6ac79e770efa07d98f05ee54a | refs/heads/master | 2021-01-15T21:20:19.666418 | 2015-03-08T04:51:57 | 2015-03-08T04:51:57 | 31,834,487 | 0 | 0 | null | 2015-03-08T01:32:28 | 2015-03-08T01:32:28 | null | UTF-8 | R | false | false | 2,367 | r | plot3.R | ColumnNames <- c("Date", "Time", "Global_active_power", "Global_reactive_power", "Voltage", "Global_intensity", "Sub_metering_1", "Sub_metering_2", "Sub_metering_3")
#set path to where the source data is here:
FilePath <- "~/Dropbox/Public/Coursera/Exploratory Data Analysis/Week 1/Household Power/household_power_consu... |
93c95705d380dba246ffdf5846114e587d0370b4 | 788d33afc66b34f15c7c345a1a220d2f012d9bb7 | /bin/DSS.R | 3082713b3c9a78d1cf8d1e06ba1686da1a5d9284 | [] | no_license | Shicheng-Guo/tissueoforigin | d02283cb3ad6af77c44a06a8c49f888854ea7d0b | 819792046b013277f4b8fbdc3d5d08ca75e69695 | refs/heads/master | 2020-09-08T07:21:15.846358 | 2020-01-18T01:50:44 | 2020-01-18T01:50:44 | 221,059,067 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,811 | r | DSS.R | setwd("/home/local/MFLDCLIN/guosa/hpc/methylation/PRJNA577192/COV")
library("DSS")
read_methBED <- function(filename)
{
meth = read.table(file=filename,stringsAsFactors=F,skip=1)
x = meth[,c(1,2,5)]
x = cbind(x,as.integer(meth[,5]*meth[,4]))
colnames(x) = c('chr','pos','N','X');
return(x)
}
read_bismar... |
7d00eb58ec768a1047c6e475e713968d97000af2 | 8aab57d531fc9ffa67bb39d8504e6adb13ea78ce | /Tarea6/Lectura/ScriptTarea6.r | 4d1d060f6daae200b13c9a4e40d8945948e8af1e | [] | no_license | fabrgalindo/ADA2015 | 6e37a56a2995c71ad03c98e8f95ce7fa35b6e7a7 | 558483555ff2c38f8c3bd3cd340453b6bc0b0622 | refs/heads/master | 2021-01-10T12:09:53.933180 | 2016-01-22T05:33:27 | 2016-01-22T05:33:27 | 49,386,474 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,231 | r | ScriptTarea6.r |
setwd("C:/repoGit/ADA2015/Lectura")
PACKAGES<- read.table("Paquetes.txt")
#Cargar los paquetes necesarios si éstos no han sido cargados.
for (package in PACKAGES ) {
paquete<-toString(package)
if (!require(paquete, character.only=T, quietly=T)) {
#Instalar
install.packages(paquete)
#Cargar
... |
ba3db172c6da973777c6557cf6fadfb8f7a9e527 | 93530649c133130057b4f2e0124a54d134c3f9d0 | /emis_model/model/NH3_mods.R | 3f0a0a48f54a5936da6198b40e6a0825b6b2e9a9 | [] | no_license | sashahafner/mink-NH3-2020 | 762a2ed65b36cf4dcbc58e3b907c533840c69cb3 | 00594052bdf5c55318e59305d224211a86923e98 | refs/heads/main | 2023-02-07T07:02:05.708383 | 2020-12-23T14:25:51 | 2020-12-23T14:25:51 | 323,922,371 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 56,431 | r | NH3_mods.R | # Equilibrium and kinetic (CO2) models for NH3 and CO2 emission from slurry and changes in speciation
# Author: S. Hafner
#
# History of revisions
# 2014 OCT 31 nh3_mods.R Combined code from two separate files for equilibrium and kinetic models
# See comments above each s... |
925ed724566bcfe4485ac41f10560948140d5717 | 3019ee00ab18b27c206731d99dddae97519b41ce | /R/colors.R | 1fe7236064bd4c4a2270ec49f6e898c4bc01ff44 | [] | no_license | atkinsjeff/nationalpark | da66e7cdb91abc3382d08c3e0bebe45bd039e00f | fbbe97e3f10cd7fc2f13575e2cc66af79a7f046f | refs/heads/master | 2020-04-26T11:47:52.279508 | 2019-05-14T20:56:58 | 2019-05-14T20:56:58 | 173,528,870 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,319 | r | colors.R | #' Complete list of palettes
#'
#' Use \code{\link{np_palette}} to construct palettes of desired length.
#'
#' @export
np_palettes <- list(
arches = c("#3B1105", "#FC7500", "#ADB5BE", "#5487C8", "#FFD707"),
badlands = c("#3D6F07", "#FBF9FF", "#7D2010", "#DE5A31", "#535261"),
bryce = c("#DCDFE4", "#01261D", "#3C63... |
20747ab7d3d469fba5ffd6b6d6197e973a5be947 | 0c1eeee21c2a8d5a52c86dd99b473eb865a0f085 | /Exercise7.R | f6a4fe64d12f5f6373b683064244818fc7ecc6a5 | [] | no_license | afleishm/Biocomp-Fall2018-181012-Exercise7 | dcd624d922a64f44eb4145bc8f35e022ec524612 | e19c11c05a98969e87b491de260fcc4ad8541296 | refs/heads/master | 2020-04-02T06:38:58.019496 | 2018-10-24T16:06:52 | 2018-10-24T16:06:52 | 154,161,337 | 0 | 0 | null | 2018-10-22T14:46:45 | 2018-10-22T14:46:44 | null | UTF-8 | R | false | false | 1,510 | r | Exercise7.R | #Setting working directory
rm(list=ls()) #remove global environment
setwd("/Users/Ashley/Documents/Biocomputing_2018/Biocomp-Fall2018-181012-Exercise7")
iris=read.csv("iris.csv", header = TRUE)
iris
#1
#Return odd rows of a data frame
i=1
return_odd_rows = function(df) {
odds = data.frame()
for (i in 1:nrow(df)) ... |
1d6d0b0452ae54a75552d263da39408034b979ba | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/PBImisc/examples/SejmSenat.Rd.R | 185f787148186d6a05912ac496de5c354982bb84 | [] | 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 | 254 | r | SejmSenat.Rd.R | library(PBImisc)
### Name: SejmSenat
### Title: SejmSenat
### Aliases: SejmSenat
### Keywords: SejmSenat
### ** Examples
data(SejmSenat)
library(ca)
# can you see some patterns?
plot(ca(SejmSenat[-15,]), mass =c(TRUE,TRUE), arrows =c(FALSE,TRUE))
|
c81184aaf8cfd98d6fb04dc3fb9620d0fba1ee2c | 473dfd3f5c89fd2bf2087c524c52e484ecc823b6 | /tests/testthat/test-halton.coefficients.R | 0c7c78ad3ffe60b6819e4b31b84ddaf41402f605 | [] | no_license | cran/SDraw | 038ec0a0f2d8a094f89d258d43edb15a003303b2 | 0b06c5ecbd424a0d9ba59fe5fd4f4bf30a1ce326 | refs/heads/master | 2021-01-17T19:20:33.351896 | 2020-07-03T15:20:09 | 2020-07-03T15:20:09 | 60,879,512 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 587 | r | test-halton.coefficients.R | context("Test the halton.coefficients function")
test_that("halton.coefficients() operates appropriately", {
##Expect problems when J == 0
expect_error(halton.coefficients(1, 0))
##Expect function operates well with large values of samp and J
expect_equal(dim(halton.coefficients(300:302, c(600,20... |
5f5b8b8e21ed988da4aeec461328290c8974a161 | e62a38261550858b6162855aded0b56d69e15eb1 | /SiVHMP1/R/H11.R | 9447d09036cd27e4ff881add09d02750b87191c4 | [] | no_license | RavnikD/SiVHMP1P | 0e57396410de5f71dbc554dc3c05e8a2a6191d24 | 327678dee0ccb9f154b112c96c0150e1d4b25d85 | refs/heads/master | 2020-04-18T06:38:53.756364 | 2019-01-24T10:35:51 | 2019-01-24T10:35:51 | 167,330,429 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,579 | r | H11.R | library(xlsx)
dir.create("Podaci")
#Download podataka
download.file("http://www.hnb.hr/documents/20182/98f5bca9-e530-461d-9c25-eb4e8b5b0efc", "Podaci/h-h11.xlsx", mode = "wb")
#' Tablica H11 Indeksi efektivnih tecajeva kune
#
#' @name h11
#' @author David Ravnik \email{dravnik@unipu.hr}
#' @author Tomislava Kolar \e... |
4a052f740228a0e4240ac79a74012a362b740280 | 97e62c4e55fe669e545260689b3787ef22f81332 | /estimate_risk_CVD.R | 9abbdad54d18bd9de8bfd82d59f3c104fe3e1e0a | [] | no_license | RSaikiRSaiki/CH_2021 | 7bafdad1e1a1dfe887d5cb656638aab5693fa249 | 10065b8d35c18b6a75e0db5d5062a3b75566f526 | refs/heads/main | 2023-07-01T15:06:20.290483 | 2021-08-04T15:11:25 | 2021-08-04T15:11:25 | 355,820,175 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 15,410 | r | estimate_risk_CVD.R |
## import genomic data ##
source("ImportGenomicData_CVD_OS.R")
cmp_data_org = cmp_data_org[,setdiff(colnames(cmp_data_org),c("all_time_to_traf","traf_fail"))]
cmp_data_org = na.omit(cmp_data_org)
id = rownames(cmp_data_org)
cmp_data_org = cbind(id,cmp_data_org)
## select disease ##
cmp_data_org$fail = cmp_data_org... |
d8a131075b4d188400eeabf2539862cddb8dbb23 | c9d0e8b9fe980c243f220e86322568bae2ee5650 | /man/gs_summary_overview_pair.Rd | 0671a42bf0e712024d9634bfc298ab36fe643288 | [
"MIT"
] | permissive | federicomarini/GeneTonic | 20c0043dcf63a1d4aadc9b0718a263d20fd1dd42 | a874402b40df9e276f6c5637675ea35472448c02 | refs/heads/devel | 2023-08-17T05:52:09.962420 | 2023-08-10T10:49:08 | 2023-08-10T10:49:08 | 193,464,295 | 73 | 9 | NOASSERTION | 2023-03-14T14:35:01 | 2019-06-24T08:21:40 | R | UTF-8 | R | false | true | 3,020 | rd | gs_summary_overview_pair.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gs_summaries.R
\name{gs_summary_overview_pair}
\alias{gs_summary_overview_pair}
\title{Plots a summary of enrichment results}
\usage{
gs_summary_overview_pair(
res_enrich,
res_enrich2,
n_gs = 20,
p_value_column = "gs_pvalue",
color_... |
aa1f63080aebbf0ec09a55f1ebd2d143c78831dd | 91b964ca761e887da5283f2afbf3179f24c538dd | /sources/sentiws/create-data_dictionary_sentiws.R | 697b15b27ce80b421e38632b122ae2535beabe57 | [] | no_license | olgasparyan/quanteda.sentiment | 5565b5b8cf4f904b550fad01b8f45ecb770ce357 | 9808d0c04dbff3ea6b3336e3084db7ddc529fcab | refs/heads/master | 2023-03-22T13:42:59.419608 | 2021-03-08T16:13:58 | 2021-03-08T16:13:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,515 | r | create-data_dictionary_sentiws.R | # SentiWS Dictionary
library("quanteda")
library("dplyr")
library("tidyr")
library("stringr")
read_senti_scores <- function(filename) {
results <- read.delim(filename, header = FALSE, encoding="UTF-8") %>%
cbind(str_split_fixed(.$V3, "[,-]",50),stringsAsFactors = FALSE) %>%
mutate(
... |
7d1babae1b7eb030708fd125ae74c3b7003ef6fa | 51397736808dbafc8b19c2cb8be7fc2641e6c1b2 | /R/theme_hodgeslab_basic.R | bce5e91512007a9b039f67cb50774a99c4be337e | [
"MIT"
] | permissive | hodgeslab/hodgeslabR | 77d70e3376b1ca25ff2f739e75e6b62dca933410 | 05ae272ddd19b74f7508be3a08ba66ef93445499 | refs/heads/master | 2021-08-04T12:26:34.961501 | 2021-07-28T21:14:22 | 2021-07-28T21:14:22 | 66,617,723 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,707 | r | theme_hodgeslab_basic.R | #' Basic ggplot2 theme for the Hodges lab
#'
#' This function defines the basic theme for plots coming from the Hodges lab.
#'
#' @param base_size Sets the Postscript font size for all labels, in units of pt. Defaults to 7.
#' @param base_family Sets the Postscript font family for all labels. Defaults to empty "".
#'... |
8a2022ade449b7ee9d0ef6491da78e916a074278 | 8da2e4942212add30e18773d3491ac446561cc65 | /apps/simple/server.R | aa54d3785df795ca45ed55cbe36ad7de18dae0ac | [] | no_license | janfait/shiny-training | 97663e74a59e99484d334679d802f2679c13098a | 15adcec5bc954425c61bd9dd5f09cc6b1153af36 | refs/heads/master | 2021-08-29T23:23:42.289204 | 2017-12-15T08:24:35 | 2017-12-15T08:24:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 440 | r | server.R | ######################################################################################################
# BEGIN SERVER
######################################################################################################
function(session, input, output) {
output$chart1 <- renderPlot({
plot(data[,input$select1],... |
a6e93d1af7e3cef6bb7132e60cbd95a4f321a570 | 90811ffdd0cbfb9c33511b768c2415a55fd7ff5c | /Week2_Assignment/Week2_Assignment.R | dd3d1b81c0b954d85348e72644186747b40bfa06 | [] | no_license | jey1987/DATA607 | a2b21ea35d7be1a58a61e8ef6493356c871058bc | f0cda5f7edd97fb29a750bdd4f705d16cd3e6d80 | refs/heads/master | 2020-07-14T09:16:02.776522 | 2020-03-02T03:21:23 | 2020-03-02T03:21:23 | 205,290,782 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 213 | r | Week2_Assignment.R | install.packages("RMySQL")
library(RMySQL)
mydb = dbConnect(MySQL(), user='root', password='root', dbname='sys', host='localhost')
rs = dbSendQuery(mydb, "select * from review_movies")
data = fetch(rs,n=-1)
data
|
d7ee36675265e76ed0ba9c04bec7f9278fe8d39a | 4216b8ed7df260ac573f0ce7b8ad6675afbd628c | /bin/sanitise.R | 5547cf212061dfeaebf615d6ea60403f79c10424 | [] | no_license | cgpu/genomechronicler-nf | 86780e686de7b710bdec84e3ed551908818ed6f5 | e32d8e9cf51b142100e699576ce2dbab231d6f66 | refs/heads/master | 2020-08-15T11:44:59.379367 | 2020-04-16T16:59:28 | 2020-04-16T16:59:28 | 215,335,983 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,181 | r | sanitise.R | #' Title Sanitise LaTeX formatted url table entries
#'
#' @param table
#' @param col_names
#' @param pattern
#'
#' @return
#' @export
#'
#' @examples
sanitise <- function(table = NULL,
col_names = FALSE,
pattern = "href") {
if (col_names == FALSE) {
col_names <- colnam... |
5ad94f690c0d09a3fad2188624adacdb91e58b34 | 21458fe5033fc2f62ffaa0b8bfb04b7a1ad1bf86 | /man/get_sam.Rd | 6e702dd33c6871ee282e9cbf108d98169d85b83a | [] | no_license | einarhjorleifsson/fishvise | c1c3c7fd6d38765ef879e676627acf62a4d6ea4d | b1e56db880c037cf9dd75adea47f2d811d5b85bb | refs/heads/master | 2021-01-10T19:21:22.523937 | 2015-01-08T09:38:42 | 2015-01-08T09:38:42 | 14,083,740 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 426 | rd | get_sam.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\name{get_sam}
\alias{get_sam}
\title{get_sam}
\usage{
get_sam(assessment = "wbcod_2014", user = "user3")
}
\arguments{
\item{assessment}{The directory name of the assessment as specified on
www.stockassessment.org}
\item{user}{User name, guest users can use "user3"... |
9e6a153edd80635e6b0da9f2022958cd2c4a1f23 | 7a06fa71e5a4dbf05142a6aad06a8abe09254359 | /man/interpolate_array.Rd | a3af88d51db6ea442dcb1cfd5aae920b3bf5101a | [] | no_license | cran/rayimage | cd49f499ebe3327ddf1cb20cdd42f6e249c03fe9 | ea6514f4b31d96348384746ee3c857912da9688f | refs/heads/master | 2023-01-22T21:29:45.404478 | 2023-01-17T03:40:02 | 2023-01-17T03:40:02 | 246,452,527 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 896 | rd | interpolate_array.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/interpolate_array.R
\name{interpolate_array}
\alias{interpolate_array}
\title{Matrix/Array Interpolation}
\usage{
interpolate_array(image, x, y)
}
\arguments{
\item{image}{Image filename, a matrix, or a 3-layer RGB array.}
\item{x}{X indices... |
a419dbbd5e19de1c47f508aa35e71782cac90e28 | 3967755668dda9b6d0cf493ec4a9f70cb5d08e93 | /scripts/milista.r | 337f7f186a413a8bd307b25170ad507bdebb091a | [] | no_license | rpizarrog/diplomado-cd-iot-2021 | 141867d23f27682f1f771c88c81d681f58669e3a | 3f51c29ff5738d2bf7c1469bdd8c79f18192c620 | refs/heads/main | 2023-05-06T15:08:40.352958 | 2021-05-29T19:52:25 | 2021-05-29T19:52:25 | 349,596,571 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 512 | r | milista.r | # Manejo de listas
numeros <- c(1,4,5,6)
numeros
nombres <- c("Ruben", "Javer", "Jose")
nombres
milista <- c(list(numeros), list(nombres))
milista
# Convertir listas vectores
losnumeros <- unlist(milista[[1]])
losnumeros
class(milista)
# De ejemplo de WEB
my_list <- list(l1 = c(1, 3, 5, 7), ... |
23bf54934b557236f452b22430aa220d610a56db | d1a4f6abfc847fe415cebe62073d5c1a41ba0008 | /server.R | e467d24201158ba7c22a3be567289f65947cdbd3 | [] | no_license | lquaglio/vessel-dashboard | 647629744fc1c1bcf3963fb68427722e1407631d | 6d1c50c91837d0c510af008dec3be6aaf69f309c | refs/heads/main | 2023-08-20T14:29:15.973357 | 2021-10-16T18:24:31 | 2021-10-16T18:24:31 | 417,888,077 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,233 | r | server.R | function(input, output, session) {
selectFilterServer("filter", df)
selectedData <- datasetServer("filter")
# Card info
output$info <- renderUI({
# div(class = "ui card five wide column", style="margin-right:10px; margin-left:15px;height:100%;background-color:#f0f0f0",
# div(class = "con... |
570d6ab05de389313e90147f1552476c31411cbc | 0661f6241c38793a78abaadefb8cf3e20cb86eab | /Data/scripts/data_plots.R | 2bf5f91671441c997ed140942a28cd528e8fc42d | [
"CC0-1.0"
] | permissive | mjgcos/dissertation | 2f900f56d3705f17ac734d98905812fba1d41f13 | 586537a2a8ac8a0e9444ea1fe6aa17959e555f6a | refs/heads/master | 2020-05-15T14:58:51.510749 | 2015-09-18T14:09:26 | 2015-09-18T14:09:26 | 37,481,708 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 887 | r | data_plots.R | ## Plots for Data Section
library(ggplot2)
require(scales)
setwd("~/Academic/SGPE/Dissertation/Data/csv")
data <- read.csv("final.csv")
data$date <- as.Date(data$date)
attach(data)
countries <- as.character(levels(country))
country.colours <- as.character(c("orange", "red", "blue", "green",
... |
59bf465401d70fe390f3906de2e86c5231e4cf7e | 3b62ffa02efef29b8bbaa9041d74a1ee72b4807a | /R/data-sets.R | c7147e7d9f972d699203a889e88c7095829be138 | [] | no_license | jmsigner/rhr | 52bdb94af6a02c7b10408a1dce549aff4d100709 | 7b8d1b2dbf984082aa543fe54b1fef31a7853995 | refs/heads/master | 2021-01-17T09:42:32.243262 | 2020-06-22T14:24:00 | 2020-06-22T14:24:00 | 24,332,931 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 821 | r | data-sets.R | ##' @name datSH
##' @title Tracking data of one red deer in Germany
##' @description data set from one red deer from northern Germany
##' @docType data
##' @usage datSH
##' @format 1 location per row
##' @source Verein fuer Wildtierforschung Goettingen and Dresden
NULL
##' @name trackS
##' @title Animal track without ... |
76533d5b039e2766b1c50ea308070ac848219bbc | 234ac26bcc3db8046f6e3ef35bb03e1c435c38f2 | /R/pmtree.R | 93fd767ab8c3cd2cb9f774eb986e3160a0e1f193 | [] | no_license | cran/model4you | 36c35b406c8c75c3460f3ee17b4bb5365d026a01 | 9e401b89624d8dde1e535c71f2b45bac33b51d85 | refs/heads/master | 2021-05-11T14:26:05.547580 | 2021-01-20T15:10:02 | 2021-01-20T15:10:02 | 117,701,502 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,823 | r | pmtree.R | #' Compute model-based tree from model.
#'
#' Input a parametric model and get a model-based tree.
#'
#' @param model a model object. The model can be a parametric model with a binary covariate.
#' @param data data. If NULL (default) the data from the model object are used.
#' @param zformula formula describing which v... |
21aaeb1fe27adb51c5d524caa19b8d62378246f0 | f7c64b2475df5163a1e3d5b7698b8f73ac9b1099 | /scripts/correlation.R | e4e008b0aad4f73ba80292624ab02c7be83224b1 | [] | no_license | yannabraham/HipHopViz | 2ec897f92f0987a8261be10198bdb3311bc13008 | 7f1219704c9f8462b27bba723e9089bfcde1d5a4 | refs/heads/master | 2020-06-09T02:43:09.449966 | 2019-06-23T13:58:33 | 2019-06-23T13:58:33 | 193,354,865 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,199 | r | correlation.R | # extract correlation data from objects & load them to database
#
# Author: abrahya1
###############################################################################
library(RSQLite)
con <- dbConnect("SQLite", dbname = "../site/data/HipHop.db")
## load correlation data
correlation.files <- c('//nibr.novartis.net/CHBS... |
c19f9ea4b6134464668fb5c0678decfb0a6553ec | bff9a69080d7a82b58cbf17193705ded04afc675 | /plot_single_simulation.r | 48cf5d358b505ab6efa90cd0d78e31e09198384e | [] | no_license | bramkuijper/migration | 67e638558b928847c5d715558aec154a6baadfba | c0e467f6fc5985c0184553dc4cc5ba446e14e40e | refs/heads/master | 2023-03-15T14:25:35.027854 | 2023-03-10T10:04:07 | 2023-03-10T10:04:07 | 185,962,196 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,611 | r | plot_single_simulation.r | #!/usr/bin/env Rscript
#--vanilla
library("ggplot2")
library("gridExtra")
# get command line arguments
args = commandArgs(trailingOnly=TRUE)
# give an error message if you do not provide it with a simulation file name
if (length(args) < 1)
{
print("provide a simulation file name")
stop()
}
# find out wher... |
390e15438e227d98c4add38da891f63658d1d59b | 9f2c2d1c1bfe949ec76e6d323d9327d9d400fc24 | /Run-DetermRecSim-Autosomal-SexSpecific.R | c361ed683411c076a471464fc7b978fcd229acbc | [] | no_license | colin-olito/XvAutosomeInversions | fba08c4c05e1df84922a39d25f3c33892c87d89c | cc69ca1a8212439423f58a02482d1ba61d38279f | refs/heads/master | 2021-03-22T00:05:22.720462 | 2018-07-16T22:08:18 | 2018-07-16T22:08:18 | 103,689,205 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 7,116 | r | Run-DetermRecSim-Autosomal-SexSpecific.R | ##############################################################
# Local adaptation and the evolution of autosomal inversions
# with sex-specific selection and migration
#
# R code for simple deterministic simulations of the
# haplotype frequency recursions for the model of
# autosomal inversions with sex-specific ... |
60a241a6cb09e56c0e1a6770b4db5c786f32d90d | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/soilDB/examples/seriesExtent.Rd.R | 5d8d6e13b7d8972b2774abad862a50d94256f586 | [] | 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 | 400 | r | seriesExtent.Rd.R | library(soilDB)
### Name: seriesExtent
### Title: Get/Display Soil Series Extent
### Aliases: seriesExtent seriesExtentAsGmap
### Keywords: manip
### ** Examples
## Not run:
##D # fetch series extent for the 'Amador' soil series
##D s <- seriesExtent('amador')
##D plot(s)
##D
##D # fetch then plot the extent of ... |
cd0a74747fa27a19b71d22be2af736e8b5381601 | ebde5969386084d5e4e50d2426cc1e6e85d4de4b | /bin/crest_peak_call | 879688b84eb57d0fbe36cd9d2952deffac8d2eb5 | [
"MIT"
] | permissive | r3fang/CRESTseq | b4c655d4295400e4bbb3459a418069b16a96d4d2 | 87b6be546516ea3c676ae24271f1d80421ebad23 | refs/heads/master | 2021-06-18T22:22:31.396867 | 2017-06-26T20:07:48 | 2017-06-26T20:07:48 | 61,255,451 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,682 | crest_peak_call | #!/usr/bin/env Rscript
# Rscript crest_peak.R INPUT=\'low/crest/crest.bin.high.txt\' PREFIX=\'demo\' GOOD_SGRNA=3 MIN_WIDTH=1000 CUTOFF=0.1
# PART I - check if packages already installed, if not exist
if(!("GenomicRanges" %in% installed.packages()[,"Package"])){stop("R package GenomicRanges not installed")}
suppress... | |
39f918f500af6388a2f8068947cbe19d09fa811d | 172b75afc28797c0658cbc6ccfce99569e1aeb8e | /man/epakernel.Rd | bbc2ffa2b15958fe2fd0b5196a739362fb93170f | [] | no_license | cran/MEPDF | 6baa0bfee2c0f3c06fc8ca1b9db86e475c8d2e0c | cd5e5cfcd3c6439e05c88bc32ab2275006cdb56c | refs/heads/master | 2018-10-31T07:36:24.045738 | 2018-09-26T13:10:03 | 2018-09-26T13:10:03 | 108,254,982 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 289 | rd | epakernel.Rd | \name{epakernel}
\alias{epakernel}
\title{epakernel}
\usage{
epakernel(x,H)
}
\description{
Kernel function based on the normal distribution.
}
\arguments{
\item{x}{Evaluation point.}
\item{H}{Positive-definite, symmetric matrix as bandwidth.}
}
\examples{
epakernel(c(1,1),H = diag(2))
}
|
f90cdda4ad65cf665cdcc51e7ea36d985459754b | 679c68425cab4a554aaf86290f2e1feadfba413b | /R/limes-package.R | a88f1a6da8a0ff2a6da674cd1d44772d2896d0f4 | [] | no_license | pik-piam/limes | b271576c645931415925c81d89ffa6b1b6495ec7 | 435f7ddbd8cee78f991707ded25289efff9d5801 | refs/heads/master | 2023-08-18T07:16:27.087324 | 2023-08-15T15:12:51 | 2023-08-15T15:12:51 | 206,319,561 | 0 | 5 | null | 2023-07-10T16:15:17 | 2019-09-04T12:57:31 | R | UTF-8 | R | false | false | 477 | r | limes-package.R | #' The LIMES R package
#'
#' Contains the LIMES-specific routines for data and model output manipulation
#'
#' \tabular{ll}{ Package: \tab remind\cr Type: \tab Package\cr Version: \tab
#' 7.6\cr Date: \tab 2017-11-20\cr License: \tab LGPL-3\cr LazyLoad: \tab
#' yes\cr }
#'
#' @name limes-package
#' @aliases limes-pa... |
75f0123742df81a55b459a12d1a509eed1c4ca7d | ddc68b452b15b423bd680e01ccd552983481f76b | /example/genomic_ideogram_customize.R | 748551d471c230128c48a8965f406b06d390db03 | [] | no_license | Adamyazori/circlize_examples | 31197d38a01b34ec0b089cc0bc4b1a258991658d | 0dad84d83d79741ccabfee3beb8c7cca707c9f71 | refs/heads/master | 2023-03-17T16:03:32.534312 | 2020-06-23T20:46:41 | 2020-06-23T20:46:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 450 | r | genomic_ideogram_customize.R | library(circlize)
circos.initializeWithIdeogram(plotType = NULL)
circos.trackPlotRegion(ylim = c(0, 1), panel.fun = function(x, y) {
chr = get.cell.meta.data("sector.index")
xlim = get.cell.meta.data("xlim")
ylim = get.cell.meta.data("ylim")
circos.rect(xlim[1], 0, xlim[2], 0.5,
col = rgb(runif(1), runif(1), ru... |
9e66cbc52853ec8e5233a2f95a1005c9d183b2e4 | 7e69dd0a831a9eddc70d5e868f5365bf3cde732b | /R/utils.R | 2c562969e51c5500d766c37700a54e6cb374f219 | [] | no_license | firebitsbr/varmint | 096ab682bb0369cf4f8fbb490539dca582a98b7f | 3d29290f58f0e850bf76b03047815f1e1526e37f | refs/heads/master | 2020-04-07T21:27:14.060451 | 2018-04-11T15:57:38 | 2018-04-11T15:57:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 38 | r | utils.R | is_not_null <- function(x) !is.null(x) |
703e8e0a0ecbe7d580cafd60df849f9375372b72 | 7f72ac13d08fa64bfd8ac00f44784fef6060fec3 | /RGtk2/man/gtkListStoreInsert.Rd | 15e32ba4713ab5db700ef8194bdbe5366f3799c3 | [] | no_license | lawremi/RGtk2 | d2412ccedf2d2bc12888618b42486f7e9cceee43 | eb315232f75c3bed73bae9584510018293ba6b83 | refs/heads/master | 2023-03-05T01:13:14.484107 | 2023-02-25T15:19:06 | 2023-02-25T15:20:41 | 2,554,865 | 14 | 9 | null | 2023-02-06T21:28:56 | 2011-10-11T11:50:22 | R | UTF-8 | R | false | false | 826 | rd | gtkListStoreInsert.Rd | \alias{gtkListStoreInsert}
\name{gtkListStoreInsert}
\title{gtkListStoreInsert}
\description{Creates a new row at \code{position}. \code{iter} will be changed to point to this new
row. If \code{position} is larger than the number of rows on the list, then the
new row will be appended to the list. The row will be empt... |
f8f9b9abf9d46f3c5906bc081f4fe67b09482e9c | d236278de7ff6f0e80400b43ff9d17b181f92c91 | /scripts/fst/plotPBS5%.r | 95cd21ce146177be2e6a888154e46856c85dcfe4 | [] | no_license | eoziolor/grandis_introgression | 049917208eb80f717fb6e9828c16b7fdce26e688 | a0fb5bed63fbbdbb787df3745ccade715760be73 | refs/heads/master | 2022-01-28T16:18:41.187524 | 2019-05-09T10:14:40 | 2019-05-09T10:14:40 | 106,438,641 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,037 | r | plotPBS5%.r | pbs<-read.table("~/analysis/data/fst/allpbs5kb",header=FALSE,stringsAsFactors = FALSE)
pbsname<-c("Scaf","start","end","BBpbs","VBpbs","PBpbs","SJpbs","BNPpbs","keep")
colnames(pbs)<-pbsname
col<-c()
for (i in 1:5){
col[i]<-quantile(pbs[,i+3],prob=.99,na.rm=TRUE)
}
colb<-c()
for (i in 1:3){
colb[i]<-quantile(pbs[... |
70739ff60fa1646198d8ff566b6972220c7f2df4 | 29b6da9b76714bb4ab21635ccfa79401e959d468 | /unitTestDemo.R | d28f8eab370a894bcf1fcad078d1d686e353e176 | [] | no_license | LottaRydin/pharmetheus_interview | 488ba179cf0d12ece069fbf6a469d94244b58b6d | 2eef28224c487b8a12316de7629931d3c497027d | refs/heads/master | 2022-07-15T18:37:13.844383 | 2020-05-06T12:53:24 | 2020-05-06T12:53:24 | 261,399,121 | 0 | 0 | null | 2020-05-06T12:53:25 | 2020-05-05T08:21:21 | R | UTF-8 | R | false | false | 1,293 | r | unitTestDemo.R |
library(testthat)
#The function below, greatesValueOf, was created by the fictive consultant Demo.
#It works well for the type of numeric data Demo is handling.
#However, if Demo were to share this function with colleagues
#who handle numeric data with other characteristics, there is
#a risk for errors.
#Do not edit ... |
2447e68b482c29c427b4490f6d25324e0ee6996b | 1b661731d1243a1147ba55a205ad6ff7ca67c267 | /Thesis/slideImgs/malware-trend-vis.R | 535c5ca1f808554a30ea0e933cc5623ec697801c | [] | no_license | jingxiang-li/kaggle-malware | 208312b544cdaba47797f269b788a5c413eb7df9 | e946501200549b94676cf3795f79cdfe2182943b | refs/heads/master | 2020-04-17T04:41:27.828971 | 2016-08-29T19:27:34 | 2016-08-29T19:27:34 | 66,872,244 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,385 | r | malware-trend-vis.R | rm(list = ls())
require(dplyr)
require(pipeR)
require(ggplot2)
setwd('~/Thesis/slideImgs/')
source("ggplot_theme.R")
# new malwares trend
x = c(24, 26, 40, 60, 61, 117, 283, 482, 486, 299)
ratio = 140000000 / 472
year = 2007:2016
df = data.frame(y = x * ratio, year = 2007:2016)
df$year = as.factor(df$year)
fancy_s... |
e7e55c101f04a08c7468a103a160d0b721c60f90 | 9e80cbf66448bc647acc9c7e6176d285fe422efa | /one_pvc.R | 464f0084248deaac0a82e66c1db215136e5ca535 | [] | no_license | JiaRu2016/Scrape-www.tjcn.org | 4e4573db46bbb9c9f0fd2f720dcb2e8576c26712 | 975f82fb3b62d3fd60631178332d6f7dae0e68a9 | refs/heads/master | 2021-01-20T19:34:46.738738 | 2016-06-24T16:07:10 | 2016-06-24T16:07:10 | 61,523,164 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,564 | r | one_pvc.R | #
# 输入单个省份的索引url
# 分析页面,找出所有地级市的名称,年份,网页链接,
# 整理成一个data.frame
# 另外再写入txt文件,以备校对
# 建立以省份命名的文件夹,例如“江苏省”,里面存储“江苏省_index.txt“文件
require(rvest)
require(stringr)
# 单个省份索引url
# 例如:安徽省统计公报索引
# pvc_url <- "http://www.tjcn.org/help/3551.html"
SetPvc <- function(name, pvc_url) {
message("开始请求网站。。。可能要等好久呢(╯‵□′)╯︵┻━┻")
h... |
b0bc2ba78f4f44083e35b563b240bc541045da93 | 98900f0cd8cbc35ae0904a6c7df65f18ea04d6e9 | /man/addFilter.Rd | 17da07ff498f15641b5980c4b549ad2de164f427 | [
"MIT"
] | permissive | seacode/rsimGmacs | 0a55a984cb1b457db72767209cf0c8964b172e14 | c49d708e51d2d4dddcab2eaded0500ef9ce1774a | refs/heads/master | 2021-01-13T13:58:34.136732 | 2015-07-01T15:18:41 | 2015-07-01T15:18:41 | 29,838,306 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 631 | rd | addFilter.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/addFilter.R
\name{addFilter}
\alias{addFilter}
\title{Add a file type to file extensions}
\usage{
addFilter(rowname = "csv", desc = "csv files (*.csv)", filter = "*.csv",
Filters = NULL)
}
\arguments{
\item{rowname}{- row name to ad... |
4acaeaf373b14c7ee5331d9db2babf2eb127f80a | f7a9004cb85908367a6b8775497d9f313eb6cd76 | /M2_ContinuousPrior.R | 9f81b35d5a763a0be7b32349e32321811330bb87 | [] | no_license | YaohuiZeng/Bayesian-changepoint | 1d23fc2c192e0f6aa283f302ac013553f180d102 | c7ca0e2cc12a786bf2c75e4af767c52879f9455a | refs/heads/master | 2021-01-17T07:18:30.114300 | 2015-06-10T02:43:14 | 2015-06-10T02:43:14 | 36,478,717 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 8,282 | r | M2_ContinuousPrior.R | ## Bayesian Course Project: Bayesian modeling for a changepoint problem
## Yaohui Zeng <yaohui-zeng@uiowa.edu>, May 13, 2015
## Taken from the OpenBUGS example:
## Stagnant: a changepoint problem and an illustration of how NOT
## to do MCMC!
## Model 2: continuous prior for the changepoint value, x_k.
## S... |
a938bb5cad9e8da273b69cc618f02296b82f0f65 | 88dde69ede665f2bc9f606781d3de00562e8b3ed | /R/Getters.R | e2e43a8d7ab1a853433a24f36299a81580e8b990 | [] | no_license | vishalbelsare/pim | 64ebfb621d618e7e85457c9d41c83f7b6251d6d1 | 26545a0cbcc668c0015f6289e634837548d442b2 | refs/heads/master | 2023-06-09T12:34:55.536755 | 2020-02-03T17:17:01 | 2020-02-03T17:17:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,580 | r | Getters.R | #' Extract information from pim.environment and pim.poset objects
#'
#' These functions serve to extract the information contained
#' in the objects of class \code{\link{pim.environment}} and
#' \code{\link{pim.poset}}.
#'
#' @param x an object of class \code{pim.environment} or \code{pim.poset}
#' @param object an... |
54d2e1a722e16908345ef2d3e6ab2dc712470470 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/casino/examples/Poker.Rd.R | 3fa633a6c4250f105fae7cbee712b7a67b281d76 | [] | 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 | 365 | r | Poker.Rd.R | library(casino)
### Name: Poker
### Title: Poker R6 Class
### Aliases: Poker
### Keywords: datasets
### ** Examples
set.seed(101315)
setup()
# draw poker
x <- Poker$new(who = "Player 1", type = "draw", bet = 10)
x$play()
x$hold(1, 2, 5)
x$draw()
# stud poker (bet 20)
x <- Poker$new(who = "Player 1", type = "stud"... |
11ead613775b181871dc241fe49e7ae40298167d | e1fe373fd6e8b404ef826069861e12efa88f0eac | /R_code/01_monte_carlo.R | 3891980d1ee47eba752e746d35ef88e1c3124b0c | [] | no_license | Nathan-Mather/Heterogeneous-Teacher-Value-Added | e7331c07fdb45d3e1174078ac01e05b0937051ba | e5be646cfe957f74caf4a23511bc0c1626a41a61 | refs/heads/master | 2023-03-31T23:01:37.889489 | 2023-03-21T19:38:05 | 2023-03-21T19:38:05 | 244,950,847 | 0 | 0 | null | 2020-07-01T00:45:02 | 2020-03-04T16:35:05 | TeX | UTF-8 | R | false | false | 21,789 | r | 01_monte_carlo.R | # =========================================================================== #
# ===================== Run the Monte Carlo Simulation ====================== #
# =========================================================================== #
# Clear data.
rm(list = ls(pos = ".GlobalEnv"), pos = ".GlobalEnv")
# No scien... |
d1289d2ccffe78a13fe317e78db78f67c9d51255 | 00412b811e8c6cc63cb351a8055fa28307a72258 | /R/BWMR.R | 64430d52d0971eab2c33d1ad92b3b18d1a4e5ca7 | [] | no_license | jiazhao97/BWMR | 6588b1a0dc5d66535f0110e495a06f754f8fae9f | c00e8186f12ed25899aaf85b7ac5c98c6d86c24c | refs/heads/master | 2023-06-24T03:24:14.384393 | 2023-06-14T06:57:01 | 2023-06-14T06:57:01 | 158,942,967 | 10 | 2 | null | null | null | null | UTF-8 | R | false | false | 9,134 | r | BWMR.R | ###### VEM and Inference for BWMR ######
##
### INPUT
## gammahat: SNP-exposure effect;
## Gammahat: SNP-outcome effect;
## sigmaX: standard error of SNP-exposure effect;
## sigmaY: standard error of SNP-outcome effect;
##
#... |
388561fc228c43f9e25bb919249599faedbd3e24 | 8e6e55fe43bc3ed64f01fec4ed07c027b29f96a6 | /man/make_report_copy_url.Rd | 8de7b5dfbeb609121417690cb0c8435400676c82 | [
"MIT"
] | permissive | carlganz/salesforcer | a3ec51c556b79b4734b5c8d844f000c2573fadbc | 2078627bc988e5d58f90d16bf42c603507ab16db | refs/heads/main | 2023-04-14T23:50:26.698773 | 2021-04-27T15:44:55 | 2021-04-27T15:44:55 | 362,164,928 | 1 | 0 | NOASSERTION | 2021-04-27T15:38:47 | 2021-04-27T15:38:46 | null | UTF-8 | R | false | true | 381 | rd | make_report_copy_url.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/endpoints-analytics-report.R
\name{make_report_copy_url}
\alias{make_report_copy_url}
\title{Report Copy URL generator}
\usage{
make_report_copy_url(report_id)
}
\description{
Report Copy URL generator
}
\note{
This function is meant to be us... |
54a010df2f23786dd528d32329aab7d19ac21b9e | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/RFishBC/examples/backCalc.Rd.R | bb99dd17e1d2c6033bda51df5ecbdcdf2669f3e8 | [] | 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 | 178 | r | backCalc.Rd.R | library(RFishBC)
### Name: backCalc
### Title: Back-calculate length at previous ages from standard data
### format.
### Aliases: backCalc
### ** Examples
## None yet.
|
fb927219bafb52e455fec86c93e8375f02b4ad2e | 32670124e173dc6a71c7b120567f0ea5b5afe8f5 | /plot4.R | 53ea8890cc28415410792a5d0f08ebecfd57a1ff | [] | no_license | evashah/ExData_Plotting1 | abf5b4ea09446628e68f7655cb7ef830a9b103c5 | 2b9724c0618c575f6d89d1a0bb28d9c7d23892ac | refs/heads/master | 2021-01-12T21:09:35.883936 | 2016-03-21T05:49:21 | 2016-03-21T05:49:21 | 54,358,267 | 0 | 0 | null | 2016-03-21T03:51:06 | 2016-03-21T03:51:06 | null | UTF-8 | R | false | false | 1,688 | r | plot4.R | # Exploratory Data Analysis
# Coursera
# John Hopkins University
# Week 1 - Assignment for Peer Review - Plot 4
#read data from text file
url <- "household_power_consumption.txt"
Data <- read.table(url, header=TRUE, sep=";", stringsAsFactors=FALSE, dec=".")
# subset data based on date
subsetData <- Data[D... |
9121429c99ee8e0990480b8e8eef582424260aa8 | ec5f2581317b76209dc8e26ebe839f39b578f371 | /Practical_ML_Proj.R | 62fea85214b1938d7c0466a1acfef94d421aeb4d | [] | no_license | mnicho03/Practical-Machine-Learning_Course-Project | 22c6a626706f67f1b2b619bb89c0f013dbd65986 | 2a507ff22370e34b85ddfef8b3e72cb26de6cad5 | refs/heads/master | 2021-04-12T09:56:30.627020 | 2018-03-24T01:03:53 | 2018-03-24T01:03:53 | 126,552,311 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,180 | r | Practical_ML_Proj.R |
#set working directory
setwd("S:/Documents/R")
#load R packages
library(data.table) # for quick file reading
library(caret) # for model building - ideal for classification & regression problems
library(randomForest) # for efficient random forest model building
set.seed(16) # for reproducibility
#download... |
d0a99b3939e5cee558b936eea1117a6a2fa4b824 | 508b8a9315e2cf98b417f68b5aa30ad2216e21c4 | /plot4.R | 271514d2571181b9e30cc464aefa63958d6f3c7a | [] | no_license | 5tos/ExData_Plotting1 | baf94f108d654c450e8c8bdef49f6d97eb3838a9 | e63739f0d618a9cb608797ee9f5ab7c87ddcc78e | refs/heads/master | 2021-01-21T07:15:09.489056 | 2015-06-07T21:39:55 | 2015-06-07T21:39:55 | 36,961,078 | 0 | 0 | null | 2015-06-06T00:00:24 | 2015-06-06T00:00:23 | null | UTF-8 | R | false | false | 1,210 | r | plot4.R | plot4 <- function() {
# Exploratory Data Analysis - Course Project 1
# Note: The data file must be in the same folder as this R file
# Read in the required data for the two days 1/2/2007 and 2/2/2007
hpc<-subset(read.csv("household_power_consumption.txt", header = TRUE, sep = ";", na.string=c("?")), Date=="1/2/2007"... |
1e6c2d2bfc7628ef75a5eef6a6e0b67468a217ae | 7eb00eafde0a8cda77c7aba94762e5e7263ee877 | /man/single_cluster_df.Rd | a9a7f26a3aed5a23fe03054c2b7516f4e693fe54 | [] | no_license | caseywdunn/ms_treeinform | 997e454d0854e76ae8df1cc74fe6fa9cff055179 | 75290804c14fd811725b8ce5cfae0d60c9731675 | refs/heads/master | 2021-05-23T03:19:15.428111 | 2020-07-06T20:46:03 | 2020-07-06T20:46:03 | 81,823,603 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,170 | rd | single_cluster_df.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/single_cluster_df.R
\name{single_cluster_df}
\alias{single_cluster_df}
\title{Creates a single data frame from a list of cluster size distribution data frames
with Method column indicating method (examples: Trinity, Corset, treeinform) and
ID... |
c79ff2703b8196b7a51607f99abfd98e66ebfa51 | 3e6b792216769241a0171327e33f2df59d481215 | /LOF-GOF_trainer.R | 2049671eb2dd4aeedca31a0fddb73be550a6bc09 | [] | no_license | HanadiBaeissa/Identification-LOF-and-GOF | 8689e6ec95fe1f7a42f0d52bf74d293561f373aa | aa3a9ad311091bcc59a360e6003f10e79ed4d14b | refs/heads/master | 2021-09-10T17:54:52.427460 | 2018-03-30T14:40:18 | 2018-03-30T14:40:18 | 103,120,776 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,142 | r | LOF-GOF_trainer.R | set.seed(12345)
library(e1071)
args = commandArgs(trailingOnly=TRUE)
#data <- read.csv("RF_OGvsTS.csv",header=TRUE,row.names = 1) # Read Data
data <- read.csv(args[1],header=TRUE,row.names = 1) # Read Data
print("data loaded sucessfully !")
colnames(data)[1] <- "Class" # assign response class
### separate data int... |
b59a837a6b5e6352759317d501ee995c19dbcc1c | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/dr/vignettes/overview.R | 4e525074b02e1907bdcf3e43e5b952675c9f5f7d | [] | 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,586 | r | overview.R | ### R code from vignette source 'overview.Rnw'
###################################################
### code chunk number 1: a1
###################################################
library(dr)
opt <- options(width=66)
###################################################
### code chunk number 2: a11
####################... |
3abd7b71bf18de10345b6244229f75189f2dd47d | d5cce2c35ee95e28934d4aff345b6f57251df5a4 | /Rscripts/points pre post covid.R | b4fedc20774993fda79ae1b2180153550e49f4fb | [] | no_license | Alantjee/Thesis-Home-Advantage | 80cb140336084fc4c97006ebe616926dc61a2246 | 17dc41fa74fd62badef1c26d9b451acb0e8f16ea | refs/heads/main | 2023-05-07T16:23:18.579866 | 2021-06-04T06:08:42 | 2021-06-04T06:08:42 | 354,041,833 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,761 | r | points pre post covid.R | points_home_covid <- mean(covid_data$home_points)
points_home_noncovid <- mean(non_covid_data$home_points)
points_away_covid <- mean(covid_data$away_points)
points_away_noncovid <- mean(non_covid_data$away_points)
sd_home_covid <- sd(covid_data$home_points)
sd_away_covid <- sd(covid_data$away_points)
sd_home_noncovid... |
d8e1fba45dd9df3af5d6f8af3754fb511a79d7ce | 3cc888d60aa5e76ccee48be08d1e9849792bf503 | /man/SL.ksvm.Rd | d96fb7a9c49c02cb63ae101e818597ee1be7d1e1 | [] | no_license | ecpolley/SuperLearner | 4584cdbe7dccf945689958d20d0ea779a826bbda | 801aa6039460648d4dfd87c1fad77e5f29391cb7 | refs/heads/master | 2023-07-24T21:52:33.665047 | 2023-07-18T13:56:30 | 2023-07-18T13:56:30 | 1,622,048 | 245 | 82 | null | 2019-08-06T14:25:24 | 2011-04-16T05:18:51 | R | UTF-8 | R | false | true | 4,198 | rd | SL.ksvm.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SL.ksvm.R
\encoding{utf-8}
\name{SL.ksvm}
\alias{SL.ksvm}
\title{Wrapper for Kernlab's SVM algorithm}
\usage{
SL.ksvm(Y, X, newX, family, type = NULL, kernel = "rbfdot",
kpar = "automatic", scaled = T, C = 1, nu = 0.2, epsilon = 0.1,
cros... |
ed40fafed5432ab36491acd63179a3ea6f5a541d | ade83b195746e2add5234f4d488ec449b6ca6e82 | /man/fars_summarize_years.Rd | 27d642d2b2972c59ffda19568bad7645ea78693d | [] | no_license | Mridul0001/FARSFunctions | ded6100cfafa8aa04b956dde629c3da104c2116c | 61b3455a6152b330a5d129617da8262af50e45b5 | refs/heads/master | 2022-10-23T23:53:05.765012 | 2020-06-11T03:56:38 | 2020-06-11T03:56:38 | 271,444,711 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 761 | rd | fars_summarize_years.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fars_functions.R
\name{fars_summarize_years}
\alias{fars_summarize_years}
\title{Count number of motor vehicle accidents by year for selected years}
\usage{
fars_summarize_years(years)
}
\arguments{
\item{years}{Numeric vector of years to sum... |
318e5c0e21c59e059fdf44383984f0a0f852fb00 | 41a4e292e9bb4218ea7ccb577a034081ffec7fc7 | /man/where.Rd | e07f5c344d47764d52dc60a38c4ed04f67367538 | [] | no_license | ahorawzy/usefulr | 6b5272d755a4fc7209f30d2c008cb145168104ad | 4c1cf747ec871d549503b130ce2ebbdcbd56b086 | refs/heads/master | 2021-07-02T16:52:19.179497 | 2019-04-09T02:01:38 | 2019-04-09T02:01:38 | 143,407,393 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 406 | rd | where.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/functional.R
\name{where}
\alias{where}
\title{Logical functional: where}
\usage{
where(f, x)
}
\arguments{
\item{f}{A function returns logical value.}
\item{x}{The list.}
}
\description{
Return a logical vector to judge every elements in li... |
2d7957fdb681538252fa21ff96c76ff93a47beb7 | ed6b8a6f4a8a7dcf38d3632451ca01419fd7bebf | /R/stringtools.R | 277cf746153a8eb7fe32412aa034a5367dad081a | [] | no_license | skranz/stringtools | 8ab0ee094e3edf837a5b95cb81ba6f5b084f6505 | 8a37e75f057c7af3a0b115bd1e82ae66c91a0579 | refs/heads/master | 2022-05-22T02:36:16.012223 | 2022-05-04T20:28:27 | 2022-05-04T20:28:27 | 12,137,116 | 1 | 4 | null | null | null | null | UTF-8 | R | false | false | 45,164 | r | stringtools.R | # A package with functions for string and text modifications to complement stringr
#
# pos can be a
# vector: assuming an element of size 1 that specifies a single char at that positions
# n*2 matrix: first column left position, right column right position
# list of vectors or matrices, specifying different pos... |
c037ca5f60b05b4e719112e4b61aeecac0f0e128 | 399d81b985f21f7e6824df37c1669165ddecf3bf | /cachematrix.R | 82a4e379b8c343f767846238c1744354fb2e6121 | [] | no_license | boolean10/ProgrammingAssignment2 | 47620a4ce207759d58635c4b939babc3cf1ae2c5 | 271ed52ccb5ab64e11c546913334a726897a078f | refs/heads/master | 2021-01-20T23:46:00.263665 | 2014-08-24T21:58:31 | 2014-08-24T21:58:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 800 | r | cachematrix.R | ## S. Jackson
## R Programming Assignment 2
##
## Function takes a square matrix and creates a matrix object to cache it's inverse
makeCacheMatrix <- function(x = matrix()) {
inv <- NULL
set <- function(y) {
x <<- y
inv <<- NULL
}
get <- function() x
setInverse <- function(im) inv <... |
36ebec4152fd70124b91dd8fffb4714069b253b3 | 9020f49b910697b007774eef4a4ccbf90a82e4c6 | /R/ladder-fuel-metrics_density_tls_als_uav_zeb.R | ffe605e8c68156c9ab0a66ee0635d7fd3ad350de | [] | no_license | seanreilly66/tls_data_processing | 307b1f28c07eef520a863c3c3e059ee7d7ed78a1 | 3a5799ceb1af52e0378e7f3122f64d06e09568a8 | refs/heads/main | 2023-02-27T23:34:47.264549 | 2021-02-09T02:35:11 | 2021-02-09T02:35:11 | 310,700,481 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,698 | r | ladder-fuel-metrics_density_tls_als_uav_zeb.R | # ==============================================================================
#
# TLS, UAV, ALS, ZEB ladder fuel calculation using density
#
# ==============================================================================
#
# Author: Sean Reilly, sean.reilly66@gmail.com
#
# Created: 6 Dec 2020
# Last commit: 6 Dec ... |
8a19be168f076417b6c14b9078f9b85cc8c88b4b | 29585dff702209dd446c0ab52ceea046c58e384e | /PoweR/R/statcompute.R | a443db941e975c81bf3c99980a558fdcb2ca0e7d | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,884 | r | statcompute.R | statcompute <- function(stat.index,data,levels=c(0.05,0.1),critvalL=NULL,critvalR=NULL,alter=0,stat.pars=NULL) {
if(getRversion() < "3.1.0") dontCheck <- identity
tmp <- names(getDLLRegisteredRoutines("PoweR")[[".C"]])
ind.stats <- grep("stat",tmp)
nb.stats <- length(ind.stats)
if (!(stat.index %i... |
8a7f846f5170587bb33607d52d37ebfc81cff5cc | e6549edacf38351730ca91ead2456d50ba20f1cd | /man/TOthreshda2.rd | c336eec857e923e9084df7f1dac606a92874308c | [] | no_license | cran/wavethresh | 96f92574f59f62f77b9b5fe5c318e27011de585c | 433dac8d2b5f3bf806530a29b5fe022fd2fe9087 | refs/heads/master | 2022-11-29T22:37:39.292801 | 2022-11-16T14:20:02 | 2022-11-16T14:20:02 | 17,700,852 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,847 | rd | TOthreshda2.rd | \name{TOthreshda2}
\alias{TOthreshda2}
\title{Data analytic wavelet thresholding routine}
\usage{
TOthreshda2(ywd, alpha = 0.05, verbose = FALSE, return.threshold = FALSE)
}
\arguments{
\item{ywd}{The \code{\link{wd.object}} that you wish to threshold.}
\item{alpha}{The smoothing parameter which is a p-value }
\item{ve... |
46decdef5cccb7c5374282b8291ea88d2cd72a8c | 3a3e3e050d6deb8544ff2838ab4b698a492d2eb7 | /R/correlated_regions_enrichedheatmap.R | 1b27cd3a924d7e6be291ff4c188695440fae6aff | [] | no_license | jokergoo/epik | f9eb86c38eab46913a2787296fe5e023caf70f2b | 16ae793be02554ddda89401a888327dce87c5a4a | refs/heads/master | 2021-01-12T05:25:21.598897 | 2019-09-27T08:04:03 | 2019-09-27T08:04:03 | 77,924,435 | 0 | 3 | null | null | null | null | UTF-8 | R | false | false | 35,188 | r | correlated_regions_enrichedheatmap.R | normalize_epigenomic_signals = function(cr, target, marks = NULL, expr = NULL, include_correlation_matrix = TRUE,
extend = 5000, target_ratio = 0.1) {
cr_param = metadata(cr)$cr_param
sample_id = cr_param$sample_id
subgroup = cr_param$subgroup
subgroup_level = unique(subgroup)
n_subgroup = length(subgroup_level)... |
855af72801e112e928b3900840e971d3f2f54d7e | 3e93dfa5e4efe24cd24fafa1363e7e68881d3e1a | /1920_ctmm.R | 3041ffc07a0a3dc28b5dcfbbb230ce7379a6f365 | [] | no_license | kelseyefisher/monarchoccurrence | 368e031c220593a8a840757fcadedacb6564624a | dfa03368f7f980e70f1e97c2a1e08b1c851e3f92 | refs/heads/main | 2023-05-08T19:34:22.746697 | 2021-06-01T19:59:29 | 2021-06-01T19:59:29 | 331,306,480 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,150 | r | 1920_ctmm.R | #home laptop
#setwd("C:/Users/kelse/Box Sync/Publications/19&20 Habitat Utilization/Data Analysis")
#work
setwd("C:/Users/kefisher/Box/Publications/19&20 Habitat Utilization/Data Analysis")
ctmm19<-read.csv("19_itworked_forctmm.csv", header=TRUE)
ctmm20<-read.csv("20_itworked_forctmm.csv", header=TRUE)
releas... |
a770fe613d043781c334c0ad195773f0f5be75dd | d4ffff9664af4a1b00d4cf80797f73579b5f00b0 | /2chan/pfo_scripts/HCT116/full_compile_plots.R | 290025a3742109a5829aa1bbf131c9d56c85ef4f | [] | no_license | ezemiron/Chain | 6ef15e35c299ba4c3995c54047769944e3b51a0f | 743bcedd302e2476e1b93611fd7b40afe98c0649 | refs/heads/master | 2021-03-27T20:41:34.269451 | 2019-05-01T13:30:45 | 2019-05-01T13:30:45 | 115,116,869 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,834 | r | full_compile_plots.R | library(ggplot2)
compile <- read.csv("/home/eze/Documents/papers/chrom_marks/results/distribution/full-compiled_June6.csv")
compile$dataset <- paste0(compile$cell, compile$condition)
print(compile$dataset)
compile <- compile[-grep("mClover_pos", compile$marker), ]
compile$marker_f <- factor(compile$marker, levels=c("S... |
a2f2b039f098533ced116615d230614f80c487c3 | 96dc2a1cca9a616b619511588f0589e08e79b541 | /R/methods.R | ce7dfb9a3f8b6b40b8a213573fdbf83b23d3c4e6 | [] | no_license | amnahsiddiqa/ropls | 03959d01ffb2c9e9d4be876f933dc0127e619458 | 3b1912056b23ca4ac3640d1b14ab91c92e7e2b6e | refs/heads/master | 2021-09-19T18:30:38.990273 | 2018-06-25T18:44:51 | 2018-06-25T18:44:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 57,709 | r | methods.R | #' @rdname opls
#' @export
setMethod("opls", signature(x = "ExpressionSet"),
function(x, y = NULL, ...) {
datMN <- t(exprs(x))
if(is.null(y)) {
opl <- opls(datMN, ...)
} else {
if(!is.character(y)) {
... |
ce44f8821a36415483cad1285fd344f8354bb77a | 1803c09436d9627552df7a58079399715501272d | /MINTPlugin.R | cdd56cc8cb25d20d35ff37c6959a94ab316f472c | [
"MIT"
] | permissive | movingpictures83/MINT | 466e39a277fe622b8400841ebf307cb5e0cd832a | ac990e8a1eff820018a39c56f351e3cba9d31b11 | refs/heads/master | 2022-11-16T12:12:10.819876 | 2020-07-05T22:23:16 | 2020-07-05T22:23:16 | 274,972,878 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,384 | r | MINTPlugin.R | ## ----global_options, include=FALSE---------------------------------------
library(knitr)
knitr::opts_chunk$set(dpi = 100, echo= TRUE, warning=FALSE, message=FALSE, fig.align = 'center',
fig.show=TRUE, fig.keep = 'all', out.width = '50%')
## ----message = FALSE---------------------------------... |
5abbb11999b872228356e54ff5e57026fe4507d1 | 17fdd34b68df267b8262d532adddba733879b0b8 | /man/gr.genome.Rd | 773af55338be21be185f6d05719ed16f57b5c16a | [] | no_license | kevinmhadi/khtools | f0b57e0be0014084f2f194465ab4a924fe502268 | 85d64808f8decd71f30510ccd18f38986031be74 | refs/heads/master | 2023-07-19T21:50:22.341824 | 2023-07-19T01:46:03 | 2023-07-19T01:46:03 | 235,495,453 | 0 | 3 | null | null | null | null | UTF-8 | R | false | true | 530 | rd | gr.genome.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/package.R
\name{gr.genome}
\alias{gr.genome}
\title{create GRanges of full genome coordinates}
\usage{
gr.genome(si, onlystandard = TRUE, genome = NULL)
}
\value{
GRanges
}
\description{
Grabs *.chrom.sizes file from
environmental variable "D... |
200fdb955b982eaca160bc389b703cc77de6cf5d | 6af9ff655188ff73b08403baa47462cc754399f3 | /man/makeFits_initial.Rd | 4f5c3138ff20516e0e3c9626d73eb1072547aea3 | [] | no_license | cran/SCEM | 94571f83e77b97efd67d6d0f791544a0187d4568 | 17bf30bb05c2687636c6bd5b9bba56e8ac4fa446 | refs/heads/master | 2023-07-27T20:53:48.324107 | 2021-09-02T06:20:12 | 2021-09-02T06:20:12 | 393,422,843 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,742 | rd | makeFits_initial.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/makeFits_initial.R
\name{makeFits_initial}
\alias{makeFits_initial}
\title{Prepare results for cosine model fit with given initialization for two parameters.}
\usage{
makeFits_initial(paths, amplitude, intercept)
}
\arguments{
\item{paths}{A ... |
bc37b6769910e2a341945393c9276dcf4eb4c270 | 6874d2514172b9e809dccf1e4879e0edfaabb050 | /man/safe_is_online.Rd | 86bf3ac11bcf9ba1a9d2339555bbd65e7fda9ecf | [] | no_license | cran/sen2r | 27e59e874a36d30b02f319b1e77fcd66f54d3f2e | 3720d77a025fc9f8d9e04825910e830f35ffa61b | refs/heads/master | 2023-06-29T11:44:40.672296 | 2023-06-16T06:10:02 | 2023-06-16T06:10:02 | 216,648,730 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,143 | rd | safe_is_online.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/safe_is_online.R
\name{safe_is_online}
\alias{safe_is_online}
\title{Check if SAFE is available for download}
\usage{
safe_is_online(s2_prodlist = NULL, apihub = NA, verbose = TRUE)
}
\arguments{
\item{s2_prodlist}{Named character: l... |
233a3f7312b273093e6ec6732c8383516fc8d591 | 825ba952e08d095b4f23d819d2c1d0c9d7373656 | /functions.R | 0722dca5f40d95c0c27b5ed5dba8070e2126bd70 | [] | no_license | EdinZecevic/dataanalysis | 32d680390af21837b3bc5c322542241aaf3274e9 | 075c68b621595acb33087abe439eea75343e427a | refs/heads/master | 2020-08-23T02:17:29.296158 | 2020-01-25T00:36:28 | 2020-01-25T00:36:28 | 216,522,220 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 492 | r | functions.R | f<- function(x){
y<-1
g(x)
}
g<-function(x){
(x+y)/2
}
f(5)
mean(1:5) # result is 3 becouse it is 3
mean #how is implemented function mean
mean<- function(x) 2*x +5
mean(1:5)
rm(mean)#removing mean that we implemented
summary(1:10)
summary
d<- function(x){
min <- min(x)
max <- max(x)
mean <- mean(x)
sd ... |
34d319cf18cd3b7ea9c543fbf1cd05d0a4e5f0ca | c1c6db61047082a5c20767bf8c0d709184250482 | /003invar.R | cde4dfd4f4f76ab163673dd167e178bc919987f5 | [] | no_license | heelgueta/mag-socialid | 8d68a232ac843069883a963037ba5a970bedf67c | 157349ab9e9067f66949bd5cdbfefa4bab127bd7 | refs/heads/master | 2022-12-16T19:38:04.646608 | 2020-09-03T15:22:47 | 2020-09-03T15:22:47 | 267,233,372 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,861 | r | 003invar.R | ###multigroup cfas
###choose dataset?
df <- dfm5
df <- dfm7
df <- dfc5
df <- dfc7
#group cfa sex
fitconfig <- lavaan::cfa(mod2o, data=df,estimator="MLR", group="sex")
fitmetric <- lavaan::cfa(mod2o, data=df,estimator="MLR", group="sex", group.equal = c("loadings"))
fitscalar <- lavaan::cfa(mod2o, data=df,estimator="... |
97bc0a6724ea60ac8a82b62417bfdf62e6da0f3f | 29585dff702209dd446c0ab52ceea046c58e384e | /onemap/R/compare.R | 98a89d9736d413beb0fc1b788ae60c1db3b94a02 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,823 | r | compare.R | #######################################################################
# #
# Package: onemap #
# #
# File: compare.R ... |
0cfdcace69d05b76fd83b350f744609cf4f0a530 | ec3dc56b806ff77e94e31dd94860cdbe621f1547 | /cachematrix.R | bf4fa513226a8705cd4c485ca4aa3ce6ff1e8ace | [] | no_license | kchbaw/ProgrammingAssignment2 | 4e43f8243ff2a13664c26c9f05da8a7096ec21f2 | 634268742c9df8f3e88db22fe855d4d7e46785ff | refs/heads/master | 2020-09-02T11:23:29.480591 | 2019-11-03T18:58:39 | 2019-11-03T18:58:39 | 219,210,651 | 0 | 0 | null | 2019-11-02T20:34:48 | 2019-11-02T20:34:47 | null | UTF-8 | R | false | false | 3,280 | r | cachematrix.R | ## OVerall I used two functions very similar the cachemean function provided as an example. The first function, makeCacheMatrix, takes a matrix as an input and returns a list. This list has cached data saved to it.
## The 2nd funtion, cachesolve, takes input list in the format of the output of makeCacheMatrix. If t... |
e727fb2b317a477a62961675e6b2b89103aab52e | 669cb22798e081bcdd50308251b3dc14715a369d | /man/music-package.Rd | 72171f7a471c35f5e58a3f30ae47c919441fd395 | [] | no_license | cran/music | 1205fdddd3eea8e9c17bb6a33e359862bc269132 | 168954210763189e90a05b3ad35da07e3b7415c9 | refs/heads/master | 2022-07-21T21:17:15.856809 | 2022-07-10T17:30:02 | 2022-07-10T17:30:02 | 171,648,062 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 742 | rd | music-package.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/zzz.R
\docType{package}
\name{music-package}
\alias{music-package}
\title{\pkg{music}: Learn and use music theory}
\description{
The music package allows you to build, play, and visualize scales, chords, and chord progression.
For playback, \... |
3d8558233d16a51e6093c45c1b5996c8e0aa2fea | 6028f2b2cc7afb1cc2c5f22ee37ce96cc6f5af70 | /R_code_spatial2.r | 9670c16f1980444adad3bae8603f97562d05d098 | [] | no_license | serenasconci/ecologiadelpaesaggio | ec9070d604c2d855f1d5cb492f359fd3a46d5277 | 4bb451474355918be2f3a2a0c0bb3ae5b3fab10f | refs/heads/master | 2021-04-01T15:39:10.942090 | 2020-06-21T14:18:16 | 2020-06-21T14:18:16 | 248,197,276 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,084 | r | R_code_spatial2.r | ### R spatial
library(sp)
#dati da usare
data(meuse)
head(meuse)
coordinates(meuse)=~x+y
#COORDINATE DEL DATA SET
spplot(meuse,"zinc")
#spplot dei dati di zinco
#ESERCIZIO:spplot dati di rame
head(meuse)
spplot(meuse,"copper")
bubble(meuse,"zinc")
#LA FUNZIONE bubble() E' UN ALTRO MODO PER PLOTTARE I DATI
#CREA ... |
be1470880511af5d195993fbd695a27cb80aa87b | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/CUMP/examples/combGWAS.Rd.R | acff7499d5aa2d88b2cba0bc0d0ab3a77b49f823 | [] | 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 | 945 | r | combGWAS.Rd.R | library(CUMP)
### Name: combGWAS
### Title: Combining Univariate Association Test Results of Multiple
### Phenotypes for Detecting Pleiotropy
### Aliases: combGWAS
### ** Examples
##The following are two fake examples. Do NOT run.
##Please refer to example.pdf for details.
##no change of beta signs before combin... |
8338a3e5fecd7c61c165d5a642d26915e9f5ba5c | c6a9861ea469c1100a38f4ce58d0037512269db0 | /dlm.R | 4d4769944024f04bf17418aa1a56a52da95403aa | [] | no_license | derekgray/Depth-project | 1f472306e312f7bcfed2440a9d7b86992fbcd55b | 5361367c5c623707805ee94714661f1d258eb7c4 | refs/heads/master | 2020-05-16T23:23:37.324862 | 2013-02-08T00:07:05 | 2013-02-08T00:07:05 | 7,879,317 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 19,468 | r | dlm.R | #1 The random walk with noise
randomwalk <- function(x) dlmModPoly(1, dV = x[1], dW = x[2])
StructTS(response, "level") #level is W, epsilon is V
randomwalk.fit <- dlmMLE(response, parm = c(1, sd(response)),build = randomwalk)
mod <- randomwalk(randomwalk.fit$par)
unlist(randomwalk(randomwalk.fit$par)[c("V", "W")])
... |
e656e10f948d1680d9d12a55830c5fb180d4f843 | 29585dff702209dd446c0ab52ceea046c58e384e | /circular/R/mle.wrappednormal.R | eb8c08abc4dee952fd7dfe30b38f2389af1167b4 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,647 | r | mle.wrappednormal.R | #############################################################
# #
# mle.wrappednormal function #
# Author: Claudio Agostinelli #
# Email: claudio@unive.it #
# Date: ... |
b8a17b9e6131c5541bcc95c77001e34e07f485c3 | 5cfc866af872deb8c1aa1c21610717fff6fad03e | /R/plot.R | ef9488aec3296f9dbc15dbdbc32351b0738dd9af | [] | no_license | lichen-lab/powmic | 0ad2c6153a4b5b1804b7215aa91b0c9b99e4b9d9 | 69dac1470f1a6a22f8b4cadfbf637cb48015e505 | refs/heads/master | 2023-04-13T02:12:29.715643 | 2023-04-06T15:49:42 | 2023-04-06T15:49:42 | 216,932,529 | 5 | 4 | null | null | null | null | UTF-8 | R | false | false | 3,617 | r | plot.R | plotStrata<-function(assess.out,
figure.type=c('power','fdr','type1error','tp','fp','taxon'),
stratify.by=c('prevalence','abundance'),
is.errorbar=TRUE,is.legend=TRUE) {
nsim=dim(assess.out$TP)[2]
sum.out=summaryAssess(assess.out,assess.type='stra... |
090404fce02e67c172f7bc5e55dd0c41b19c893f | 95419f986006e519af08ac10ff397f8eccfd33f7 | /a2.R | 2083da040c0828ade761c176d0e1efde19555f99 | [] | no_license | MasonYue/R-studio | 123914883ba9e49d21b5e1e035835fa9d545b721 | 6dd4d5b40f4fccc101ceded9a6d3f84aafc47799 | refs/heads/master | 2020-04-06T06:05:07.141986 | 2016-12-17T21:43:06 | 2016-12-17T21:43:06 | 73,636,886 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,972 | r | a2.R | #### A1 ####
### Marriage Licenses ###
require(plyr)
wed <- read.csv("marriage.csv", head=T)
str(wed)
wed <- within(wed, {
Year <- factor(gsub("-.*", "", TIME_PERIOD))
Month <- factor(month.abb[as.numeric(gsub(".*-", "", TIME_PERIOD))], levels = month.abb)
})
wed.agg <- ddply(wed, .(Year, Month), summari... |
18fdac3013e034721b28f5b3065919f5e8d57a8d | 3a5e193354fff9dd67846fba9d63a80d1a7886a6 | /Assig3/rankall.R | 5358919981e8efe7d4dadb4f8cc37f2bfb26e873 | [
"MIT"
] | permissive | phaser/datasciencerepo | 4c2824311cbc666b56d93684fc56ad4232abbe9c | ce71bc15b53b114f03d2205d69248e98a3badd99 | refs/heads/master | 2020-06-06T06:01:26.733494 | 2016-08-09T14:42:47 | 2016-08-09T14:42:47 | 31,729,999 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,812 | r | rankall.R | source("rankhospital.R")
rankall <- function(disease, num = "best")
{
outcome <- read.csv("outcome-of-care-measures.csv", colClasses="character")
## check if disease valid
ds <- noquote(strsplit(disease, " "))
ds <- unlist(noquote(lapply(ds, capwords)))
ds <- paste0(ds, collapse=".")
nms <- na... |
2a81f51c31b17bceb282a54bce5ab08be62cab98 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/SpatioTemporal/examples/print.predictSTmodel.Rd.R | 993b9c4163f8515386a22d5ba93a951ca386037b | [] | 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 | 232 | r | print.predictSTmodel.Rd.R | library(SpatioTemporal)
### Name: print.predictSTmodel
### Title: Print details for 'predictSTmodel' object
### Aliases: print.predictSTmodel
### ** Examples
##load data
data(pred.mesa.model)
print(pred.mesa.model)
|
071899ca63ab383cd3eed6b682733fd947a0636a | 2863c81e7fe418f274962367f2564eb17d620f0b | /Week2_SimpleExponentialSmoothing_msVolumeData_2017-07-02 FULL CODE.R | 75c0a473836b98e2c1b1814f74226935500706fb | [] | no_license | brilliantFire/Time-Series-and-Forecasting-with-R | ca202fd3af852ae0abb2b1d5788a36b2486038a8 | 8a3d61561050b3f25f9e6cb5c375289c0222f6c4 | refs/heads/master | 2021-01-21T11:53:58.586286 | 2017-09-15T18:48:27 | 2017-09-15T18:48:27 | 95,321,122 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,857 | r | Week2_SimpleExponentialSmoothing_msVolumeData_2017-07-02 FULL CODE.R | ### ~*~*~*~*~*~* Rebecca Vislay Wade ~*~*~*~*~*~* ###
### ~*~*~*~*~*~* PREDICT 413: Time Series & Forecasting ~*~*~*~*~*~* ###
### ~*~*~*~*~*~* Summer 2017 | Section 57 | NU MSPA ~*~*~*~*~*~* ###
### ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* ###
### ~*~*~*~*~*~*~*~*~*~*... |
4a1ab711847d0d140da40638694b571157b6b460 | 0f1b9a4093205dcaf5d9432529ab2f2858bed6c3 | /bugLocalization/A_SOBER/SOBER_Main.R | 6e59a19f3cee0b6e6ee3a23e66aaad6e654847e6 | [] | no_license | zhuofubai/NUMFL | 9cea285bfca34939d779a20837f90bbd2cd4d415 | 13fb7167b34ce1427390f9f4907cf3c55bf3aad4 | refs/heads/master | 2016-09-06T10:37:46.994952 | 2014-11-01T03:38:32 | 2014-11-01T03:38:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 995 | r | SOBER_Main.R | rm(list = ls())
source('C:/Users/zhuofu/RProject/bugLocalization/A_SOBER/SOBER.R')
dir1<-"C:/Users/zhuofu/workspace/apacheCommonMath2.1/TestEigenDecomposition/Data";###oldData2
dir2<-"C:/Users/zhuofu/workspace/apacheCommonMath3.1.1/TestDSCompiler/Data";
dir3<-"C:/Users/zhuofu/workspace/apacheCommonMath3.1.1/TestBlockR... |
2f3aab61b41b486cafb713a35db405948481b3ca | 45d92ce0e14442795a47d307e58b79028d39082e | /plot1.R | 3fd80af5f1d9c57cadc81dfe1c6207a9478e134d | [] | no_license | dmontiel242/ExPDA_CP2 | 3887bb351298787cbe66f54794735a5d4cd570d5 | 6b686e10f84c79fc2c6a42c2a126ebfa182e0b9b | refs/heads/master | 2021-01-18T13:42:29.310547 | 2015-07-26T00:39:55 | 2015-07-26T00:39:55 | 39,701,957 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 529 | r | plot1.R | ## This first line will likely take a few seconds. Be patient!
library(dplyr)
library(reshape2)
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
#select only data for Baltimore City based on SCC value
meltNEI <- melt(NEI,id = c('fips','SCC','Pollutant','type','year'),measure.vars... |
ac28519cabbf1d24f3a55b70abbc66da216d738c | c5b75254602af556444e1eca4e25e17f9199f307 | /global.r | ec1e7f488ae5e62df6fd5ea49da1f046c7c89d21 | [] | no_license | mounicasampara/Student-Modelling | f8b2f7aadc9edddaa98c585705e4c916a1de538f | d6d86a66be6e291acfc23e7b286acb9ccd09751f | refs/heads/master | 2020-06-21T14:33:57.033361 | 2019-07-18T20:08:18 | 2019-07-18T20:08:18 | 197,481,726 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 21,394 | r | global.r | library(shiny)
library(RSQLite)
library(DT)
library(DBI)
library(dplyr)
library(dbplyr)
sqlitePath <- "d:/mydb1.db"
print(sqlitePath)
db <- dbConnect(SQLite(), sqlitePath)
print(db)
getData_mocktest2 <- function(id){
query <- sprintf("select question from mocktest2_test1 where ID= %s",id)
#print(que... |
7e1153b94d9e5eae709bfd4bee15c75e115e6dfa | 29585dff702209dd446c0ab52ceea046c58e384e | /ExplainPrediction/R/explain.R | 056bc25b2d80b82b1eec37a72df8798a35481e1c | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 29,648 | r | explain.R | # The code for generation of individual instance explanations and model explanations.
# Methods: EXPLAIN, IME
#
# Author: rmarko
###############################################################################
#explain<- function(object, instances, ...) UseMethod("explanation", object)
# return explanatio... |
95e47eba1d5bcf8cfb00a92d5fbfd087d52f7232 | 94014ad2e9085e73eb3b95e97120ecb30859f088 | /man/bin_scdata.Rd | 83e0bcc3250ca6e3a9954db0591bc1018b0fc6c2 | [] | no_license | aarzalluz/scfilters | e491e42580c78c187dbc007629656b5768617b58 | 6c200fb49309003f147879787d6cc423931e61ff | refs/heads/master | 2021-08-23T21:05:15.837834 | 2016-08-07T17:07:39 | 2016-08-07T17:07:39 | 60,845,930 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,973 | rd | bin_scdata.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/binning.R
\name{bin_scdata}
\alias{bin_scdata}
\title{Bin genes by mean expression.}
\usage{
bin_scdata(dataset, method = c("window_number", "window_size"), parameter)
}
\arguments{
\item{dataset}{A list, containing the top window generated b... |
56855c68e745700611bb16c2f9211323703c5c74 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/cba/examples/sdists.Rd.R | 4a53db58e03ae6909f24f109d025ed783f2e0e0f | [] | 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,265 | r | sdists.Rd.R | library(cba)
### Name: sdists
### Title: Sequence Distance Computation
### Aliases: sdists
### Keywords: cluster
### ** Examples
### numeric data
sdists(list(c(2,2,3),c(2,4,3))) # 2
sdists(list(c(2,2,3),c(2,4,3)),weight=c(1,1,0,1)) # 1
### character data
w <- matrix(-1,nrow=8,ncol=8) # weight/score matrix for
... |
a2d56a7d7886bee4565b8ba40ce666df16f90c16 | 4adf5f9ca9f2565c9ccf0354777d9cfd6f53e7b7 | /Regtrees.R | d34de4b1d09b776138d89ad86426a92c0f85963e | [] | no_license | arch456/Big-City-Health-Data | 04c3c3e3be162b9ac294dbe6de0ba46f8e91ddf2 | 46a18a9a90867b2d54a4c7bc1a9231e6253b2e8a | refs/heads/master | 2022-04-23T15:31:53.258196 | 2020-04-25T23:46:52 | 2020-04-25T23:46:52 | 258,897,296 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 25,622 | r | Regtrees.R | # Load the dataset and run summary()
health.data = read.csv("Big_Cities_Health_Data_Inventory.csv")
summary (health.data)
# ii) Data Pre-processing
# Extract the data for High School Students
require(dplyr)
drink.st <- health.data %>%
filter(Indicator == "Percent of High School Students Who Binge Drank")
... |
243cdd01c58a0dd603cbda96f49147fa42b98b55 | 253ef857dab883fe064bf5513095e6b266515298 | /utils/vocanoplot.and.pearson.correlation.R | 2abac61521bafef03f2b8a5ec5e15e340d9e72ed | [] | no_license | sunhuaiyu/snakeflow | 3343ecfd386dabed62f040455f13058019806150 | e6836b5c98740613ad1d851ee6199fde0b89f22e | refs/heads/master | 2023-08-23T23:53:52.894782 | 2021-10-28T17:48:13 | 2021-10-28T17:48:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,953 | r | vocanoplot.and.pearson.correlation.R | library(DESeq2)
library(pheatmap)
library(RColorBrewer)
library(ape)
setwd("./projects/SOX1_low_high/")
load("./temp/deseq2.dds.RData")
#rename
s1EGFPgroup = group
s1EGFPdds = dds
s1EGFPdf = df
s1EGFPntd = ntd
# load wt samples deseq2 results
load("~/projects/neural_patterning/temp/deseq2.dds.RData")
## extract low h... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.