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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9b3b993517558f506ea7c9a905013e8cde21e5cc | f70e4f30b846d990c5fb3ddca6ac71b7082eaa04 | /cybera/Intro_to_R_programming_script.R | 27c6b8d1bc778792b0f5f45e966790aead7cca49 | [] | no_license | barton-satchwill/titanic | 0f8ae38bcd9b572df7829bf1c5d16b43a1d8803b | 0ae908ba4a5aa6dd8eb95bb7049dff49e339de5b | refs/heads/master | 2016-08-11T22:10:50.297980 | 2016-03-20T23:55:59 | 2016-03-20T23:55:59 | 54,438,523 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 756 | r | Intro_to_R_programming_script.R | # Intro to R Script
# To be used line by line or in small collections to reduce typing time during webinar
library(plyr)
# Factor vector example
v <- c("New York", "Chicago", "Seattle", "San Jose", "Gary", "Seattle",
"Seattle", "San Jose", "New York", "New York", "New York")
v
v.factor <- as.factor(v) # This ... |
ff8493604ced52ef2fd0171efab81957ff3c98f0 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/hyper2/examples/mult_grid.Rd.R | 45f2e4877d166f8cea11f6e6536485f2fb998e01 | [] | 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 | 189 | r | mult_grid.Rd.R | library(hyper2)
### Name: mult_grid
### Title: Kronecker matrix functionality
### Aliases: mult_grid pair_grid
### ** Examples
pair_grid(diag(2),diag(3))
mult_grid(lapply(1:4,diag))
|
fa6da1669dc914d5487079615b6f5c8800abbc5c | 434584f79283272e674845545e63e09872c57122 | /man/ouludaily10.Rd | 505d06677ddd47411d4bd6f7742c10228b3d357f | [
"CC-BY-4.0",
"MIT"
] | permissive | ollinevalainen/fmir | 6c796068ca1d12abf319a41914d523254cbeec5f | 4270c064cdb8198e6f0b265ea22159d84a217cb6 | refs/heads/master | 2023-03-05T01:53:34.774497 | 2021-02-19T17:18:38 | 2021-02-19T17:18:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,079 | rd | ouludaily10.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{ouludaily10}
\alias{ouludaily10}
\title{Daily weather in Oulu, Finland, in 2010-2017}
\format{A data frame with 2922 rows and 8 variables:
\describe{
\item{place}{city name}
\item{location}{coordinates of ... |
3e3db0cca06924abb8acbc218801a18878ea0af3 | 42ec3b3289fed899f634e6fb1868d3fa3e585288 | /MM_Barstool_RScript.R | faedc8cbbb51647d9a33cdb4c3a0f46dbbb39443 | [] | no_license | momiller88/BANA_7025_001 | d67e70373c6c9ba5446f84c81d0f2632e2bdd1dd | 41c0a1671489a24509ef73d37ee94bc0bb9506f3 | refs/heads/master | 2020-08-31T09:34:21.336086 | 2019-12-04T04:31:32 | 2019-12-04T04:31:32 | 218,661,248 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,542 | r | MM_Barstool_RScript.R | library(tidyverse)
library(dplyr)
setwd("~/School papers/Graduate/Data Wrangling/BANA_7025_001")
# import datasets
barstool<- read.csv("pizza_barstool.csv", header = T, stringsAsFactors = FALSE)
datafiniti<- read.csv("pizza_datafiniti.csv", header = T, stringsAsFactors = FALSE)
jared<- read.csv("pizza_jared.csv", hea... |
6a71b53518cbacd6f5f913a79fe680dcd4a16e15 | 06cdfccf8d44f11742fec1162afdfe2421c22302 | /man/norm_minkowski.Rd | a547540bca3e1c7c6dcfd5d2fe8a0e690b51bf8c | [
"MIT"
] | permissive | lgaborini/rdirdirgamma | 06feabefb12a42d0496818ecc9a0f70f7ccc1c5c | f3087f0a81c9e4b08ff56efcc260873eaa16232d | refs/heads/master | 2023-04-18T00:18:29.380512 | 2021-03-05T18:06:26 | 2021-03-05T18:06:26 | 290,997,800 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 581 | rd | norm_minkowski.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{norm_minkowski}
\alias{norm_minkowski}
\title{Compute the Minkowski norm of a vector}
\usage{
norm_minkowski(v, p = 2)
}
\arguments{
\item{v}{a vector}
\item{p}{exponent of the Minkowski norm (from 1 to Inf)}
}
\value{
a ... |
633571f52558f56cd2f4ba10374ee4566a7d3b1f | a802e08368280ccf5fbf07c764f1b30d7533a971 | /Use_Cases/VPS_Popcorn_Production/Kubernetes/src/configurations/requirements.R | 977ff244e6f54e1df9ccc2f5894833040f64b317 | [
"Apache-2.0"
] | permissive | janstrohschein/KOARCH | d86850d1b5e2fbd13401d93023cde783e14fb158 | 8eaa4a71cd1a33475f7b1618d075037d1446a7e1 | refs/heads/master | 2023-07-25T08:21:06.879591 | 2021-09-17T11:55:03 | 2021-09-17T11:55:03 | 229,251,272 | 4 | 8 | Apache-2.0 | 2023-07-06T21:40:07 | 2019-12-20T11:18:52 | C# | UTF-8 | R | false | false | 525 | r | requirements.R | install.packages("devtools", dependecies=TRUE)
library(devtools)
install_version("CEGO", version = "2.4.0", repos = "http://cran.us.r-project.org")
install_version("data.table", version = "1.13.0", repos = "http://cran.us.r-project.org")
install_version("nloptr", version = "1.2.2.0", repos = "http://cran.us.r-project.o... |
f6dac801895da580e7fe2116f36e9d98394bda6a | 6b4b561e78f6bf5d94b95c445d671facf1434e02 | /man/GE_enumerate_inputs.Rd | b074c136e2e5eecfe75dbd80147c99e43cf7c8c9 | [] | no_license | cran/GEint | 11f4ae8466e2add11832152de6d666eeba808803 | 78dca7ea284ccb1344d5a08d7a8130deb7c841e7 | refs/heads/master | 2022-05-30T01:12:06.005682 | 2022-05-18T06:20:02 | 2022-05-18T06:20:02 | 69,889,213 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 457 | rd | GE_enumerate_inputs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/GE_enumerate_inputs.R
\name{GE_enumerate_inputs}
\alias{GE_enumerate_inputs}
\title{GE_enumerate_inputs.R}
\usage{
GE_enumerate_inputs()
}
\value{
Nothing
}
\description{
Call this function to display the necessary inputs for GE_bias_set. For... |
d56c3bed681d47a668c599333616f37865052d0c | 12cc761534228dd286b39a00368c084ff68c4009 | /DSS4/Proj2/plot1.R | 31efd10ceba0829cf88ccf79f8c7a5d0ac317b1e | [] | no_license | DragonflyStats/DSS | eb87d6ee8bff870633971d1be6882ca5c5184417 | 16186b3618b7d550b6b73d59208330f854dab3e3 | refs/heads/master | 2023-04-14T08:52:33.443675 | 2023-04-13T07:58:05 | 2023-04-13T07:58:05 | 21,777,873 | 7 | 21 | null | null | null | null | UTF-8 | R | false | false | 334 | r | plot1.R | NEI <- readRDS("summarySCC_PM25.rds")
x <- aggregate(NEI$Emissions,by=list(Category=NEI$year),FUN=sum)
colnames(x)<-c("year","Emissions")
png("plot1.png",width=480,height=480)
plot(x$year,x$Emissions,
type="o",col=c("blue"),
xlab="year",ylab="Emissions",
main="Emission of PM(2.5) per year of all source... |
db1f32d4f39b3f834b2faa712abe8aadcbd89d99 | e6c169e9a4f564dfcba7cc32f0e72d04033f81b0 | /R/data.R | 5e79bca42315273a7417edb36d40d8ca3bc4936f | [] | no_license | yoojeonglee/polnet | 6943f4d42a60e9016008f70899275040165368e5 | 780132fdc2779d003d2e45cfd2dc46cad52cf9f5 | refs/heads/master | 2020-04-16T21:56:37.183780 | 2018-07-24T22:03:23 | 2018-07-24T22:03:23 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 310 | r | data.R | #' 115th House of Representatives Voting Data
#'
#' A dataset containing the voting records of House of Representative
#' members of the 115th Congress
#'
#' @format A data frame with 376 rows and 672 variables:
#' \describe{
#' \item{vote_X}{Vote on the X'th bill (1=yay, 0=nay)}
#' ...
#' }
"house-data"
|
f23f673285453333883e5212c1d4acfaa1004e3e | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/CoRpower/examples/plotRRgradVE.Rd.R | a9135ef18d514b25bfb39769733e5aa292651b58 | [] | 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,896 | r | plotRRgradVE.Rd.R | library(CoRpower)
### Name: plotRRgradVE
### Title: Plotting of the Ratio of Relative Risks for Higher/Lower Latent
### Subgroups against Correlate of Risk Effect Size for Trichotomous
### Biomarkers
### Aliases: plotRRgradVE
### ** Examples
# Example scenario with trichotomous biomarker, where values of rho ar... |
d9b42ff5fe213db42d2eeac945ca602336564532 | c94b94a33de2211e21437db702f175bf778ebb4d | /R/utils.R | d96f0e96ffea1476b3f5cc2909f771f976e85a4e | [
"MIT"
] | permissive | kuzmenkov111/tagmeppr | 87a0a8cf2969e3d07f1c83e55247ef5c6c1a29a3 | 55a0bf961e08b57d43c7f3594d77a7c429d16ae8 | refs/heads/master | 2022-04-09T20:46:31.826681 | 2020-02-19T15:56:28 | 2020-02-19T15:56:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,353 | r | utils.R | #' tagMepprCol
#'
#' A pallette based on CYRUP (github.com/robinweide/CYRUP)
#'
#' @author Robin H. van der Weide, \email{r.vd.weide@nki.nl}
#' @param n The number of colours needed.
#' @export
tagMepprCol = function(n){
pal = c("#009bef", "#ff5c49", "#949494", "#fed500")
return(pal[n])
}
#' runIDgen
#'
#' Genera... |
c3105d47ad6efdd1a65b2cd78ee90323b280b3e3 | 8cb3a94ac203f7213c30ff4f254721c24ce70157 | /cachematrix.R | 4ee3baa8e7f58342eaf5e807022e4d643176f6ec | [] | no_license | jcastillor/ProgrammingAssignment2 | 91529a5957889b9253e5896ec0008abe9cd72c78 | 4cb2ae726c81656ae6de52d5e0b2038c18afa7d1 | refs/heads/master | 2022-07-05T03:08:04.064321 | 2020-05-19T15:06:00 | 2020-05-19T15:06:00 | 265,244,324 | 0 | 0 | null | 2020-05-19T12:42:48 | 2020-05-19T12:42:47 | null | UTF-8 | R | false | false | 904 | r | cachematrix.R | ## Week 3 R programming course peer graded Assignment
## Jose Castillo Rabazo
## These functions aim to cache a matrix and make the inverse in order to
## save computing power and make programs more efficients.
## makeCacheMatrix creates an R object that stores a matrix and its inverse
makeCacheMatrix <- function(x =... |
8a24a81819822f27f21c19d2b373f647ffe040f2 | 779215d6b0ac83368f9c71f7a4aff494d64a0835 | /ddcrp/Code/arthur/neal8.R | 497c6e9309d6c97cc41eda7aca32083fd8b2e563 | [] | no_license | luiarthur/byuMsProject | a257eccd12addca37b5a289ab47bb80f3fd1aecf | 0a3c101de8b311639dd60355ff62f562e8399bbe | refs/heads/master | 2021-01-19T08:32:20.541339 | 2015-03-31T16:14:12 | 2015-03-31T16:14:12 | 31,347,525 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,410 | r | neal8.R | # Progress:
pb <- function(i,n) { cat(paste0("\rProgress: ",round(i*1000/n)/10,"%")); if (i==n) cat("\n") } # arthur
library(foreach)
library(doMC)
registerDoMC(16)
y <- c(-1.48,-1.4,-1.16,-1.08,-1.02,.14,.51,.53,.78)
n <- length(y)
relabel <- function(x){
uniq <- unique(x)
y <- NULL
for (i in 1:length(uniq)... |
d4fd01951a6d2c059806dc02b75410e7c728a5b1 | c700718d694cf2317400174d3480837a55a5b371 | /JKleiberPkg/man/plotOutliers.Rd | f0a60090a3eba0da6184ca0986bfc9704c8493b6 | [] | no_license | jkleiber/MATH4753 | 51774e5e19617ffe152e04288d352579bd613c23 | fbd8052731732f9f287258bba12bc256c049a4ed | refs/heads/master | 2022-03-17T03:41:56.737223 | 2019-11-25T23:13:59 | 2019-11-25T23:13:59 | 209,825,951 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 578 | rd | plotOutliers.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/outliers.R
\name{plotOutliers}
\alias{plotOutliers}
\title{Outlier plot function}
\usage{
plotOutliers(x, title = "", col = c("Red", "Blue", "Black"))
}
\arguments{
\item{x}{The data to plot}
\item{col}{Color vector containing outlier color,... |
f1e3ec8fb9668bf2b4d79afc07b5e1e1dbe5d01f | f7a17a0c09546f0b5448921c270cf6dafa899d25 | /R-Programming-Assignment-3/rankall.R | d15313aafd36c75b526b5e36c7c24c948a93245a | [] | no_license | daswan1118/Coursera-R-Programming | 9a8016633fe7de3604b387af8a68ab3574271790 | 525e16e5527f8b873673892760ce39bdb28b0bbc | refs/heads/master | 2020-04-06T08:35:05.297253 | 2018-11-13T03:39:13 | 2018-11-13T03:39:13 | 157,308,979 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,617 | r | rankall.R | ##### Ranking hospitals in all state #####
## The function reads the outcome-of-care-measures.csv file and returns a 2-column data frame
## containing the hospital in each state that has the ranking specified in num
rankall <- function (condition,rank='best') {
library(dplyr)
# Read Data
options(warn=-1)... |
839661ec4003c596af2f78aca61bfc8414fcf06b | b61b198991f50d300ac17a2884e81fc8ab72875c | /pr.r | e42fb689dc87a924d4237cfc48f2253e040af14a | [] | no_license | Valensya/RLessons1 | e29957cdd9ca7970c644ba324baef0fab3af2a1d | 39731077b71f2a00bc6d45316ae6c4c0357346b0 | refs/heads/master | 2021-01-22T19:30:43.308710 | 2017-03-21T10:49:05 | 2017-03-21T10:49:05 | 85,203,623 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 76 | r | pr.r | iris$a1 <- iris$Specias=="setosa" <-0
iris$a1 <- iris$Specias=="setosa" <-1
|
8930fc11d6d4cb0dfb2de97494ec48d7c4b3a3e5 | becc0c34c00903dba35b9eaff62c6ade569901d2 | /visualisation/maps/xa_map/main.r | 49ca1d26b7fe16f315f4786b615066577e1c5e38 | [] | no_license | nicholasrios/football-analytics | 0f7a8a6ec0fc6f69c33a8c1a8f0d24e43eb1b695 | 8db50fff35d9711568855f23147dfaa9c9b603a6 | refs/heads/master | 2022-04-18T15:15:41.734452 | 2019-09-14T16:09:28 | 2019-09-14T16:09:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 939 | r | main.r | # xA map
library(dplyr)
library(rvest)
library(hrbrthemes)
library(magick)
library(viridis)
library(ggforce)
library(gtable)
library(gridExtra)
library(grid)
library(readr)
source(file="src/xa_map.r")
# Launcher
data_file <- "data/bernardo_silva_xa.csv"
text <- "Bernardo Silva passes from 2018-2019 Premier League s... |
bf010c6cd2ebf2ebb0c69a4e0832871fc362530a | ab564a9cc7755be703abff95701a0c1b0633bc7a | /plot2.R | e4d38c612ee8cb58a6528c5b75ebdab2b852d6a2 | [] | no_license | fcp018/ExData_Plotting1 | ee029712c2ae8e8c3446d6ed5212d388fcea1fcf | 14183ae4aa07789327177fab6a502b329ccdcbb2 | refs/heads/master | 2021-01-22T00:32:23.591591 | 2015-07-12T15:10:10 | 2015-07-12T15:10:10 | 38,949,949 | 0 | 0 | null | 2015-07-12T04:28:01 | 2015-07-12T04:28:00 | null | UTF-8 | R | false | false | 844 | r | plot2.R | #This script uses the subset data file created using the "load & subset data.R" script.
#If not already done so, please execute "load & subset data.R" script to
#create subset of main data file for this script.
# Check to see if subset data file is in current dir. If not, set correct dir.
if (!"Pwr_consump_subData.c... |
737db4eeb8424bdddf916c6292bff1c9c70b6dfe | f298bc9d1f2dcbd2b9b7ee5b86b46af9ba5da782 | /src/functions/walkR_functions.R | b220d9df77b691a5512ea1d033e63b77854d5fe1 | [] | no_license | lindsaywaldrop/dotwalkR | cb344228d2f4faa4dc79093a588aee25a9446c62 | 3b0756f8ec0b45bafe4dbc726cd149752bae4eb6 | refs/heads/master | 2023-06-21T22:45:57.229721 | 2021-07-19T23:15:12 | 2021-07-19T23:15:12 | 329,145,136 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,651 | r | walkR_functions.R | # DotWalkR functions
register.backend <- function(copl, windows = FALSE) {
co <- detectCores()
if (windows == TRUE) {
if (copl > co ) {
cluster <- makePSOCKcluster(co)
message("Cores requested exceed the number available, using max detected.")
} else {
cluster <- makePSOCKcluster(copl)
... |
28adb4ea604e09076882c4548afb89a629676e9d | 75ad61a5b05261bd434cf3027d2b5938ca5bc561 | /plot2.R | 4c06d06b94d49d70625293c16e2efbe8d415b189 | [] | no_license | Kshear/ExData_Plotting1 | 88f089dc8c9e76f0975379e31055fea19e603bdd | 5c11624c557677cb260f3729916e4cb018bc36b4 | refs/heads/master | 2022-11-25T10:45:06.207452 | 2020-08-04T16:22:11 | 2020-08-04T16:22:11 | 284,797,350 | 0 | 0 | null | 2020-08-03T20:12:16 | 2020-08-03T20:12:15 | null | UTF-8 | R | false | false | 1,210 | r | plot2.R | library(lubridate)
library(data.table)
library(dplyr)
##Reading in file
power<- read.table(file="household_power_consumption.txt", header=T, sep=";", stringsAsFactors=F, dec=".", na.strings="?")
## (creates issue with col classes) power<- read.table(file="household_power_consumption.txt", header=T, sep=";", dec=".", ... |
5147b159b40968ac4548c4857b48d115d12f21cb | 10784406e656ff1c16800e595e6033de4f71f9ff | /ui.R | eecc58e170b719a282d438b97a5da3afd43b53ef | [] | no_license | AlgoSkyNet/BasicLogInModule | 1748b0670f32b10d46d72f5d44783b5f147e681d | 4ba23cf8db4da92c40581f7b96a5f703706032ca | refs/heads/master | 2022-04-09T12:50:32.793925 | 2020-02-23T17:48:16 | 2020-02-23T17:48:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,211 | r | ui.R | # SHINY UI ####
# Aplicacion ####
dashboardPagePlus(
skin = "black",
title = "Basic LogIn",
# enable_preloader = TRUE,
sidebar_fullCollapse = T,
# TITULO --------------------
header = dashboardHeaderPlus(
title = "Basic LogIn",
userOutput("menu_user")
),
# BARRA LATERAL... |
30da1c2fea390663234853e66d3b86f90600af3c | 2d34708b03cdf802018f17d0ba150df6772b6897 | /googlecontentv2sandbox.auto/man/OrdersUpdateMerchantOrderIdRequest.Rd | fc994773af75f690dc1268968e88c06ac358c68c | [
"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 | 767 | rd | OrdersUpdateMerchantOrderIdRequest.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/content_objects.R
\name{OrdersUpdateMerchantOrderIdRequest}
\alias{OrdersUpdateMerchantOrderIdRequest}
\title{OrdersUpdateMerchantOrderIdRequest Object}
\usage{
OrdersUpdateMerchantOrderIdRequest(merchantOrderId = NULL,
operationId = NULL)
... |
6ff02f32ec9b8d289f969bd51cf3c3d1e7f523a9 | 27f615eae91f8548adb1e6ba8da8888417c3ef56 | /man/ggmanHighlightGroup.Rd | 74fab87871d829cbbf4599f723fdc3f389e89e81 | [] | no_license | drveera/ggman | 364a572c289799b066f1046e7af952e6cec74ff0 | b264cab4301c861cc033ca639fda8fd9bc694e10 | refs/heads/master | 2023-05-24T00:20:01.242213 | 2019-05-01T17:21:11 | 2019-05-01T17:21:11 | 75,216,178 | 24 | 13 | null | 2021-06-17T10:58:59 | 2016-11-30T18:43:06 | R | UTF-8 | R | false | true | 1,270 | rd | ggmanHighlightGroup.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ggmanHighlightGroup.R
\name{ggmanHighlightGroup}
\alias{ggmanHighlightGroup}
\title{Highlight groups of points in Manhattan plot}
\usage{
ggmanHighlightGroup(ggmanPlot, highlightDfm, snp = "snp", group = "group",
legend.title = "legend", le... |
928825f3e407528b4c7070bc528b7d1fd260bd76 | 89b48f1af10fe015001dd8b6adb92b75829f3cdc | /man/sceua.Rd | 978d6eded2000d620c88231edee3582514523ec2 | [] | no_license | cran/rtop | 561ccd2863299ec410d28abaa99adf0792635367 | df1ca98e050e57a4c3497d65fe96de3d98469a51 | refs/heads/master | 2023-04-06T23:24:15.866989 | 2023-03-31T17:10:02 | 2023-03-31T17:10:02 | 17,699,401 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 7,210 | rd | sceua.Rd | \name{sceua}
\alias{sceua}
\title{
Optimisation with the Shuffle Complex Evolution method}
\description{
Calibration function which searches a parameter set which is minimizing the value of an objective function
}
\usage{
sceua(OFUN, pars, lower, upper, maxn = 10000, kstop = 5, pcento = 0.01,
ngs = 5, npg ... |
ca554e3386fb17f98f268e43a74a5e1da5ea7cd3 | c06883a35a8d458f7e623f097a05e560024e59da | /R/RelativeWaterDeficit.R | 7d71c04804df1f64084e27173ba6914ad6b71f8f | [] | no_license | cran/pvldcurve | 5c00b7967d185564480d016af8e88fcda44f8ae0 | f4d98bb01b795ef3ebb842bc23edeb0c9b474bd1 | refs/heads/master | 2022-12-20T10:23:09.805027 | 2020-10-05T10:30:02 | 2020-10-05T10:30:02 | 301,814,798 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,940 | r | RelativeWaterDeficit.R | #' Relative Water Deficit (RWD)
#'
#' Calculates relative water deficit (\%)
#'
#' @param data data frame with columns of equal length containing at least columns with the fresh weight (g),
#' the dry weight (g) and the saturated fresh weight (g)
#' @param fresh.weight optional name of the column in data containi... |
4f56f60d3561d945de322633447170f04f10efac | 1dd83faf99068d13efbf35e34d91976b745b862b | /src/data_profiling/property_indicator_graphics.R | f16a0425a98b36b3944f3e1e58925f75f5b4dced | [] | no_license | mclaire19/dspg20broadbandERS | 6b5fc0c8676e34da5890ee0d822e5b01631e737a | 175b913e751056d9867540ce2208d8a408d60aef | refs/heads/master | 2022-12-06T01:10:36.113094 | 2020-08-07T14:20:58 | 2020-08-07T14:20:58 | 292,614,679 | 1 | 0 | null | 2020-09-03T15:52:48 | 2020-09-03T15:52:47 | null | UTF-8 | R | false | false | 4,264 | r | property_indicator_graphics.R | library(tidyverse)
ffx_original$HOUSING_TYPE <- as.factor(ffx_original$HOUSING_TYPE)
summary(ffx_original$HOUSING_TYPE)
ffx_original$HOUSING_TYPE <- recode(ffx_original$HOUSING_TYPE, 'High Rise' = 'Multiplex/Condo/Apartment')
ffx_original$HOUSING_TYPE <- recode(ffx_original$HOUSING_TYPE, 'Mid Rise' = 'Multiplex/Condo/... |
53a5755a2d9056a11a785b746fdc0ea805939278 | b8f60b0cc802d613ff252ebf5f2aec9ac005b3b7 | /search/mlevy.R | de712c5336105a38d9b06fc05ec8eada83286f42 | [] | no_license | dsidavis/ResearchProfiles | e66675406195ab552dd888e5db65ca1e003d8e2a | e04ea0d2c712993485a6e19b0d38a18b506d13eb | refs/heads/master | 2020-06-11T18:59:27.871947 | 2018-02-23T17:01:15 | 2018-02-23T17:01:15 | 38,620,699 | 1 | 2 | null | 2018-02-18T10:04:49 | 2015-07-06T13:29:13 | HTML | UTF-8 | R | false | false | 157 | r | mlevy.R |
hp = "http://www.michaellevy.name/research.html"
ll = getHTMLLinks(hp)
ll = getRelativeURL(ll, hp)
doiRX = "s00267"
links = grep(doiRX, ll, value = TRUE)
|
53b534688a2ef5defb8d8613584bb5d8b847a02d | d70884b04e80b474aa3cf5137e1758ae443ea330 | /incomezip.R | 05f22ee752e21692a9957ffcf20a232d2dcee5eb | [] | no_license | VictorTran808/Econ256-Project | a46a6f394cc29e50f645b92b96686a3e0b6cb070 | fdaad32b260afe09609eb856e58cdcab81bf2f66 | refs/heads/master | 2021-03-23T04:06:04.454059 | 2020-05-08T04:28:38 | 2020-05-08T04:28:38 | 247,421,165 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,083 | r | incomezip.R |
library(sf)
library(ggplot2)
library(tidyverse)
#SORTING/CLEANING
income <- read_csv("nhgis0008_ds239_20185_2018_zcta.csv") #2014-2018 estimates of median household income according to zipcode from IPUMS
income$ZIP <- as.character(income$ZCTA5A)
income$medinc <- income$AJZAE001
income <- select(income, "ZIP", "medin... |
dbc633b97cbdc4f4eac807ac52fe64a46d637319 | 42934b7ab611c7550084172dcf7b0db42f015d1e | /R/localBias.R | e6fe2cd7ab26820b85517918827827196a2478dd | [] | no_license | jskoien/intamapInteractive | 4671e1305cb9a32d09f04542c06a57cdcf9c4924 | 7d0e8d58c4a0d5108f548c1aab974723e79a1ea4 | refs/heads/master | 2021-01-17T18:04:41.270596 | 2018-02-28T10:25:08 | 2018-02-28T10:25:08 | 70,917,111 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,115 | r | localBias.R |
removeLocalBias = function(object,localBias,gid = "group", formulaString=value~1,regCode = "regCode") {
# if (is.list(localBias)) localBias = localBias$bias
depVar=as.character(formulaString[[2]])
for (i in 1:length(localBias)) {
lBias = localBias[[i]]$bias
rci = names(localBias)[i]
for (j in 1:dim(... |
34ffc1ec8ac7eb3011d8256cb43e108bded4a15c | 2dfc1715d53363b0c4572c5305d82b36f2d7cee3 | /man/pieplot-methods.Rd | eb64f0d2b3e80d2493fda91f4778ab08f51e55bf | [] | no_license | cran/haplotypes | 53833ab28b3e6b9995e21226efe93e2315065052 | d161571530d08d75de14ed2c153d95776099d54d | refs/heads/master | 2023-07-25T22:49:01.985321 | 2023-07-15T05:40:03 | 2023-07-15T06:35:14 | 34,604,271 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,012 | rd | pieplot-methods.Rd | \name{pieplot-methods}
\docType{methods}
\alias{pieplot}
\alias{pieplot-methods}
\alias{pieplot,Parsimnet,Haplotype-method}
\title{Plots pie charts on statistical parsimony network}
\description{
Plotting pie charts on the statistical parsimony network.
}
\usage{
\S4method{pieplot}{Parsimnet,Haplotype}(x,y,net=1,fact... |
6ebbdfeb894ad9d7cfc0d4c9cd854a5360ce5bd9 | 1348830c4ac089d25b841bbb87283937d6362769 | /MDS 534 - 2019 Summer/Unit 4 Assignment_2.R | 41b61433ece050901d3e69f138b1822e85392034 | [] | no_license | megancusey/DataScienceCoursework | 1a14938bc2070f21c64af44e92881e1ebe3e9c60 | 77b0799055e2d09f3fa98a318b52b96f27f5744c | refs/heads/master | 2020-08-26T22:43:12.674912 | 2020-06-15T02:49:39 | 2020-06-15T02:49:39 | 217,170,696 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,709 | r | Unit 4 Assignment_2.R | getwd()
library(arules)
library(arulesViz)
library(RColorBrewer)
## Define function
function_apriori <- function (file_name, minsup, minconf, unique_id_first_column) {
data <- read.csv(file_name)
if (unique_id_first_column == 1)
{
## remove first column
data <- data[ -1]
}
## Replace any mis... |
d37dd1b1c7ede40257b5f3e3d558d61dfb71ff8e | ac4fb1bef33a85bd1b79632485d7ff21c7e0b6e7 | /hpc58.R | cfe458304cdff7e3436d7ca3c3882a11b7ad4df1 | [] | no_license | samual-williams/Hyaena-density | 2bd627a6d721776023bffcc739906f9a7fd45b6e | 9ae0c82d8fce2ed87d5f3bacffda199892d27a53 | refs/heads/master | 2020-06-19T01:56:17.587557 | 2019-10-18T10:11:23 | 2019-10-18T10:11:23 | 196,524,657 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 230 | r | hpc58.R | library(secr)
load("inputs.RData")
# is magnitude of detection affected by reserve size
mOpeng07_HN <- secr.fit(cptr_hst, model=g0~ReserveSize, mask=maskOpen, detectfn=0, CL=FALSE)
saveRDS(mOpeng07_HN, file = "mOpeng07_HN.rds") |
cb28fb8430ab6cf87745df7e03fd40b4ed0628f4 | 3fa5d2b705a1078b0fe099ff15a41955a18e81b6 | /RScripts/siham/test6.R | d76fe9823e04a76bf389d0d2b65678920ef3dd0d | [] | no_license | CodesByMass/Rambam-Hospital_EDA | 4eb61b464877e1cd52599cc637c3bed356714254 | eaf19646ebcbd3fa5a7776fdd6da7263955692b1 | refs/heads/master | 2020-12-20T00:59:43.111711 | 2020-04-26T22:36:59 | 2020-04-26T22:36:59 | 235,907,005 | 0 | 0 | null | 2020-01-23T23:30:16 | 2020-01-23T23:30:08 | null | UTF-8 | R | false | false | 8,295 | r | test6.R | library(dbConnect)
library(ggplot2)
library(dplyr)
library(hrbrthemes)
con = dbConnect(MySQL(),dbname='hopital',user='root',password='Racheletmoi2',host='localhost')
###########################################################################################
rq=dbGetQuery(con,"SELECT COUNT(*),HOUR(v.entry_date) FROM vi... |
419a437f6f9918a4d58b1bcbf41806e02594c788 | 48518af498426c9ccfb1cde5b72c4c684d1cadf4 | /Openair/openair_plot_builder.r | 177eb9b3ea5ee850ab2b7ad611de6f1f90aa17cb | [] | no_license | agmeyer4/CO2_Eddy | a7393b48a2b28166bd011bc80b210c9098a00aaa | f8cd236539bac6dcffdd2564093c5b8b04be290d | refs/heads/master | 2022-12-22T13:01:56.215806 | 2022-12-13T17:45:22 | 2022-12-13T17:45:22 | 203,871,619 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,718 | r | openair_plot_builder.r | #library(reticulate)
#path_to_python <- "/uufs/chpc.utah.edu/common/home/u0890904/software/pkg/miniconda3/envs/CO2_Eddy/bin/python"
#use_python(path_to_python)
#sys = import("sys")
#test_package <- import("CO2_Dataset_Preparation")
#use_virtualenv("/uufs/chpc.utah.edu/common/home/u0890904/software/pkg/miniconda3/envs/C... |
70bc7af8a3ce88eab944629acd466dd286b74c7d | 8b26eae5081c31c1b70e0f8cfef30da01b567488 | /Assignment3.R | cb6346f9685d74bcb151e163aa6782e22f85204f | [] | no_license | aihiangng/ST3248-StatisticalAnalysis | 7fab323e9fa6b78c5beb7d2de130ef5cff1897e6 | e1553f3ce2286da10ecba33efc290cfd864fef12 | refs/heads/master | 2020-11-25T00:38:09.700654 | 2019-12-16T15:02:59 | 2019-12-16T15:02:59 | 228,412,032 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,344 | r | Assignment3.R | #Assignment 3
#q1)
library(ISLR)
set.seed(17) #set same as chapter 5
k = 10
#method
#get the remainder
#(total - remainder) % kvalue = number of observation in each fold
#for each remainder observation, randomly insert into a fold
#loop through polynomial and then each fold. Nested for loop
num_obs = nrow(Auto)
re... |
ddc57a87451407ef1897e64b60f97df56b7d1557 | 8f0b59d4c71bf8fca01870f1b171564c2573a7fb | /tests/testthat.R | b43f9b963c1cb76534291f2ae1a8457b2ee4bdbc | [] | no_license | felipe179971/USK | 2b17fa9717229b9f16fcc21940455d38253ab01a | f4ab721570b77281ee204c99d1ce7d14f772b47a | refs/heads/master | 2023-08-29T10:27:32.779953 | 2021-11-13T22:27:24 | 2021-11-13T22:27:24 | 369,890,387 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 73 | r | testthat.R | library(testthat)
#Carregando seu pacote
library(USK)
test_check("USK")
|
9b0c62c05e2f2ba56c58b74843da8e3bd7ffa1fd | 056de4134ef2e967846ae29883128d14dd5ac0a1 | /exploring.R | c57a3469b31f7c60c3d1c85acc59f67a2b10e2c2 | [] | no_license | j-desilva/sports-analysis-project | 6bb0977750a176ac458cd0f1aacc002721a8feb4 | 5b6d3fd164585d897d3f3b8e5708879b53d658e0 | refs/heads/main | 2023-04-16T20:29:06.011907 | 2021-05-09T00:35:18 | 2021-05-09T00:35:18 | 361,029,693 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,419 | r | exploring.R | # check for missing values
sum(is.na(joined))
# plot NRtg against W using a scatterplot
ggplot(data = joined, aes(x = NRtg, y = W)) +
geom_point()
# plot NRtg from worst to best using a bar graph
ggplot(data = joined, aes(x = reorder(Team, NRtg), y = NRtg)) +
geom_bar(stat = "identity", fill = "dodgerblue") +
t... |
de158b05e5afb920e1697659acd234fc14e004fc | 8cf72f7ea4604e1616501f68a27d0e1c82619002 | /man/barplot_server.Rd | 4588c8411a572fbb5a5014fac6af1503196774ea | [
"MIT"
] | permissive | Gibbsdavidl/iatlas.modules | 394801edc5f0c2aae861463b1fe5128204a2d704 | 42bc8d9d2789eea6229010a5159cd5d8ab390513 | refs/heads/master | 2023-02-27T00:16:49.504703 | 2021-01-31T20:27:54 | 2021-01-31T20:27:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,290 | rd | barplot_server.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/barplot_server.R
\name{barplot_server}
\alias{barplot_server}
\title{Barplot Server}
\usage{
barplot_server(
id,
plot_data_function,
feature_classes = shiny::reactive(NULL),
barplot_xlab = shiny::reactive(""),
barplot_ylab = shiny::... |
d24d99ecf5bc31e371ef67c6b4f336bc8afb5377 | e5f34fb38da6067679256a8cf3aceebceac58b9c | /makeCodebook.R | 5ba84fa07c37fe16ff94f6a5aa656513de15ae29 | [] | no_license | artitj/GCDProject | 4f21b57d9c1c5b969e5ca3f16d8afedbc6418b7e | b38dee67479007c60874f961c14d3355aaa1c838 | refs/heads/master | 2021-01-02T09:43:47.569988 | 2014-08-24T17:21:15 | 2014-08-24T17:21:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,557 | r | makeCodebook.R | # makeCodebook.R
# Creates a codebook
# NOTE: Assumes that this is run immediately after run_analysis.R to ensure that
# the variables exist in the workspace
# Read in the header Codebook markdown document (so I don't have to put
# everything in this script.)
sink('CodeBook.md')
# Got these two lines from
# http://s... |
449e146a4f7a7d320408e576b8e04071217aa2f6 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/auRoc/examples/auc.nonpara.kernel.Rd.R | ccb5dabbef29099d94c788c772e0130fc1320380 | [] | 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 | 693 | r | auc.nonpara.kernel.Rd.R | library(auRoc)
### Name: auc.nonpara.kernel
### Title: AUC by Kernel Methods
### Aliases: auc.nonpara.kernel
### Keywords: htest
### ** Examples
#Example 1
data(petBrainGlioma)
y <- subset(petBrainGlioma, grade==1, select="FDG", drop=TRUE)
x <- subset(petBrainGlioma, grade==2, select="FDG", drop=TRUE)
au... |
531cef17429f877ac81744ffe21ce01b57ff0cb3 | 64d290b9be9794104272362e2e8a368fceb5052c | /plot4.R | 6014d68014bac650de50719a71fdc301839fd818 | [] | no_license | meblesa/ExploratoryDataWk4 | 49c6a40626fff6c0c6b9db3ece3e336fe67a07f0 | 64f2d1d24c2e8d775473fe6d076d98ff874e8d2f | refs/heads/main | 2023-06-24T21:02:35.790441 | 2021-07-29T06:02:36 | 2021-07-29T06:02:36 | 390,198,994 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,099 | r | plot4.R | # Getting Data
# 1.Unzip file into project folder
filen<-"Data.zip"
fileURL<-"https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip"
download.file(fileURL, filen, method="curl")
unzip(filen)
install.packages("RDS")
library(RDS)
## This first line will likely take a few seconds. Be patient!
NEI <- readRDS("... |
06710cb883491154796037fcc615cf8883f4c397 | e9c07ff460f0d1c20e6a5a1789be2108c47a5ee6 | /plot1.R | 4111e84f8559186777b25fc6617ab67b67167b31 | [] | no_license | marcfinot/ExData_Plotting1 | 2753ec93bf867b6c483daf44b50409b355d75b6a | 0e7c2628053640fbdb447d2b730ff7e86d9540e2 | refs/heads/master | 2021-01-09T07:47:53.512532 | 2014-10-10T06:29:48 | 2014-10-10T06:29:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 684 | r | plot1.R | library(data.table)
filename <- "household_power_consumption.txt" ## file to read
dt <- read.table(filename,sep=";", header=TRUE, na.strings = "?")
## create a new column with the date/time stamp
dt$DateTime <- strptime(paste(dt$Date,dt$Time), format = "%d/%m/%Y %H:%M:%S")
dt$Date <- as.Date(dt$Date, format = "%d/%m/... |
82adf4dff2089965e2ba7496896b676bbcd74aa4 | 19a6c2cc5a32f71bdc10ae657361ca9b2aeef182 | /plot1.R | 32a68bd844005cfe6bb16ae24cb5b0bf9a337ff8 | [] | no_license | friedoutkombi/ExData_Plotting1 | f9f3c3907f0ab9b6451186174820ae752855d485 | 5753f27b1e6824eb3421880bb3dfb95d03c8785b | refs/heads/master | 2021-01-20T01:44:30.472710 | 2017-04-25T12:20:17 | 2017-04-25T12:20:17 | 89,322,999 | 1 | 0 | null | 2017-04-25T05:59:51 | 2017-04-25T05:59:51 | null | UTF-8 | R | false | false | 1,184 | r | plot1.R | #This R code will be for the creation of Plot 1 - Global Active Power.
#Basic steps are load in the data set.
#Analyse the data to get a feel for it.
#Cut down to the 2 day time period.
#Plot Global Active Power vs Frequency.
#Ensure labels, colours are good.
#Load in the data
df <- read.table("household_power_consum... |
b09cdbcef9e625bb043558e02d03bb44aa1a3126 | 0323b501e5edb696ac88a15e60d6a3bb9218222c | /man/LRC3_TotalListOfLRpairs.Rd | 9b1aa3fe20b993189b7b8e36f80829253f8cfd49 | [] | no_license | XiaojuanShen/LRC3 | a33ebe9faed00db34b1a9695bd138cb0e1547810 | c3ddc05abface17447f7bcd527965bf4bc4a6c7e | refs/heads/master | 2020-03-26T21:54:04.998724 | 2018-08-21T09:12:43 | 2018-08-21T09:12:43 | 140,725,467 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,706 | rd | LRC3_TotalListOfLRpairs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/LRC3_Alpha.R
\name{LRC3_TotalListOfLRpairs}
\alias{LRC3_TotalListOfLRpairs}
\title{Total list of ligand-receptor pairs.}
\usage{
LRC3_TotalListOfLRpairs(LRC3_list)
}
\arguments{
\item{LRC3_list}{the input data generated by function LRC3_INF.}... |
c9cab89c91ddcc0ee33cf1a9d480e059469d4226 | eac2ef9a7a0f0d3b8ba4833f8aa0a6a7bee15bf4 | /icu project/icu_r/icu_r/main.R | fa376ebefeda6cf295d17919f493fb9b6eb7781e | [] | no_license | yaozhengjie/ICU_SEARCH | 984d675a64075f0849cc567043432a27ce1386f8 | 15cbd4b4e5ef2b7f689ba642b5240260b8c54904 | refs/heads/master | 2020-02-26T17:27:20.796308 | 2016-10-24T05:21:53 | 2016-10-24T05:21:53 | 71,754,027 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,447 | r | main.R | library(Rcpp)
library(compiler)
cppFunction(
'int fib_cpp_0(int n){
if(n==1||n==2) return 1;
return(fib_cpp_0(n-1)+fib_cpp_0(n-2));
}'
)
patient.data = read.table("F:\\Downloads\\PATIENTS_DATA_TABLE.csv", header = TRUE ,sep = ",")
icustay.data = read.table("F:\\Downloads\\ICUSTAYS.csv", header = TRUE ,sep = ","... |
0aef56943dba31c1baa199bc39c13fb5007dedab | 8b49a8ab0b211b3f7be15acbedce3986484a3696 | /inst/unitTests/test_intersect.R | b4b60002cb3b98eccdd3b8263744ef67e55374ab | [] | no_license | lawremi/HelloRanges | 1740e78dc3d024413b8026ba544f27c2bd9418cd | d7e62515dce9e25d7e6c87f7b1741b32ea9c24c2 | refs/heads/master | 2022-11-07T08:03:05.027227 | 2022-10-25T02:26:37 | 2022-10-25T02:27:12 | 61,642,306 | 10 | 2 | null | null | null | null | UTF-8 | R | false | false | 6,335 | r | test_intersect.R | ### =========================================================================
### Tests for bedtools intersect command
### -------------------------------------------------------------------------
###
### Based on tests from bedtools (C) 2016 Aaron Quinlan et al.
###
test_intersect <- function() {
fixup <- functio... |
e3783901e10a4c1f577b235dc4b3aad8e5c18ba5 | f400e65fec959b0bf45cce6cbbf1fa4d73d69324 | /Datamining/xgboost_parameter.R | 78d186798368be6434c707e2ed1f95fe77bae4e2 | [] | no_license | miniii222/study_in_graduate | afd726226d01fa7dceeadaed421d0e2bb862ea3b | 70d3a2e29cf9497298c7505c883d78eab8d29bd7 | refs/heads/master | 2020-04-10T08:28:59.503539 | 2019-06-25T13:41:42 | 2019-06-25T13:41:42 | 160,906,960 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,534 | r | xgboost_parameter.R | setwd("C:/Users/wjssm/Desktop/0.graduate/3rd/Datamining")
#https://www.hackerearth.com/practice/machine-learning/machine-learning-algorithms/beginners-tutorial-on-xgboost-parameter-tuning-r/tutorial/
library(data.table)
library(mlr);library(readr)
setcol<- c("age","workclass","fnlwgt","education","education-num... |
4e0f162029dc086e20518a398fce22cf1f296e5d | aa5a0d32a413a832e2cf6a68d2003185246ee3ae | /man/Lynch.distance.Rd | 5c337ec713625f0f2c21e0a618c50e7946a1eafe | [] | no_license | lvclark/polysat | 62fb4ddcad15db6886d1b1d38e04c6892998dd9f | ab6f69af3310e102846faa1c8ea4242eae3e87d8 | refs/heads/master | 2022-09-19T04:23:37.375464 | 2022-08-23T12:52:08 | 2022-08-23T12:52:08 | 39,743,630 | 10 | 7 | null | 2018-09-10T15:24:09 | 2015-07-26T21:58:14 | R | UTF-8 | R | false | false | 1,850 | rd | Lynch.distance.Rd | \name{Lynch.distance}
\alias{Lynch.distance}
\title{
Calculate Band-Sharing Dissimilarity Between Genotypes
}
\description{
Given two genotypes in the form of vectors of unique alleles, a
dissimilarity is calculated as:
1 - (number of alleles in common)/(average number of alleles per genotype).
}
\usage{
Lynch.distance... |
4dd1fc083d7fa690a4b0708999241e086ce32b33 | a7f0b0a405fc7f1d4c9e4ebb754529f3877a20dd | /RcodeData/vecomp.r | 832c6b5e31c1e650f708a05d6e203e0444cb2ec1 | [] | no_license | tmuntianu/advancedstatistics | 4298c0d0f3a52675d85d67f3aac3b7b11ab5cdc1 | 3885b67da560702df4b6d05b240ada6fde2f727c | refs/heads/master | 2020-12-22T19:03:58.858657 | 2020-01-29T04:08:34 | 2020-01-29T04:08:34 | 236,890,079 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 961 | r | vecomp.r | vecomp <-
function(job=1,N=10000)
{
#use 5 methods to compute exp(-(3*x^2-4*x*y+2*y^2)) for integral approximation
x=seq(from=-1,to=1,length=N);y=seq(from=-1,to=1,length=N)
M=matrix(ncol=N,nrow=N)
one=rep(1,N)
print(date())
if(job==1) # double loop
{
for(i in 1:N)
for(j in 1:N)
M[i,j]=3*x[i]^2-4*x[i]*y[... |
6c5c35e7783186c745014dc252cc197033f2ede8 | 361041c919cf7013441be2a7fbf2436b4b41e636 | /files/SLGfiles/kara/IsItNumbers.R | 87d82af7e99fb71d9ca471e87e2535b4f8d04a2f | [
"Apache-2.0"
] | permissive | jbpost2/jbpost2.github.io | 2ef930469f3881104f5d5f4ccaab562f7e0c82a8 | 91e5c73e4f426c3b5fe268ba250ba5c3427119a9 | refs/heads/main | 2023-04-29T16:41:56.476692 | 2023-04-17T03:45:05 | 2023-04-17T03:45:05 | 82,014,791 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,586 | r | IsItNumbers.R | #Anders, S., McCarthy, D., et al. (2013)
# Count-based differential expression analysis
# of RNA sequencing data using R and Bioconductor.
# Nature Protocols,8(9) 1765–1786. doi:10.1038/nprot.2013.099
# This is an example from the above protocol,
# placed in one document for demonstration purposes.
# See original pap... |
088161d5312b7c77717cd01784743b9cfa7a9501 | 1a0201b8c4c778e9791fe8300cfdef9ba3b303fd | /tests/testthat.R | cc67730135f63a7a521f08976f7a8b7269aa2038 | [] | no_license | datocres/coursera-fars | 3c47ed6c986ad312f40df3f21420f6aa7b3e42cd | 9ee789a571369f89f49f9c38c503d98988c9e085 | refs/heads/master | 2021-01-21T14:08:44.883033 | 2018-04-12T16:16:19 | 2018-04-12T16:16:19 | 91,820,121 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 62 | r | testthat.R | require(testthat)
require(farsdata)
test_check("farsdata")
|
e0efe776209fccc10f273ea787a5136934cc5b4b | 220fb68383c0c2845aa1f47544108b874fb90261 | /2013_haier_crawlers/U HE crawler ifeng.R | b2de86c14c9945f17ce0ecb4fc80f993684bf524 | [] | no_license | lipengyu/text_mining | b69dda69b908e81c302bf197ec5bffefb4ac734c | 417795033408e7236422ec5766852815b4b831a6 | refs/heads/master | 2020-12-11T07:31:27.110823 | 2014-01-27T08:26:37 | 2014-01-27T08:26:37 | null | 0 | 0 | null | null | null | null | GB18030 | R | false | false | 2,509 | r | U HE crawler ifeng.R | ###抓取凤凰家电网数据
#获取板块地址
library(XML)
url <- "http://tech.ifeng.com/elec/"
url1 <- htmlTreeParse( url, useInternalNodes=TRUE,encoding='utf8' )
nav <- getNodeSet(url1, "//body//div[@class = 'mainNav']/ul/li")
ban <- sapply( nav, xmlValue )
nav <- getNodeSet(url1, "//body//div[@class = 'mainNav']/ul/li/a")
link <- sapply... |
016475d93f79a66742cc8a2e66082723ba202f3f | fa0f3dce30e511ed185e8456293ee09bfe96b33d | /RMark/man/make.mark.model.Rd | f7a56ece0b3947e662288b3c5be2a1f5d45b2900 | [] | no_license | MichaelBBrown/RMark | f9b5d40ab03bfe4f54fd0550ed27906fced6f442 | efc08916decbe8c23cea00fe084b497a5efa1a67 | refs/heads/master | 2020-05-01T19:12:13.865385 | 2019-02-05T16:26:31 | 2019-02-05T16:26:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 25,489 | rd | make.mark.model.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/make.mark.model.R
\name{make.mark.model}
\alias{make.mark.model}
\title{Create a MARK model for analysis}
\usage{
make.mark.model(data, ddl, parameters = list(), title = "",
model.name = NULL, initial = NULL, call = NULL, default.fix... |
d3a4a8e75c4b6e8eda39c5d19bcea47c045fe6da | d1c5e83fc6ac0895f944d9abdda05214fa8b6dbc | /MRSP Master.R | 06b4f930ae7ace0933da9e58034b5a44cd29aca8 | [] | no_license | EpidemiologyDVM/MRSP-Rnets | fd0a354cef389097297858ee8d0fe93492f70fe8 | f485cef4c553d2ca3a5f2c6bc504f40f29024d9d | refs/heads/master | 2021-08-08T07:08:43.732504 | 2017-11-09T21:16:53 | 2017-11-09T21:16:53 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 453 | r | MRSP Master.R | #LOAD PACKAGES
library(RMySQL)
library(rrcov)
#CONNECT TO STAPH DATABASE
STAPH_DB_CXN <- dbConnect(RMySQL::MySQL(),
host = 'lanzas-lab.cmaytakjco4n.us-east-2.rds.amazonaws.com',
user = "LanzasNCSU", pass = "Lan2as_Lab",
dbname = "copos_stap... |
1789c011a43336889e209076bd4a07277079e23a | b022e68f0139455784d95133deb4cf8f487142ce | /demo/Silverman.R | f01e120d113c29d535b3ccfe7071b1dec2c47991 | [] | no_license | cran/REBayes | 1e311610a28f37509d2da28f81385b17e84b4bbf | e26237baf78f2dc4bb776ae29a2ddfce68963435 | refs/heads/master | 2022-05-13T04:13:53.603760 | 2022-03-22T17:20:02 | 2022-03-22T17:20:02 | 17,681,954 | 4 | 2 | null | null | null | null | UTF-8 | R | false | false | 512 | r | Silverman.R | # Test of Silverman log-spline estimator in medde
# Silverman BW (1982). On the Estimation of a Probability Density Function
# by the Maximum Penalized Likelihood Method. Annals of Statistics, 10, 795-810
require(REBayes)
n <- 500
x <- rnorm(n)
main = "Histogram and two Silverman Estimates"
hist(x, 70, freq = FALSE, m... |
7a1a70c05fc76f43f059f9cdb9e2584f92774736 | 8bf5221174e52cbd489f81e75759014f22b7657c | /R/303_calculo_liquidaciones_HO.R | 059d696c7f105ba733580fa7f21ba522aeb3fba5 | [] | no_license | pabloalban/IESS_C.D.625_Art25 | bf2bcf425b82997313e9d8b12e69c97cab2a0e72 | 8f2d1edb0686c042b9587500b444aefedc059fca | refs/heads/main | 2023-05-24T09:15:27.170559 | 2021-06-07T16:17:28 | 2021-06-07T16:17:28 | 368,037,771 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,679 | r | 303_calculo_liquidaciones_HO.R | message(paste(rep("-", 100), collapse = ""))
message("\tCargando base de beneficiarios del Caso HOLCIM")
load(paste0(parametros$RData, "IESS_listado_beneficiarios.Rdata"))
load(paste0( parametros$RData, 'IESS_canasta_basica_familiar.RData'))
load(paste0( parametros$RData, 'IESS_ultimo_sueldo.RData'))
message("\tCalc... |
78921e2bc7792a390fe58d17c05a4a4a37f34125 | 8198315b087ea397d1ff65e2f0be81761fb99fdf | /lab08/lab8_rozwiazania.R | 9008fb13ed3568d5bc7f817696d34162387c4a4a | [] | no_license | mmazepa/InteligencjaObliczeniowa | a7fa9a2d5a9ef375a8b5fef777d39f2d88c6d5df | 67f8bd057920189d8e37931bf31f17ddc82982ea | refs/heads/master | 2020-03-31T10:47:06.723886 | 2019-01-22T13:32:43 | 2019-01-22T13:32:43 | 152,149,557 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,350 | r | lab8_rozwiazania.R | # LABORATORIUM 8 [20.11.2018]
# ------------------------------------------------------------------------
# ___ ZADANIE 1 __________________________________________________________
a2.support <- 4/10
a2.confidence <- a2.support / (9/10)
a3.support <- 5/10
a3.confidence <- a3.support / (7/10)
a4.support <- 5/10
a4.... |
189f6cc54149bc6d1850e20705ad4950557cca51 | b696679287e97a6622cc5a257eab12ad15cb5a0a | /cachematrix.R | 92877eb9c0e21a198572acdd0cef2ca9612ad297 | [] | no_license | ccaudillo/ProgrammingAssignment2 | caaf140e811bde4cb6c3a0fe875f9d12bd10335d | 4d24d678614e97113a914ef734e50d68f3699b56 | refs/heads/master | 2021-01-17T07:55:22.901377 | 2015-01-25T23:20:42 | 2015-01-25T23:20:42 | 29,512,990 | 0 | 0 | null | 2015-01-20T05:11:09 | 2015-01-20T05:11:09 | null | UTF-8 | R | false | false | 1,522 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
# The functions will calculate the inverse of a matrix, If the matrix
# has been cached before, the inverse of a matrix will be returned
# instead than compute it again.
## Write a short comment describing this function
# This function ... |
c4f0e910b2f82620c0a7d959779aa26bd7648bd7 | 1a372979ef9fd1e1c0f238b3d7e562985d4144a1 | /bee_analysis_site_chem.R | 04318b8ced046c8f4e6b7cd31a4eb692d71cf69b | [] | no_license | YDAckerman/EPA-Bee | 9d6b4981c61b5be1ab59a40f1aabda2a6b6ed41d | 7e3309e51064d22e0b28c938e4141ac2dab95b2a | refs/heads/master | 2021-05-04T10:45:16.429799 | 2018-01-19T17:39:07 | 2018-01-19T17:39:07 | 43,094,241 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,875 | r | bee_analysis_site_chem.R | ## site - chemical analysis/visualization
library(dplyr)
library(ggplot2)
library(plyr)
library(reshape)
library(wesanderson)
library(stringdist)
## set working directory
setwd("~/Documents/ZhangLab/")
## load up site_chem
load("BeePUR/YA_bee_analysis.rda")
## get some helper functions (env hf) just in case
source(... |
d1fd24ed3d50899ae0da25cd54b06caa2715ed21 | 776b2f5c961e243b53f209591e36428e6019289e | /man/buildGLMMF.Rd | 3ff46e7be65cd6b814f474f462681445fb3d5111 | [] | no_license | lnsongxf/GLMMF | 587e60fd398651e9729709b319da6a58bc438d41 | 3f5e6ac53cf65eeabfbbfa073e9620f615d88ce6 | refs/heads/master | 2020-12-01T12:05:24.190440 | 2015-03-19T17:59:43 | 2015-03-19T17:59:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,596 | rd | buildGLMMF.Rd | % Generated by roxygen2 (4.0.2): do not edit by hand
\name{buildGLMMF}
\alias{buildGLMMF}
\title{Build Generalized Linear Mixed-Effects Model with Latent Factors}
\usage{
buildGLMMF(group, response, common.fixed, distinct.fixed, random,
nfactors = 0, data, distribution = c("gaussian", "poisson", "binomial",
"gamma"... |
0cbff1c9c3e89b332098c28331bff9ef278ddd37 | 990b0c449377c7afa108b5d182df4dc306be19ce | /Rlib/man/db_info.Rd | 0658a6bf8b145c42b55204928f33a1b7cf13b965 | [] | no_license | oliver4444/DublinRTPI | 292b75399a6aa05a68d3f9e15fbf23282fe538e7 | ef089791a41346eeb8674ec34b6a95fd17cedd96 | refs/heads/master | 2022-04-09T06:19:55.862443 | 2020-03-29T15:37:10 | 2020-03-29T15:37:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 717 | rd | db_info.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/db_info.R
\name{db_info}
\alias{db_info}
\title{Real time info for multiple bus stops (API)}
\usage{
db_info(
stop_numbers,
base_url = "https://data.smartdublin.ie",
api_path = "/cgi-bin/rtpi/realtimebusinformation"
)
}
\arguments{
\ite... |
84720ee1bfccc19f98c5618abd6b08892bd782c4 | 5ed44176b4e3716a44565d118283223c07b791a3 | /man/TSP-package.Rd | 0ad0a873a4570fd846979cbbda8eefdb35fd3f73 | [] | no_license | mhahsler/TSP | d94ead22a9d3e3b44829477ff474ce458b857623 | f274bf7098570943674f0e7ef3a281cda78a040e | refs/heads/master | 2023-08-09T03:27:48.714780 | 2023-07-21T14:32:25 | 2023-07-21T14:32:25 | 43,990,993 | 66 | 17 | null | 2020-01-23T18:53:26 | 2015-10-10T02:54:22 | R | UTF-8 | R | false | true | 945 | rd | TSP-package.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AAA_TSP-package.R
\docType{package}
\name{TSP-package}
\alias{TSP-package}
\title{TSP: Traveling Salesperson Problem (TSP)}
\description{
Basic infrastructure and some algorithms for the traveling salesperson problem (also traveling salesman ... |
ed381636a881f64b1fcd4cd5cabc801f5da97561 | 19fc514eed402cb1391dc5f2a1953136183ca5d2 | /4_summary/src/summarise_data.R | 9fed71ffa14f84b22a5183cb978b5e55b68888b1 | [] | no_license | cstillwellusgs/ds-pipelines-targets-1 | 1c86bc3b9b820df939ec101ca56a8babd16a42ee | 619fe765ec0c221278706f11d85df2be75d9bdb4 | refs/heads/main | 2023-08-25T05:46:57.171091 | 2021-10-28T18:56:50 | 2021-10-28T18:56:50 | 412,181,962 | 0 | 0 | null | 2021-09-30T19:43:06 | 2021-09-30T18:37:28 | R | UTF-8 | R | false | false | 1,301 | r | summarise_data.R | # Function to summarize findings -----------------------------------------------
summarise_data <- function(summary_data, summary_out_dir, summary_out_file) {
dest <- file.path(summary_out_dir, summary_out_file)
data <- read_csv(summary_data, col_types = "icddd")
summary <- paste0("resulted in mean RMSEs (means ... |
0d54709c660226768f692fb409abd27ed5c56850 | e2cf95573135143abda85710adc33336bf41adef | /tests/test_convert_from_rmd_to_rnw.R | e91fdd70f61221ab038c5418c48cda170bdb62d6 | [] | no_license | kwojdalski/rpm2 | 41d3cac7f1ef08585ed5e5a847f86c665accf285 | a6b0ea44832210b0601deed5691eaac664752d6c | refs/heads/master | 2021-08-15T21:43:13.871194 | 2017-11-18T10:22:15 | 2017-11-18T10:22:15 | 110,359,212 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 428 | r | test_convert_from_rmd_to_rnw.R | require(rpm2)
require(assertthat)
require(magrittr)
require(stringr)
require(plyr)
debugonce(rpm2:::.swap)
debugonce(rpm2:::.swapCitations)
debugonce(convertDocs)
file.remove(list.files('./data/Rnw', recursive = T, full.names = T))
convertDocs(type = 'Rmd', path_folder = './data/Rmd2/', new_path_folder = './data/Rnw', ... |
8498a9c874d557c1e446843d1c1eb599d998fbb8 | e72c0d6f1691d326b0b7768baec7beabd93076ef | /data/DataPrep/old_stuff.R | f017dccb290e200297221aff4aed6f17393a08b8 | [
"MIT"
] | permissive | wellermatt/iri | d613394450e334786ddc7860a899144dc31452b8 | 73ba32142ceb8d52e651d8a8b29b5089cb554fa9 | refs/heads/master | 2016-08-07T19:39:53.958351 | 2015-02-02T08:43:38 | 2015-02-02T08:43:38 | 30,034,112 | 1 | 3 | null | null | null | null | UTF-8 | R | false | false | 7,521 | r | old_stuff.R | head(dat.item)
head(sp)
f_data.aggregate.save.old = function(dat.item, promo.flags.agg.methods = "wmean")
{
##############################################################################
### PREPARE WEEKLY RAW DATA AND AGGREGATE ALL VARIABLES TO CHAIN/UPC LEVELS
################################################... |
1d64ea5cd75bac75cc1ec723a512fb17291cc633 | afd493c50b4565ed483c5fc9095f464f36b78d55 | /man/pearson.Rd | 130e0f8fc36c38e751526a07061cbd25e8a0b212 | [] | no_license | jigten/coorbest | 54e8035f56884a8d372491d8f7638d084183e3d6 | 05250316e6279696d70cbbe84231acfba60cdfa9 | refs/heads/master | 2021-01-07T18:47:20.337588 | 2020-03-18T05:01:28 | 2020-03-18T05:01:28 | 241,783,353 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 273 | rd | pearson.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bstrapcor.R
\name{pearson}
\alias{pearson}
\title{Pearson Correlation Coefficient}
\usage{
pearson(d, i = c(1:n))
}
\description{
Helper function to compute the Pearson correlation coefficient
}
|
f2d99b2254f8c6bb3792d1d2f90fafdadd3018b3 | 9bbf41c9336c219119d2322c9972d53b0aaede33 | /CCMv2/app.R | 603bb2e04d723cc605e931de6d6ebda9799be073 | [] | no_license | princesslililu/CCM_modelling | 5ebb8d2d65a01e1d5aa91009238247ff75bc4f8f | 80eb41596dbbe00645d12c9344593440dd826fcf | refs/heads/master | 2023-08-18T11:26:40.862113 | 2021-10-06T20:57:19 | 2021-10-06T20:57:19 | 280,728,442 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,570 | r | app.R | #
# This is a Shiny web application. You can run the application by clicking
# the 'Run App' button above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
# Define UI for application that draws a histogram
ui <- fluidPage(
# Application title
... |
78a5576f49ea4d38fae758eaefbada4128fd60bf | c7a98fbc1d2acad22e232b4c4f55e02ade39634d | /man/fars_summarize_years.Rd | bf5e0f8da36b84c9a382f18d29b5b834cd11134f | [] | no_license | ynren1020/fars | 2102eaf4664e3f1ecf4e9f1fdfb8d997958206ff | 325400d5e4b25a8b1680956b452e481b5e373c24 | refs/heads/master | 2022-11-15T08:15:51.511282 | 2020-07-07T17:21:40 | 2020-07-07T17:21:40 | 277,640,735 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 620 | rd | fars_summarize_years.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fars.R
\name{fars_summarize_years}
\alias{fars_summarize_years}
\title{Sum of accidents by year and month}
\usage{
fars_summarize_years(years)
}
\arguments{
\item{years}{A list of numeric values which are years}
}
\value{
A data frame with co... |
bd5139bf3157e8c9374d1e03235005bda7c068f2 | 436fdfdedb2f0abcf6bcdc990934414f97374a52 | /Presentations and templets/templets/Quant_1(.rmd, from YUE HU)/slides_gh-master/slides_gh-master/convert2PDF.R | c33ba3623c45789478f5e1e2e1a6936146789599 | [] | no_license | bi-wei/THU_Courses | da507ca86ec571531f184acee83e6da597e869b2 | b6eb81734b854441da964af088e3cff5d2c7f56d | refs/heads/main | 2023-05-11T15:27:57.669390 | 2021-05-25T03:59:47 | 2021-05-25T03:59:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 791 | r | convert2PDF.R | library(pagedown)
pagedown::chrome_print("slides/conference/2019-ACPS/migrant_language.Rmd")
library(webshot)
# install_phantomjs()
## For Tsinghua Political Confernece
file_name <- paste0("file:///", normalizePath("slides/conference/2018-MPSA/proficiencyTrust.html", winslash = "/"))
# webshot(file_name, "./slides/c... |
92815a8ed7877d8242390a0d296e9ff499e12f91 | 55fe7eeb9397100fcd544c2b8bcecfcbcabdbb06 | /REPSI_Tool_02.00_Mesaurement_Data/Query_99999_YYYY-MM-DD_HH-MI-SS.HS.R/Query_80501_2007-01-18_18-29-20.781.R | 120f47a2b256f52d99f4474af7e1f430f468ec34 | [
"Apache-2.0"
] | permissive | walter-weinmann/repsi-tool | d5e7b71838dc92d61c1a06a2c7f2541a0c807b32 | 5677cdf1db38672eff7f1abcf6dca677eb93a89c | refs/heads/master | 2021-01-10T01:34:55.746282 | 2016-01-26T05:31:17 | 2016-01-26T05:31:17 | 49,252,156 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,259 | r | Query_80501_2007-01-18_18-29-20.781.R | if (exists("A_A")) remove("A_A")
if (exists("A_U")) remove("A_U")
if (exists("C_A")) remove("C_A")
if (exists("C_U")) remove("C_U")
A_U<-c(93268,101637,68510,61709,61641,61113,61610,61598,61607,62212,60639,61281,61040,67599,61458,60900,61396,61337,60574,62265,62823,61118,60756,61102,61758,66182,61513,60485,61130,60733,... |
915b1bf235af693571ddbd051d56baa3a6786870 | ba65d8b42dfce42e1a4594d5a58a815194082112 | /R/filterByVAF.R | 39e88c6ebc7ced920cc4f398eeab680973ec4d32 | [
"MIT"
] | permissive | acc-bioinfo/TMBleR | b4ac594173ecc2ead98fd19696136f0d235065a3 | f3ded88b111b8db0867222aaa8be4bcd9fe8e80d | refs/heads/main | 2023-06-19T22:21:49.508537 | 2021-07-16T16:42:20 | 2021-07-16T16:42:20 | 378,995,779 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,664 | r | filterByVAF.R | #' Filter variants according to variant allele frequency
#'
#' This function removes from the input variants those with variant allele
#' frequency (VAF) inferior to the cutoff value provided. The AF field is
#' required in the input vcf file to apply this function.
#'
#' @param vcf a \code{CollapsedVCF} object contain... |
51f991423d73c9193976494ee49531657035acc5 | 7dda7d663a26f5923a592677795fa551e6ee9c76 | /scripts/tema 3 graficos script ejemplos.R | 18b9032a1bea95b4738ef1b001f39af7238873d5 | [] | no_license | wrondon23/baseball_R | c89b7711d2b8f60913e49007f21f09bcd9224027 | b307ffbff5cd480d790d171800cc07546245a9b8 | refs/heads/master | 2020-09-19T02:57:30.692285 | 2019-12-10T11:40:20 | 2019-12-10T11:40:20 | 224,190,924 | 0 | 0 | null | 2019-11-26T12:47:35 | 2019-11-26T12:47:34 | null | UTF-8 | R | false | false | 1,760 | r | tema 3 graficos script ejemplos.R |
#cargando el dataset de bateo de los miembros en saldo de la fama
hof <- read.csv("./data/hofbatting.csv")
#agregar la variables MidCareer, que muestra la mitad de la carrera del jugador
hof$MidCareer <- with(hof, (From + To)/2)
#convertir en factor las epocas
hof$Era <- cut(hof$MidCareer,
breaks=c... |
5d5ad71324f4172ad8cefd2eadbb3b3714a03f2b | b58787ca244bec6e3788d2c875958b04a27fcd22 | /regression3_NonNormalityAssumption/PlottingDensityHist.R | 53e6c680f87f0124c398645a5bd9d18961407db9 | [] | no_license | anhnguyendepocen/CSE845_R_tutorials | 917d4a479ea3d29afae7507c17710fdd2b0359a4 | 1c5a872de767f23a1ce9f0ff7802f522df98e1b0 | refs/heads/master | 2020-03-14T21:21:37.232080 | 2013-05-27T01:14:01 | 2013-05-27T01:14:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 754 | r | PlottingDensityHist.R | x <- rnorm(100, 20, 4)
par(mfrow=c(2,2))
hist(x, main="default breaks")
hist(x, breaks=4, main = "4 breaks")
hist(x, breaks=8, main = "8 breaks")
hist(x, breaks=20, main = "20 breaks")
par(mfrow=c(2,2))
plot(density(x), main="default bw")
plot(density(x, bw=0.5), main="bw = 0.5")
plot(density(x, bw=1), main="bw = 1")... |
52ffdfa7467c092df8424683c6ebf1e4f46ce18d | b6fd60488d5ce74432cec8dea776ab22de6b4e00 | /tokenize.R | 493c6f895f335279ff098cdbe4c80e0e0bb623bb | [] | no_license | sarafy23/CapstoneProject | 302dd8cf7cd1309b9880c588ed4bbfdcfaf2fa41 | b7942a8a0910ef1f6c9f6c0c16e83e987e10ab1f | refs/heads/master | 2023-05-28T23:32:54.764056 | 2021-06-15T15:17:18 | 2021-06-15T15:17:18 | 377,179,797 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,466 | r | tokenize.R |
library(dplyr) #need for operator
library(tidyr) #need for separate
library(tokenizers) #need for tokenize_ngrams
#create ngrams
#create function that tokenizes, tabluates (freq count), turns it to dataframe, then ranks them based on freq count
ngramTokenizer <- function(theCorpus, ngramCount) {
ng... |
90131da213818b37599ceb1100b93277970b0f1d | f1ab6e90d0e38653d4f20906798b188caa6b5b9e | /code/distance_sim_functions.R | be741f0e547e1f736246454a8a134069561fe135 | [] | no_license | raikens1/PilotMatch | 73f497a0b5b3c408d2d0cf6efd883dc17cd1db9a | 313872482f81d39e114396b499bdcff60d4867dc | refs/heads/master | 2021-07-07T05:57:03.323388 | 2020-08-17T23:17:17 | 2020-08-17T23:17:17 | 169,315,951 | 1 | 1 | null | 2020-03-24T21:11:08 | 2019-02-05T21:29:35 | HTML | UTF-8 | R | false | false | 7,233 | r | distance_sim_functions.R | require("optmatch", quietly = T)
require(dplyr, quietly = T)
require(magrittr, quietly = T)
require(ggplot2, quietly = T)
require(rlang, quietly = T)
require(tidyr, quietly = T)
require(sensitivitymw, quietly = T)
require(tidyselect, quietly = T)
require(bindrcpp, quietly = T)
require(sensitivityfull, quietly = T)
sou... |
e37296cbb2d00b2919c2390d8a3127eb2506703f | 5137d2b74fa00d70152f5a18d0a24d1b4785cff0 | /SingleCellUtils/removeFromEachListField.R | adebfdfd55535a2d172f9ddc9badce83938e7aa5 | [] | no_license | noemiandor/Utils | 02462f322102d602cb22d028fb7ac3ff4084489e | 9de792c32e46dbef7485e34400b4e4153cd41c4d | refs/heads/master | 2022-05-02T08:00:38.590908 | 2022-04-04T16:06:42 | 2022-04-04T16:06:42 | 192,091,982 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,615 | r | removeFromEachListField.R | removeFromEachListField<-function(X,rowIdx=NULL, colIdx=NULL, ignoreInconsistentDim=F){
# X$mat=X$mat[iK,]; X$barcodes=X$barcodes[iK]; X$tsne$Y=X$tsne$Y[iK,]; X$gpc=X$gpc[iK];
# dm_TREG$dm=dm_TREG$dm[iK,]; dm_TREG$P=dm_TREG$P[iK,]; dm_DMAP$dm=dm_DMAP$dm[iK,]; dm_DMAP$P=dm_DMAP$P[iK,];
##First remove from ... |
fc87103088602013c177bfeaf40a359408e0efb0 | d457217ad738c0125a92d526bee19a63e920bf92 | /r/spotify.R | 8d64b5f97452867688e326e4cd4c4c13b4ffd0f6 | [] | no_license | Dantesean/cm | 9b17a6f58ece72520be3754c81652e2c2da93b7e | 54eff1375dbb43d60c95803e14e66c5a707737b8 | refs/heads/master | 2020-04-25T16:28:11.796198 | 2019-03-31T20:03:37 | 2019-03-31T20:03:37 | 172,912,988 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,752 | r | spotify.R | #----- SPOTIFY CREDENTIAL FOR SPOTIFYR -----#
if (Sys.getenv('SPOTIFY_CLIENT_ID') == '')
Sys.setenv(SPOTIFY_CLIENT_ID = '557ece0477ae4ea5807f7a809a85a597')
if (Sys.getenv('SPOTIFY_CLIENT_SECRET') == '')
Sys.setenv(SPOTIFY_CLIENT_SECRET = '24684514c966448b87e8809c1c5a4156')
#' Normalise vectors for Computation... |
d563c6d6beb8896ea50c2052c5fd0f6432d58e5f | 08bd5a7e355670ae7677e7676dc216e0a14c2a5a | /BatchCorrection_and_QC/pca_analysis.R | 9d54123afc508a03506a8fe6a87c62b236b41f0f | [] | no_license | zmx21/GSK_NI | 1b79f1933e245a1deab902eebf83370f8c6af4ea | 3e89f15e4d906d704193346fa0ea6b914e89a881 | refs/heads/master | 2020-03-18T08:09:21.607329 | 2018-09-02T03:15:19 | 2018-09-02T03:15:19 | 134,493,420 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,225 | r | pca_analysis.R | ##########################################################################################################
#PCA based on gene expressions. Imports metadata, which could be visualzed as colors on PCA plot.
##########################################################################################################
#Impo... |
0a2f6959e8090e628f48bb03c99ef8001ae98f77 | d70a7c8dd603fd9564fa6fbbfc6db1440d3f2c27 | /man/filter_common_genes.Rd | bed140939c42eb5755487ecaadaf446e27b82901 | [] | no_license | cran/tidyestimate | 47cf411175cb1e43d4d295cade60ec0bb57f3362 | 2b67ce554714c972c38307d8eda5f42d1b5cbe78 | refs/heads/master | 2023-09-03T00:06:39.309616 | 2023-08-21T03:50:02 | 2023-08-21T04:30:34 | 379,601,030 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,536 | rd | filter_common_genes.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/filter_common_genes.R
\name{filter_common_genes}
\alias{filter_common_genes}
\title{Remove non-common genes from data frame}
\usage{
filter_common_genes(
df,
id = c("entrezgene_id", "hgnc_symbol"),
tidy = FALSE,
tell_missing = TRUE,
... |
aacf85b4393ff5fa9de2b9a873e25f96e2edaf5a | 6ce63673dd382556a6c1d3f8ab978c704ede84d0 | /英国国王死亡年龄/英国国王死亡时间.R | a1c0685ff1829193948e129bba415b8699610564 | [] | no_license | zxyzjh233333/- | a7c33d9bc58a8954965707eca9f91cfa117a4880 | 51b8449c944313930d9814ae57cc625c2f8b7575 | refs/heads/main | 2023-06-25T18:14:10.013667 | 2021-05-04T08:50:37 | 2021-05-04T08:50:37 | null | 0 | 0 | null | null | null | null | GB18030 | R | false | false | 7,147 | r | 英国国王死亡时间.R | ##案例:英国国王死亡时间(非季节性模型)(Age of Death of Successive Kings of England)
#1.
#导入所需的包
install.packages()
library("TTR")
library("forecast")
#2.
#导入文件
kings <- scan("http://robjhyndman.com/tsdldata/misc/kings.dat",skip=3)
kings
#3.
#将时间序列数据读入R后,下一步就是将数据存储在R中的时间序列对象中。
#这样就可以使用R的许多函数来分析时间序列数据,我们使用R中的ts()函数。
#t... |
c8634967ddc89ac8637a9781a163c933ad7a3d58 | d8f952e726878f922fe5c7a2644974eb0a7d6a67 | /Documents/Glove/Codes/FANROI_Visual_visualizatiion_code.R | 9ccb0b20ea4ca14e3cff6955a2e4b50aec46eef4 | [] | no_license | jisulee819/project_Glove | 13e3725c164643ff37b6581104b1d119c2a95210 | f27c684b09b8da82b6f448db242e5e03c27567e6 | refs/heads/master | 2020-07-26T16:51:51.423047 | 2019-09-16T04:29:01 | 2019-09-16T04:29:01 | 208,709,373 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,105 | r | FANROI_Visual_visualizatiion_code.R | ################
### 190906 DMN visualization ###
############
library(ggplot2)
library(reshape2)
library(FSA)
lda <- read.csv("/Users/jisu/Documents//Glove/20190911_FAN_VISUAL_lda.csv")
#svc <- read.csv("/Users/jisu/Documents//Glove/20190906_DMN_svc_all.csv")
data <- readxl::read_xlsx("/Volumes/clmnlab/GA/fmri_d... |
ca9a35903802ae6ed0c1971328677bbe5abc5f53 | bc313a5325487f27b6f39339f4f555301ec4b2c4 | /generic_sim_fns/store_results.R | 27db3b374e9a5d8bd777fa9e5e845fb902c3adb5 | [] | no_license | dill/ridgeds | cf58a81b996ad6d4595112b53129af0e89e0456b | d0afc2af431697056535a8e8cd8e0a7356bfb971 | refs/heads/master | 2020-12-31T06:22:57.989643 | 2014-06-27T15:59:51 | 2014-06-27T15:59:51 | 19,791,801 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,475 | r | store_results.R | # shortcut function to store results
store_results <- function(mod, pop.size, sim, corr=0, Ncov){
# mod - fitted model object (call was wrapped in a try())
# model.name - string to identify model
# pop.size - population size
# sim - simulation id
# dummy
p <- NA
varp <- NA
cov1 <- N... |
4a501f290d01c9c5b07e7e1d68dd9abebf1700e1 | a4c6332c239ea98e1e5cef105ba2c3befcfcf310 | /WangzhenTools/man/WangzhenTools.Rd | 9cd282e4137f7bbfd4da2b19ff8eaddf0dcce278 | [] | no_license | maxx0290/myfirstpackage | 8f75f15159e15c7be70393b955349a4d1ece1cb4 | 168b76faedd741f89e3c7b7ab66b8a2f0f28d5c9 | refs/heads/master | 2021-04-28T02:27:08.931955 | 2018-03-10T01:22:58 | 2018-03-10T01:22:58 | 122,114,159 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 247 | rd | WangzhenTools.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/WangzhenTools-package.r
\docType{package}
\name{WangzhenTools}
\alias{WangzhenTools}
\alias{WangzhenTools-package}
\title{WangzhenTools.}
\description{
WangzhenTools.
}
|
31993c30230dadd7a7e2189f16f67d403687a85d | f0563cf527cb1374ff9d3ae3e0f4c3aa0fa137a8 | /man/readIDATs.Rd | d4da5b4fe7758826982fa0e1b086517e579a453a | [] | no_license | yilinxu/sesame | 5cd6e14a4c7ed85dd8676a44895f5ff8b35a2575 | 1a098702a9e91b5cb43fc61bfc4a9a09b71ba67d | refs/heads/master | 2020-03-10T20:41:23.047311 | 2018-04-10T05:02:25 | 2018-04-10T05:02:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,146 | rd | readIDATs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sesame.R
\name{readIDATs}
\alias{readIDATs}
\title{Import IDATs from a list of samples}
\usage{
readIDATs(sample.names, base.dir = NULL, raw = FALSE, num.processes = 1)
}
\arguments{
\item{sample.names}{a sample list}
\item{base.dir}{base di... |
f651b036a247a268010fd8a246e7901a5858d1bc | 64257a0e57cf928b0ae7676a108a3688001181bd | /man/count_events.Rd | 0759e8bf18c77a2a147d073fc885fb3688cec1a9 | [
"BSD-3-Clause"
] | permissive | marcpaterno/artsupport | 9842a678c8070468dd93a258810b84067fe22f32 | 803310561741c4aa54bdd44e393da9ae8551bfa0 | refs/heads/master | 2020-06-30T06:49:04.780687 | 2020-04-20T23:14:48 | 2020-04-20T23:14:48 | 74,387,093 | 0 | 1 | NOASSERTION | 2019-02-07T07:11:33 | 2016-11-21T17:15:33 | R | UTF-8 | R | false | true | 558 | rd | count_events.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/public_utils.R
\name{count_events}
\alias{count_events}
\title{Count the distinct events in a data.frame.}
\usage{
count_events(data)
}
\arguments{
\item{data}{a data.frame}
}
\value{
the number of distinct events represented in the data.fram... |
59cf948b394b3a730a9d3d1031e59c8caa082100 | 5f754675e68444db1fa7f077eff5dc6ee622a0be | /man/hcrConstantCatch.Rd | 743d2944f5cb0253018c515a1e856b02e70d618d | [] | no_license | flr/mydas | 893c3e8f93957109377329682fc99eee4518cbc0 | 726126972e5bca4d6a99ba774f05ea63d60f7b87 | refs/heads/master | 2023-06-22T22:43:10.246612 | 2023-06-16T05:07:31 | 2023-06-16T05:07:31 | 221,472,392 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 587 | rd | hcrConstantCatch.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hcrConstantCatch.R
\docType{methods}
\name{hcrConstantCatch}
\alias{hcrConstantCatch}
\title{hcrConstantCatch}
\usage{
hcrConstantCatch(yrs, catch, ...)
}
\arguments{
\item{yrs}{\code{numeric} target years to take catch over}
\item{catch}{an... |
7ea956ac2ce6598e4a72f60c71c8e3f7d24b1580 | 836a779c4e3405bb6ffe79117964b6b516cb3bc2 | /R/632.BayesFactors_x.R | a8b4d8059c43a98f5fbb9afe9df0e681d2b7c240 | [] | no_license | RajeswaranV/proportion | 657fe69c4ad62c00ee95077d40683d4452d42c66 | c0e0a60d43113004c0366c71a2b2dac36bf1fc86 | refs/heads/master | 2022-06-21T13:51:47.915249 | 2022-06-11T06:31:18 | 2022-06-11T06:31:18 | 46,557,957 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 26,804 | r | 632.BayesFactors_x.R | #' Bayesain Hypothesis testing given x: Hypothesis 1: Theta = Theta0 Vs Theta <> Theta0
#' @param x - Number of success
#' @param n - Number of trials from data
#' @param th0 - Hypothetical parameter for H0
#' @param a1 - Priors for hypothesis H1
#' @param b1 - Priors for hypothesis H1
#' @details Computes Bayes facto... |
84f3cbdc1879174bce66bfaff77f009b4e2ee697 | 67f31a9f56d85ede80920358fe40462c2cb710ed | /man/scrapeLEI.Rd | 2460fbead17061a06d6cbb01d127df1bf3503e2a | [] | no_license | vh-d/VHtools | ff95b01424c210b3451f4ee63d5aaa016e553c2e | a7907e8ba370523ca92985fb73f734a3284896b8 | refs/heads/master | 2020-04-12T06:25:18.169942 | 2019-04-09T20:09:34 | 2019-04-09T20:09:34 | 60,918,606 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 892 | rd | scrapeLEI.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/leis.R
\name{scrapeLEI}
\alias{scrapeLEI}
\title{Scrape attributes of entitities from lei-lookup.com given list of LEI codes}
\usage{
scrapeLEI(lei_codes, token = "", proxy = paste(getIEProxy(), collapse =
":"), showMissing = F)
}
\argument... |
0e2b839c2949447bdff5194284fe8568775e829a | 17317b5c7c0e50dd167d881b65a65677584329b0 | /R/time_spread.R | 045bfe027748ec03c626427bd0833e6cdd150dbb | [] | no_license | Tazinho/timedim | 073a09559c1e0350e30195402894ebe1b881d8ee | a5a3377f12ba6a0a462f5a704e51fbaeecde8df3 | refs/heads/master | 2020-11-30T00:31:55.821415 | 2017-06-30T23:01:28 | 2017-06-30T23:01:28 | 95,925,651 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 337 | r | time_spread.R | #' Illustration of time_spread
#'
#' gather time dimension
#'
#' @param .data a tibble containing an id and dates
#'
#' @return a data frame with min and max date for each id
#'
#' @importFrom dplyr "%>%"
#'
#' @export
time_spread <- function(.data){
.data %>% group_by(id) %>%
summarise(d_min = min(dates), d_ma... |
f0b1d0c4eeddfae23948d0f2f60ba961bbafa829 | e4be7f8bf65953c73b3b699a81a7d8db749e3e60 | /R/set_up_model.R | 57e8e73675d1b847d81fd844fcfaea944ddb8cf7 | [
"MIT"
] | permissive | FLARE-forecast/FLAREr | 0833470f9b8e744b4a0782c1a1b50a6a403534d1 | 0c1215688ea80eb7886f3ffe2d847b766b3fb6d0 | refs/heads/master | 2023-08-04T23:43:47.057220 | 2023-08-04T13:34:43 | 2023-08-04T13:34:43 | 292,376,842 | 4 | 8 | MIT | 2023-04-25T13:32:56 | 2020-09-02T19:32:21 | R | UTF-8 | R | false | false | 2,646 | r | set_up_model.R | #' Set of model for FLARE simulation
#'
#' @param config list of configurations
#' @param ens_working_directory full path of directory where ensemble member is executed
#' @param state_names vector of state names
#' @param inflow_file_names matrix or vector of inflow file names
#' @param outflow_file_names matrix or ve... |
314ece9874f9b535846f5cacdb719f0c73781397 | 6dcd0671066ae1b920de5ec1e7c602660f449741 | /Datacamp - R - Data Analyst/7 - cleaning data/cleaning-data.R | b84dc857e6f0b8b037bd1eff9f9ffd916849bb69 | [] | no_license | Kallil12/anotacoes-cursos-online | 581fc738f6f43f6a7bf53a9379e024ab4b005212 | 1569b2c6a3e97279dd2eb4e5a382849e252d4d31 | refs/heads/master | 2023-05-02T03:18:56.337772 | 2023-04-20T15:27:15 | 2023-04-20T15:27:15 | 259,153,006 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,072 | r | cleaning-data.R | # Check the class of bmi
class(bmi)
# Check the dimensions of bmi
dim(bmi)
# View the column names of bmi
names(bmi)
# ====//==== ====//==== ====//==== ====//==== ====//==== ====//==== ====//==== ====//====
# Check the structure of bmi
str(bmi)
# Load dplyr
library(dplyr)
# Check the structure of bmi, the dplyr wa... |
3e61b4f5d5099ae5529eb40b41158af5b6dba4d5 | 360df3c6d013b7a9423b65d1fac0172bbbcf73ca | /FDA_Pesticide_Glossary/1,2,4-triazole.R | b45129ccef9e5fcef9c783f7983e54ad01f5f72b | [
"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 | 240 | r | 1,2,4-triazole.R | library("knitr")
library("rgl")
#knit("1,2,4-triazole.Rmd")
#markdownToHTML('1,2,4-triazole.md', '1,2,4-triazole.html', options=c("use_xhml"))
#system("pandoc -s 1,2,4-triazole.html -o 1,2,4-triazole.pdf")
knit2html('1,2,4-triazole.Rmd')
|
9aca76f5b72ea518ef05fa5c8d2ad64986d278da | 53ea4aedc6c286c0ccafb6034119b7897ca58252 | /code/R/trace.R | 21c27aa9e187d3567ee746ddb0d6ddf1f547a20a | [] | no_license | ZiqianZhuang/Integrated-Population-Modeling | 5b4931c6bafb51fa0c99fe06cdeb9c2b5a2ce6f5 | 0d576ca6f66f4f5a9568d728998ff3316586a055 | refs/heads/master | 2020-11-28T04:35:37.579503 | 2019-12-23T08:13:21 | 2019-12-23T08:13:21 | 229,704,589 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 235 | r | trace.R | trace <- function(mcmc, name, pop.id,scenario){
dir <- paste0("output/scenario",scenario,"/trace")
if(!dir.exists(dir)) dir.create(dir)
png(paste0(dir,"/",name,pop.id,"-plot%02d.png"))
plot(mcmc)
dev.off()
} |
ecb9957906bc7ab4b5da98c8c9812f09c514e4ad | df1ffc1772542e47bd7c4c0d2169ed386de30d7f | /R/accessors.R | 1910e1db93e5bfadc36a4cca319102644ce922bb | [] | no_license | philipmgoddard/glmPG | 04be0f3f9fcc5fbcfb5a1cf775d56a91829b1957 | 9fa612358bba7e62b1c15febe08f78dc8a6dd395 | refs/heads/master | 2021-01-10T05:35:56.902009 | 2016-01-03T16:04:06 | 2016-01-03T16:04:06 | 48,944,366 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 441 | r | accessors.R | #' @include class-definition.R
NULL
#' Set the generic for accessor (getter) for coefficients
#' @param object object of class GLMP
#' @export
setGeneric("getCoef",
function(object){
standardGeneric("getCoef")
})
#' @describeIn getCoef
#' @export
setMethod("getCoef",
signa... |
8e1a6139cfc5be37029d523dc1eb8d56f0a16623 | 0117665a818f1a2e4dd7a86e1ea0918f8c26395a | /kaggle-House_Prices/storico/missing_categorical_imputation.R | e5c7d62da8e186690a0278359232aa9d0bb1bdf0 | [] | no_license | Nabuz/My_work | a233440953bad75a1871c35d8a09a05767d3c1f8 | 0d13930a4060d9db154942a5fdd3627eced31165 | refs/heads/master | 2023-01-22T00:58:03.279680 | 2020-12-01T06:36:39 | 2020-12-01T06:36:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,032 | r | missing_categorical_imputation.R | library(tidyverse)
library(caret)
library(skimr)
library(fastDummies)
library(EnsCat)
library(proxy)
library(class)
library(FastKNN)
cat("\014")
rm(list = ls())
trainset<-read.csv2("./input/train.csv", sep =",")
testset<-read.csv2("./input/test.csv", sep =",")
target <- trainset %>% pull(LotFrontage)
attributes <- tr... |
580b3fbccefc8188e20bd0e6d209f3e4fb80540e | 1dfec10ac8e51f63947f35ae42bbfead6ed8ce4c | /Walmart_Trip_Type/scripts/ClusterFeatures.R | d067ade6ad070223d640898fcb2191c823a21726 | [] | no_license | jothiprakash/Kaggle_Challenges | 6f84109e5523d2afbe7eca678565be80985fb8e1 | e5d5f815b0b52ecd5b3157596387d2184613dd8f | refs/heads/master | 2021-08-23T02:22:21.383158 | 2017-12-02T13:40:39 | 2017-12-02T13:40:39 | 110,996,753 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,354 | r | ClusterFeatures.R | library(Matrix)
library(data.table)
library(plyr)
library(entropy)
library(stringr)
source('Scripts/new_fDefinitions.R')
#Loading the train and test data
train<-fread("Data/train.csv",colClasses = c(Upc='character'))
test<-fread("Data/test.csv",colClasses = c(Upc='character'))
#Aligning the target label
#Preparin... |
08e52d2a77876862bcb6d3e0b80b05ddbd93f815 | 58a6b7a2a650c11bb380e8e14aeb470fb8aeee59 | /R/errorModelSelection.R | d7fb177ab22168792f88461842fd2bea8c7f6302 | [] | no_license | ayaadel9190/Rsmlx | a40df71daebd39fea01b9fe99fa76f22bfc6e3a7 | 7933b03a186d9b9cf9285b6fd60caf838b53e54f | refs/heads/master | 2020-04-28T22:45:20.709635 | 2018-10-25T21:55:44 | 2018-10-25T21:55:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,582 | r | errorModelSelection.R | errorModelSelection <- function(project=NULL, criterion="BIC", nb.model=1) {
if (!is.null(project))
loadProject(project)
obs.model <- getContinuousObservationModel()
obs.info <- getData()
i.contObs <- which(obs.info$observationTypes=="continuous")
i.contModel <- which(names(obs.model$prediction) %i... |
0f0d03bbe27cc0c8fd09318cc440c070309cf893 | 7eb128f9b7899c33d4854009edbd38dd566cba72 | /R Tutorials/Book spuRs/scripts/newton_gamma.r | fae1cc776bb846003c89982b4f666d1c12185026 | [] | no_license | chengjun/Research | 1149add090ec563f544c4b5a886c01b1392a25d4 | c01e3d2eac2bca74671abb9cd63e1b06e5566fc8 | refs/heads/master | 2021-06-15T16:35:15.005107 | 2019-08-06T09:03:29 | 2019-08-06T09:03:29 | 11,498,113 | 4 | 6 | null | 2021-04-15T09:27:11 | 2013-07-18T08:36:12 | Mathematica | UTF-8 | R | false | false | 724 | r | newton_gamma.r | # Code spuRs/resources/scripts/newton_gamma.r
newton <- function(f3, x0, tol = 1e-9, n.max = 100) {
# Newton's method for optimisation, starting at x0
# f3 is a function that given x returns the vector
# (f(x), f'(x), f''(x)), for some f
x <- x0
f3.x <- f3(x)
n <- 0
while ((abs(f3.x[2]) > ... |
2f134344540af0d863a5bce26194293970462721 | 10cd4a108478b8b5ec91722d2058c85bafe0488f | /functionExercise.R | c32e3c3614e95592ae7e2a5df387edd92c215e7e | [] | no_license | Hyeongrok-Oh/inc02b | aaab8667b775f262545a0af13f404f7aeaa0492b | 8eba74f007d6f84c49228a1de0e52f0b800d964c | refs/heads/main | 2023-04-11T10:22:40.065077 | 2021-04-17T08:22:30 | 2021-04-17T08:22:30 | 358,799,034 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 177 | r | functionExercise.R | lightyear <- function(ly){
c <- 299792
lightMinute <- c*60
lightHour <- lightMinute * 60
lightDay <- lightHour * 24
lightYear <- lightDay * 365.2422
lightYear * ly
} |
333f6d5117c7c6aeeff0a4bee844eebad4e5d776 | 21352b887bc324c9ce82f0bc3652115e6e89b0c7 | /HR_vpc.R | 21af1a36676197cbab0891c422d7cf4543bcddb5 | [] | no_license | GiselleB33/TTEmanuscript | 636e6400efbe0b0be28b1e4767bbefd755378423 | 01a6140be9b3acf03afabe9a18eee5c7bd96d043 | refs/heads/master | 2021-05-14T13:13:46.629110 | 2018-01-04T22:24:00 | 2018-01-04T22:24:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,020 | r | HR_vpc.R | setwd('~/Documents/My Papers/2016-TTE Diagnostics/TTEmanuscript')
library(readr)
library(ggplot2)
library(dplyr)
library(survival)
library(purrr)
odat <- read_csv('final_mod/run6/TTEdat_v11.csv') %>%
filter(STIME==0)
ofit <- coxph(Surv(TIME,DV)~as.factor(dose)+x, data=odat)
simdat <- read_csv('final_mod/simulate... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.