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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
485a4948a26a887a4f76bffea2e6ce85b6ef64b6 | c0143d9d3b09ec8c7659a90b8534e568ca45db0b | /R/clean.R | 7779cfa0f6e303c517a2d037b1555a64a7945caa | [] | no_license | araupontones/muva_mapa_grupos | 66866e324346e2ab49dc9c2bbcaafb121395705a | edeacbfa26a97eb0af4c4e35c51e8950a303d4be | refs/heads/main | 2023-02-22T13:52:43.806500 | 2021-01-26T10:28:25 | 2021-01-26T10:28:25 | 317,214,188 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 596 | r | clean.R |
source("set_up.R")
#read shapefile ---------------------------------------------------------------
shape = import(file.path(dir_data, "districts.rds")) %>%
sf::st_as_sf()
provinces = import(file.path(dir_data, "provinces.rds")) %>%
sf::st_as_sf()
#esport list of districts --------------------------------------... |
9d2479eae249a79706fd24fa769164dd311e1dbc | 5dbc32d306cccc5aaccf9e42ee6edd1fe585f9ef | /Assignment 3 - Optimization/profiling.R | 681764d840efa7fe863c6f042f79a2457f1ab5ab | [] | no_license | Gumle/R_Code | 230d98f340d5819e342603dda4344b2fac4c9576 | 6740d300bb1d259dd8fc134d1f095a216ba54e00 | refs/heads/main | 2023-06-23T17:24:16.307341 | 2021-07-25T13:53:48 | 2021-07-25T13:53:48 | 389,350,489 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,740 | r | profiling.R | library(splines) # splineDesign (B-splines)
library(LaplacesDemon) # logit and invlogit
library(Rcpp) # c++
library(profvis) # profiling
library(numDeriv) # numerical methods for grad and hess
library(ggplot2)
library(ggpubr)
library(microbenchmark) # benchmarking
library(bench)
library(gridExtra)
library(dplyr) # d... |
ea28a37716556eb774b688cc725b32d22ff5ba7a | f08c51ed7b1fbef5cf6a8ceb612b5e37d4ba2caf | /tests/testthat/test_plot_karl.R | 4365db95f87e19249f23b4f87550edab8a070130 | [
"MIT"
] | permissive | UBC-MDS/Karl | be19f3af4738d2365969bc7257a5ee9f5233fcc2 | 0e098aff300c616cffa59069e56afb830b9fa93c | refs/heads/master | 2021-05-02T07:25:11.879781 | 2018-03-17T22:41:19 | 2018-03-17T22:41:19 | 120,827,883 | 0 | 4 | MIT | 2018-03-17T22:41:20 | 2018-02-08T22:52:05 | HTML | UTF-8 | R | false | false | 1,385 | r | test_plot_karl.R | # Test plot_karl function
# March 2018
## Packages
require(testthat)
require(matlib)
require(ggplot2)
require(gridExtra)
# Generate small data to test our function
set.seed(4)
X <- data.frame('X1' = rnorm(10))
y <- X$X1 + rnorm(10)
# True value of the coefficients
beta <- cov(X$X1, y)/var(X$X1)
alpha <- mean(y) - be... |
67738f4079df1d1f4284188937b6524664df344b | 9cd83b84a4caf9f977901a1f99e7060fdd12d369 | /server.R | 0e265e88733836cc4d1b5e72449409ddfddd1fff | [] | no_license | vijaygurram/Shiney-Application | bf5c8f5c3513e912c60c1eb74cdb8fb81a60910c | 37f8b73bb28d0d8e9aeb9e0203afff8937b80f03 | refs/heads/master | 2021-09-02T08:07:10.414000 | 2017-12-31T19:51:40 | 2017-12-31T19:51:40 | 115,882,517 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,060 | r | server.R | #
# This is the server logic of a Shiny web application. You can run the
# application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
library(caret)
library(lattice)
shinyServer(function(input, output) {
... |
d9454ca4aab17ee3b002619bb5a21944ca4ab285 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/heemod/examples/plot.run_model.Rd.R | 59b8baa84b16a792c345f59262de883b2404510f | [] | 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 | 721 | r | plot.run_model.Rd.R | library(heemod)
### Name: plot.run_model
### Title: Plot Results of a Markov Model
### Aliases: plot.run_model
### ** Examples
## These examples require \code{res_mod} from the hip replacement model discussed in
## `vignette("non-homogeneous", package = "heemod")`.
## Not run:
##D plot(res_mod)
##D
##D plot... |
0c4fe6df6442b3ff386b6a4dbd4ef8ad3fe6c35a | bbd73e22684497a51ec61013277dcce89d417485 | /src/4paleolibrary.R | d1afeb8e83b3f0935f8939d71d6b14a423c82048 | [] | no_license | tlaepple/paleolibrary | a432c6405388474ca3295fdc2aadd65f9f6edbac | daed039f08854dcbb99b8194fd99ce7fec662842 | refs/heads/master | 2021-01-23T08:34:51.242448 | 2011-10-31T18:27:44 | 2011-10-31T18:27:44 | 2,659,270 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 11,944 | r | 4paleolibrary.R | read_data<-function(FILENAME="C:/data/NCEP/DJFslp.nc",varname=NULL,name="",lonname=NULL,latname=NULL,missVal=c(-1e+20,1e+20)){
temp.nc = open.ncdf(FILENAME)
# read varname from temp.nc
if(is.null(varname)){
if(temp.nc$nvars>1){
varnames<-c()
for (i in 1:length(temp.nc$var)){
varnames<-c(varname... |
3ce49d4d44857435d27b9a5d4dcad62cce59d9f9 | bc743e2ba35582366ad8dce84feb6638578f5047 | /scripts/data import.R | a58075e00e49e9a2b9e15250204775992d31706f | [] | no_license | antoniojurlina/pdf_to_dataframe | 44423302e35ec446a99d353ff24356589d1f9969 | 4362eb64d8da8088bfc4ffcdec798a33c85359c8 | refs/heads/main | 2023-03-26T11:40:24.647210 | 2021-03-26T00:43:17 | 2021-03-26T00:43:17 | 351,613,023 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,534 | r | data import.R | library(stringr)
library(pdftools)
library(rebus)
library(ggplot2)
library(here)
paste0(here(), "/data") %>% setwd()
text <- pdf_text("PUBLICINFO-April-2017-pages-deleted.pdf")
text2 <- strsplit(text, "\n")
text2 <- lapply(text2, function(x) {x[-c(1:4,43:44)]})
text2[[1]] <- text2[[1]][-1]
text2[[118]] <- text2[[11... |
8bd8fde3e7c1f59ce9518cd02e5f434e24c7a570 | 0b551347a29f4e01e9273615ce0c5242f9bdb63a | /pkg/man/change_static_data-methods.Rd | 59395b9637b42e3b8c29291140885e3b329630d8 | [] | no_license | timemod/dynmdl | 8088fecc6c2b84d50ecb7d7b762bddb2b1fcf629 | 8dc49923e2dcc60b15af2ae1611cb3a86f87b887 | refs/heads/master | 2023-04-07T21:30:53.271703 | 2023-03-03T13:02:30 | 2023-03-03T13:02:30 | 148,925,096 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,624 | rd | change_static_data-methods.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/DynMdl_doc.R
\name{change_static_data-methods}
\alias{change_static_data-methods}
\alias{change_static_data}
\alias{change_static_endos}
\alias{change_static_exos}
\title{\code{\link{DynMdl}} methods: changes static values of the endogenous o... |
c8033da8a39b88ba54c028bd491350bebaeb836a | 07a39081d79b5d49621e930c2926bec84f183c57 | /man/sequences.Rd | cbb8f6012bb44957808efc415d03c26c51447052 | [] | no_license | cran/rbiom | c5f6651d21e823bc5e39871d0b48d7e15f54e819 | 1c5e63055e46beb062889e266b6f0d1d99b1602a | refs/heads/master | 2023-08-28T00:49:57.085746 | 2021-11-05T04:50:02 | 2021-11-05T04:50:02 | 267,133,395 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,427 | rd | sequences.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/accessors.r
\name{sequences}
\alias{sequences}
\title{DNA sequence associated with each taxonomic identifier.}
\usage{
sequences(biom)
}
\arguments{
\item{biom}{A \code{BIOM} object, as returned from \link{read.biom}.}
}
\value{
A... |
53ec5c1a82e48171ff98a6949d9c98cedccf6e9f | 78a8b1cfeda6b23dba4085aa6caf963ae14a7204 | /src/parseCentipedeTop5K.Pwm.v2.gmb.R | 0a0491803c730dddb35b417b6b3515956b2d9e44 | [] | no_license | piquelab/which_gen_vars | 389b95b7f8accdc461b7406202a4b5b3d405c42a | e7b236b283fad2cf15fcac7194a79390f48a8d16 | refs/heads/master | 2020-12-08T19:57:46.849921 | 2016-08-27T17:47:18 | 2016-08-27T17:47:18 | 66,727,747 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,399 | r | parseCentipedeTop5K.Pwm.v2.gmb.R |
baseFolder='initial/combo/'
library(centipede)
library(MASS)
cargs<-commandArgs(trail=TRUE);
if(length(cargs)>=1)
pwmName<-cargs[1];
if(length(cargs)>=2)
seedFolder<-cargs[2]; # pwms/seed/
if(length(cargs)>=3)
outFolder<-cargs[3];
system(paste("mkdir -p",outFolder));
aux <- read.table("factorNames.txt",sep="\t",as... |
15c86b1592dc359c5262255f3d5fe42e2cf0a156 | 0b4e456aed1637f0cb6e08ad49b7392867b9aec8 | /data-raw/makeAmpliciationLookup.R | 86d72e1f14838cc9b522c8ba1958366061e22ae0 | [] | no_license | sherrillmix/ampCountR | 88854a1a9e24f77a27b42a0ee1e9dd7a02bcd3a8 | 2c7eb3a8d19f6221a73459ad6fb81f93e0e18875 | refs/heads/master | 2020-12-25T22:08:22.048533 | 2016-10-21T11:07:32 | 2016-10-21T11:07:32 | 37,539,674 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 366 | r | makeAmpliciationLookup.R | ##File name: makeAmpliciationLookup.R
##Creation date: Aug 31, 2015
##Last modified: Thu Oct 01, 2015 08:00AM
##Created by: scott
##Summary: Generate the lookup table in /data
amplificationLookup<-ampCountR::generateAmplificationTable(300,300)
save(amplificationLookup,file='data/amplificationLookup.RData')
tools::res... |
bf7d1d50a9063d4e2e69a0ec92457124623587fa | 4647f7b395489d3a5e69d9ee1a1d7de0fb98fdd6 | /220404/Spearman.R | a586980a3a9f4e1b47af6477727f7fa4b53dc2a0 | [] | no_license | IvanWoo22/DayDayUp | 83e60ab63035d6583a4d6af3b4f3118fedd26287 | 1398157f59ef6efde045c0127c4ab6498cc67f8e | refs/heads/master | 2023-08-16T22:27:29.004708 | 2023-08-16T01:12:42 | 2023-08-16T01:12:42 | 152,426,297 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,574 | r | Spearman.R | #!/usr/bin/env Rscript
library(ggplot2)
library(ggsci)
library(gridExtra)
library(foreach)
library(doParallel)
library(readr)
setwd("~/wyf/cancer_DNAm_distance")
Args <- commandArgs(T)
data_path <- Args[1]
output_path <- Args[2]
do_spearman <- function(Site, Exp) {
test_out <- cor.test(
rep((1:7), sum(Exp)),
... |
7d4608d4303ea38cc82a0a428b45c85a647c1610 | 6d750f5a0cc1a77a8638756041b4902c48ed5343 | /server.R | eb1a06ffa8b23286a84e9e6672052dcf3e3efd66 | [] | no_license | sbalandtsc/DevelopingDataProducts | 47b7f6e43f8480449b4d6554ee1c4209b5713166 | 7eb5d5579daf5beab0e036e55a208da4ba0029bc | refs/heads/main | 2023-02-03T21:53:17.897073 | 2020-12-15T22:18:48 | 2020-12-15T22:18:48 | 321,802,390 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,076 | r | server.R | #
# This is the server logic of a Shiny web application. You can run the
# application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
# Define server logic required to draw a histogram
shinyServer(function(input... |
7a0bbff3a28c9cf67399f9782f16a4bc72003d06 | 51a885d284859c96bfb46e1adb8b52005138cab9 | /teaching/teaching_files/CSP519_SP17/labs/Lab5/Lab5.R | 75886b655b7ad7744dfe821399bcc3e0a6e9eae9 | [] | no_license | wbushong/wbushong.github.io | 8ab3411993ec8844a55cb3d0f58eda4b209300c2 | 640539969c63b3f1121d7c4c4b80f1e86a7d7e6d | refs/heads/master | 2022-07-19T12:53:14.737578 | 2022-06-21T16:16:01 | 2022-06-21T16:16:01 | 56,018,765 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,473 | r | Lab5.R | #########################
## Lab 5
#########################
# rgl will let us plot in 3 dimensions
library(rgl)
library(ggplot2)
# Load data & inspect
d <- read.csv("InteractionData.csv")
head(d)
summary(d)
#### Categorical x Categorical Interactions ####
# Plotting
# relevel factors
d$Grade <- factor(d$Grade, lev... |
263afcee2f540baf63b827691736ce1f89e9d2f6 | 4592565db17d3d5a4bfa8fc820d7516beb4fa115 | /demo/seminr-cbsem-cfa-ecsi.R | 71f6ed24c669631e400d7534ea00dac25b7c4c4e | [] | no_license | sem-in-r/seminr | 1b370286c58f4e658a02fb5df21fabe585fcfb4a | ae2524aae5f4f0bda3eb87faf80378af5baccea1 | refs/heads/master | 2023-04-04T00:29:48.969724 | 2022-06-30T17:02:07 | 2022-06-30T17:02:07 | 70,557,585 | 49 | 16 | null | 2022-10-13T15:22:28 | 2016-10-11T04:58:23 | R | UTF-8 | R | false | false | 2,605 | r | seminr-cbsem-cfa-ecsi.R | # Demonstration of specifying and estimating covariance-based models
# - Confirmatory Factor Analysis (CFA) conducted to confirm measurement model
# - Full structural equation model (CBSEM) conducted to confirm structural model
library(seminr)
# Get data from file or elsewhere.
# For this demo, we will use the inclu... |
6609b7a5edc97c986fd33ce8304d3dd8d1c8fde9 | 9cc58a8eb35ba76bfac93e44722d859a10b1f064 | /threeHDP/main/alphaInitgc.R | f07be3edfc89370627ae5e21ea24b85d3e688bd3 | [] | no_license | gradjitta/WorkingCode | 8400a3a7c8cd7b1145d382d381cc5ff8c4b0b289 | 64e07620b5894889b0b6a15d12c311839895ca86 | refs/heads/master | 2020-06-05T12:15:29.651940 | 2014-12-31T20:51:19 | 2014-12-31T20:51:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 398 | r | alphaInitgc.R | alphaInitgc <- function(paths, L, lookup, phi, K0) {
emit <- paths$emit
Np <- length(paths$grids)
N0 <- dim(phi)[2] / 2
n1 <- which(paths$grids[[1]] == lookup)
alpha <- lapply(1:Np, function(i) NULL)
for (i in 1:Np) {
nc <- which(paths$grids[i] == lookup)
if (sum(nc) == 0) {
alpha[[i]] <- rep(... |
96f9ad8fd4a4982154b97c18efca753d03933fae | 6129f3f9d25c5b3c09b378f46e1550f132be9490 | /man/sumTable.Rd | f3b4e67cb79acb1d7531e5dcae7a58123a5dcd95 | [] | no_license | andreasnovotny/metaphylo | 35c4bbba2f587c915b3ee801cc2b00cea021f58e | 0172b136f48b3e0c2a5534947e5d0521025af888 | refs/heads/master | 2022-04-04T08:51:03.389255 | 2020-02-20T14:34:25 | 2020-02-20T14:34:25 | 142,552,505 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,378 | rd | sumTable.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/code.R
\name{sumTable}
\alias{sumTable}
\title{Construct Summary table for barplots}
\usage{
sumTable(
data,
x = "Genus",
y = "Abundance",
variables = c("Family", "Class", "Order")
)
}
\arguments{
\item{data}{(Required) A phyloseq obj... |
9330c5f0dc09e325fcdfc7a9605ba8b4b557df16 | 384c3dbc571be91c6f743d1427dec00f13e0d8ae | /r/kernels/vladtasca-titanic-random-forest-80/script/titanic-random-forest-80.R | f3bb808efa0707d74964c4944c84c17abb2bbe45 | [] | no_license | helenaK/trustworthy-titanic | b9acdd8ca94f2fa3f7eb965596eed4a62821b21e | ade0e487820cf38974561da2403ebe0da9de8bc6 | refs/heads/master | 2022-12-09T20:56:30.700809 | 2020-09-10T14:22:24 | 2020-09-10T14:22:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,559 | r | titanic-random-forest-80.R | # Draft First Attempt -- Random Forest
#Loading many unnecessary libraries
#vis
library('ggplot2') # visualization
library('ggthemes') # visualization
library('ggridges') # visualization
library('ggforce') # visualization
library('ggExtra') # visualization
library('GGally') # visualisation
library('scales') # visual... |
59940bc0fb0f79a8286e250948b2a4e628bb7031 | b23fe1e6bd8d1ae11b45f74010cdf714da2d77e7 | /plot4.R | ce1788872ee9443ec41687a0fdc74e2bddf4f6c5 | [] | no_license | premziom/ExData_Plotting1 | 606a2f8561e7326fe0706ed3bc68954fcf665acc | 4c6001957539a7b3693e126e9d16b894a0396bb6 | refs/heads/master | 2021-05-07T01:36:01.498747 | 2017-11-11T17:22:41 | 2017-11-11T17:22:41 | 110,364,140 | 0 | 0 | null | 2017-11-11T17:10:47 | 2017-11-11T17:10:46 | null | UTF-8 | R | false | false | 1,580 | r | plot4.R | #downloading zip file
url='https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip'
zipfile='project_w1_data.zip'
file='household_power_consumption.txt'
if (!file.exists(zipfile)){
url
download.file(url,zipfile)
}
#unzipping data file
if (!file.exists(f... |
01cc205e0bc0332744264608a9aeb870ada00355 | a455c79481abe8622da165a54bce1366474a854a | /.Rprofile | 440f724940952aff14cf8867d56d61a7ebdd3fc5 | [
"LicenseRef-scancode-public-domain",
"CC0-1.0"
] | permissive | PERTS/gymnast | 9f6aa7284791320640c8356e425f5309ba62ea6c | 56b76235c9d5c121108b70374dfa0cc9e4b7d456 | refs/heads/master | 2023-06-30T17:30:26.579348 | 2023-06-14T20:14:58 | 2023-06-14T20:14:58 | 46,515,070 | 3 | 1 | NOASSERTION | 2023-08-25T15:51:16 | 2015-11-19T19:24:51 | HTML | UTF-8 | R | false | false | 845 | rprofile | .Rprofile | options(
repos = "http://cran.rstudio.com/", # needed to install any packages
install.packages.check.source = "no" # prefer binary packages
)
if (!"modules" %in% utils::installed.packages()) {
# Without the INSTALL_opts here, some environments using this .Rprofile file
# can get in a recursive loop. R starts a... |
671aaa84f31d7460e519695b64fb45e7c3ad590a | 630ffaea8d8b0d2b33d0b22cb079fa65210580ff | /Chapter6.R | 11055503776abac258102e220e2b00f448756e11 | [] | no_license | ayusharora99/AnalyzingBaseballDataWithR | 3865419fcf656223500a03d22aadd43f53c0e3ed | d4eefc56319eed0527cc80a38ac1f9839bc0dca3 | refs/heads/master | 2020-03-23T04:24:54.648990 | 2018-12-24T04:07:03 | 2018-12-24T04:07:03 | 141,082,009 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,367 | r | Chapter6.R | load("~/Desktop/Analyzing Baseball Data with R/baseball_R-master/data/balls_strikes_count.RData")
library(lattice)
sampleRows = sample(1:nrow(verlander),20)
verlander[sampleRows,]
histogram(~ speed, data = verlander)
# Speeds of Verlander's 5 Pitch Types
densityplot(~speed, data=verlander, plot.points=FALSE)
densitypl... |
985d0a3515722a35fd5273ddf5ae99f3c6424dfc | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/test-suite/r/r_copy_struct_runme.R | deadc61fed8f671d490e49e96fb8c16eb374cf60 | [
"LicenseRef-scancode-swig",
"GPL-3.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-3.0-only",
"Apache-2.0"
] | permissive | inishchith/DeepSpeech | 965ad34d69eb4d150ddf996d30d02a1b29c97d25 | dcb7c716bc794d7690d96ed40179ed1996968a41 | refs/heads/master | 2021-01-16T16:16:05.282278 | 2020-05-19T08:00:33 | 2020-05-19T08:00:33 | 243,180,319 | 1 | 0 | Apache-2.0 | 2020-02-26T05:54:51 | 2020-02-26T05:54:50 | null | UTF-8 | R | false | false | 924 | r | r_copy_struct_runme.R | clargs <- commandArgs(trailing=TRUE)
source(file.path(clargs[1], "unittest.R"))
dyn.load(paste("r_copy_struct", .Platform$dynlib.ext, sep=""))
source("r_copy_struct.R")
cacheMetaData(1)
a <- getA()
r = getARef()
unittest(A_d_get(r), 42)
unittest(r$d, 42)
unittest(r$i, 20)
# An error in trying to access a field tha... |
e6775e3ecaedf2e77fab4e4f29e6ed3394062ac4 | f7fd8f3bf040c655a8b4fa6ba36f0f956c08763d | /Spatial-Data-Analysis/Project-2/Code/code.r | feac921dbcd8cc965bbdbcf9ce4ba0bb7b8ba344 | [] | no_license | CharuSreedharan/Spatial-Data-Analytics-Projects | 1f27bb2b3c75a31d1d37e379618d093f3a09ced4 | a3f2c6adfc6d4ea9a78a07e5943f2cb4b8c62240 | refs/heads/master | 2020-07-25T05:55:26.601928 | 2019-09-13T03:27:11 | 2019-09-13T03:27:11 | 208,187,966 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 8,606 | r | code.r |
require(rgdal)
# Read .shp file from below path
ogShape <- readOGR(dsn = "D:/UPitt/Studies/Sem 2/Spatial DA/Projects/Project 2/OilGasLocationPA/OilGasLocationPA", layer = "OilGasLocationPA")
# Convert SpatialPointsDataFrame object to DataFrame object
coordsdf<-data.frame(coordinates(ogShape))
(1)
require(spatstat)
... |
5aee15a182900d03d77f9597dda169491c57bfa9 | 552268b865147788b76440c8304fa81a68f1f25b | /R/numeral.R | 6039ed44c9ee63c07783f0f07c1082cac6f7d4ee | [
"MIT"
] | permissive | joeroe/numerals | 3b3ff170b26bbaa3120e90344f0844fc7cf8e03d | 1789f221a705163a9166417ccc6bb0ab8d06344f | refs/heads/master | 2023-05-27T05:37:44.480957 | 2023-05-14T11:21:19 | 2023-05-14T11:21:19 | 336,278,911 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,842 | r | numeral.R | # numeral.R
# S3 vector class numeral (numr): numerics in other numeral systems
methods::setOldClass(c("numeral", "vctrs_vctr"))
# Construct ---------------------------------------------------------------
#' Numeral class
#'
#' @description
#' The `numeral` class extends the base numeric vectors with methods for
#' ... |
089fe8e18ab883182eec7ab46c2d0ffc22d2a8af | 33fbc6c3ee8736c631cee0068168fd8c5c50801f | /env/sea_surface_temperature/visulaize_sst.R | 2f24081a01f64f382874c65d721ef2f14e4a6d8f | [] | no_license | wei51/global-climate-change | 0c76b645a901b346ed7a4ea4646f1c314620798c | b69e1190591a0365a7f05456ae1406d8cf04fb22 | refs/heads/main | 2023-04-23T17:50:17.399481 | 2021-05-03T15:04:40 | 2021-05-03T15:04:40 | 363,795,482 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,822 | r | visulaize_sst.R | library(maps)
library(fields)
rotate <- function(x) t(apply(x, 2, rev))
in_path <- ''
DATRAS_anomaly <- as.matrix(read.table(paste0(in_path,'sst_anomaly_allyear_mean_till_2011.csv'),F,','))
y2 <- seq(49.5,61.75,0.25)
x2 <- seq(-4,12.75,0.25)
jpeg(filename = './output/sst_anomaly_allyear_mea... |
caa7b46e05992ccbe83fb49cbe06de522361865a | 7c72684b7321943f89c6a3134bf0b7cd7012c93c | /emacs/emacs_key.rd | 8e7e44ade60280c75240330fef62ca11da973e34 | [] | no_license | shokichi/memo_rd | a03e9dbce2d8e5fe81f6a4f37729d7617cc7adf7 | 16bb566e9b82575dfc0bdc26fa487e9a5d7d66bd | refs/heads/master | 2016-09-10T19:43:51.201580 | 2015-08-20T06:36:57 | 2015-08-20T06:36:57 | 12,355,412 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,373 | rd | emacs_key.rd | #####################################
# Emacs コマンド集
#
#####################################
=begin
= Emacsコマンド集
Emacsのコマンドをひたすら載せていく
* 書き方
C : Ctrl
M : Alt, Esc, C-3
== 窓の操作
* 縦に分割
C-x 3
* 横に分割
C-x 2
* 削除
* 自分のいるウインドウを削除
C-x 0
* 自分のいるウインドウ以外を削除
C-x 1
* 時計回りに移動
C-o
== ターミナル
emacs上で... |
ade52b97b2de44f5319c85f0a5efa507e01f72e8 | 5ce323d11a47f8f5d48376e36800e9d9982dee0c | /R/01_download_data.R | 25887c61dc589c551c9e65df9e271fdf0215ae5d | [] | no_license | jhmatthes/NEON_NScaling | 5dddc5f843beee82c48a5d284e056d6274296bcb | 4c01c67941a4d6cc5b4de794c0691f3261beaacf | refs/heads/master | 2022-07-10T18:59:06.703191 | 2022-06-22T16:00:49 | 2022-06-22T16:00:49 | 223,509,417 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,210 | r | 01_download_data.R | # This code downloads and stacks 5 NEON data products used in the NEON N Across Scales manuscript.
#
# You will only need to run this code once to download the data and unzip the files
# to stack the data into merged files by data product.
#
# The neonUtilities loadByProduct() function downloads and stacks data produ... |
6e76bbf7e54da7ebd0517113b98809160053f63b | fef507ac41bb7749840e7f5141ba87fde26d6f95 | /code/analysis/15_cell_composition/99-archived/Plot_dom_cell.R | 809e3a253a9559c9292d67425d860eaa71566220 | [] | no_license | LieberInstitute/spatialDLPFC | 84bc2f0b694473182d315b4d39ab3d18c2dd3536 | 840700ae86cdd414e024d9658b09dd11712ef470 | refs/heads/main | 2023-08-04T03:37:18.425698 | 2023-07-25T18:27:36 | 2023-07-25T18:27:36 | 314,001,778 | 6 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,914 | r | Plot_dom_cell.R | # Load Packages
library(tidyverse)
library(here)
library(SpatialExperiment)
library(ggpubr)
library(spatialLIBD)
# Load Spe Object
spe_dat <- readRDS(
here(
"processed-data/rdata/spe",
"01_build_spe",
"spe_filtered_final_with_clusters_and_deconvolution_results.rds"
)
)
# Subset
samplei... |
416c2fed3ccaf6cd37976ef30640e8e4f363e703 | 586489bbdd1ce77280e9fc9bece56347aadb2324 | /R/mergeAltLociInfoTables.R | 129d1be0b4d51f453df35c3ce8052b50fd059f0a | [
"CC-BY-4.0"
] | permissive | anykine/asdpex | 4e6eb16a7537ce6db2163c62ede24ea276a97936 | 688a923f297338f0053c94d620a8601b1c4d9203 | refs/heads/master | 2022-12-26T00:26:26.799728 | 2019-12-12T12:36:51 | 2019-12-12T12:36:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,110 | r | mergeAltLociInfoTables.R | ##
# Script to combine the tables containing alt loci infos from NCBI into a single one
##
## PATHES
regionPath<- "/home/mjaeger/data/NCBI/HomoSapiens/GRCh38.p2/genomic_regions_definitions.txt"
placementPath<- "/home/mjaeger/data/NCBI/HomoSapiens/GRCh38.p2/all_alt_scaffold_placement.txt"
accessionsPath<- "/home/mjaege... |
9fa789076e157c30149d1749d5f49b7b561fa9f0 | 3daa44ce7b08fbb7755a73fe694876883efdcde2 | /plot1.R | abfdd80ca7b31a2fbd39516bbf90a0efc43467d8 | [] | no_license | Sykonba/ExData_Plotting1 | 2d4f961932663bb64e7b15fc733b7ae97a922368 | ce842a9f1fa961c81d28c9208058b35142fe3fa3 | refs/heads/master | 2021-01-19T07:48:28.181620 | 2015-11-08T20:49:14 | 2015-11-08T20:49:14 | 45,792,814 | 0 | 0 | null | 2015-11-08T18:23:22 | 2015-11-08T18:23:22 | null | UTF-8 | R | false | false | 267 | r | plot1.R | source("readFile.R")
png(filename = "plot1.png",
width = 480, height = 480)
hist(subsetDate$Global_active_power,
col = "red",
main = "Global Active Power",
xlab = "Global Active Power (kilowatts)",
breaks = 12, ylim = c(0, 1200))
dev.off() |
6632518a3f1f47a21871918ebc363264e635919e | 3d99ce77bf27d57da08cc0fa472d9a1601d68b90 | /R/makeMulticoreCluster.R | 32856dfa1984de8620fd998f672e4d106986b42d | [] | no_license | shadogray/parallelMap | 5865a2e886211e2b2868118012704c19a25b4d51 | 101b91d904095cf9d4e2da48edb33a86499bac0a | refs/heads/master | 2020-04-29T09:01:36.625362 | 2018-08-14T07:20:26 | 2018-08-14T07:20:26 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 799 | r | makeMulticoreCluster.R | # fake cluster constructor mimicking makeCluster to store some settings.
makeMulticoreCluster = function(mc.preschedule = FALSE, mc.set.seed = TRUE, mc.silent = FALSE, mc.cleanup = TRUE) {
assertFlag(mc.preschedule)
assertFlag(mc.set.seed)
assertFlag(mc.silent)
assertFlag(mc.cleanup)
x = get(".MulticoreClust... |
99bea596893cbc16506f3494988d7764df0f41fe | 91dbaca77d4de370037fe1b2ac61408e9835ee7d | /server.R | 9df9c54d19d22b69666629786c9f480f40f08140 | [] | no_license | zachf1989/Developing-Data-Products | fa6997c4517f15d22c4b41ee1b401afb56c05767 | 0f6749242c353ba4a75534c240dd6a553671fb73 | refs/heads/master | 2020-04-27T22:59:21.870616 | 2015-02-22T17:40:20 | 2015-02-22T17:40:20 | 31,172,123 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 923 | r | server.R | library(shiny)
library(ggplot2)
shinyServer
(
function(input, output)
{
result <- reactive(
{
if (input$to == input$from)
{
input$amt
}
else if (input$to == "EUR")
{
input$amt * 0.88
}
else
{
input$amt * 1.14
}
... |
b09c9fc94db72c7bd7473416fc60496584d3c9b9 | 5f7535a265c288acef289162ebca3b9a3b49ee63 | /R/utils.R | 6de50fb02f297d7af5a5df0bbc0807b88503b606 | [] | no_license | dgarmat/RxNormR | 220b2757cc93c7bc9946b39181a4e61be77bad4f | 2c5cb0e47f505e0c8ac9b63c2ea8177e3853c3f4 | refs/heads/master | 2021-05-31T10:52:20.061321 | 2016-05-13T00:59:55 | 2016-05-13T00:59:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 248 | r | utils.R | restBaseURL <- "https://rxnav.nlm.nih.gov/REST/"
# Generic parser function for various response types.
parse_results <- function(result) {
if(status_code(result) != 200){
NULL
} else {
resContent <- content(result)
resContent
}
} |
505e8d85a469c1d5f017b59cdb5693b649a1d330 | 2d34708b03cdf802018f17d0ba150df6772b6897 | /googlecomputealpha.auto/man/ForwardingRulesScopedList.Rd | a5d05adf1412ff97670b73b7f004250be1245360 | [
"MIT"
] | permissive | GVersteeg/autoGoogleAPI | 8b3dda19fae2f012e11b3a18a330a4d0da474921 | f4850822230ef2f5552c9a5f42e397d9ae027a18 | refs/heads/master | 2020-09-28T20:20:58.023495 | 2017-03-05T19:50:39 | 2017-03-05T19:50:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,150 | rd | ForwardingRulesScopedList.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/compute_objects.R
\name{ForwardingRulesScopedList}
\alias{ForwardingRulesScopedList}
\title{ForwardingRulesScopedList Object}
\usage{
ForwardingRulesScopedList(ForwardingRulesScopedList.warning = NULL,
ForwardingRulesScopedList.warning.data... |
47afc271b3a8e45bdb2f4946467b69fe5234d52e | 5b41f1a13aeda422f3ea8aa23e76524bc93b9ef2 | /tests/testthat/test_format_muts.R | f15513690b15625bf6350391bd492b005944bb24 | [] | no_license | reimandlab/ActiveDriverWGSR | d18dce5ca796c23c442bab1a88aad58a7acec90b | 846adf970d31f5ade0815c76c391010ef9472303 | refs/heads/master | 2022-10-04T13:58:22.633394 | 2022-09-03T17:00:00 | 2022-09-03T17:00:00 | 163,240,034 | 3 | 8 | null | 2020-09-07T13:37:22 | 2018-12-27T02:58:28 | R | UTF-8 | R | false | false | 3,365 | r | test_format_muts.R | context("Testing the function of the format_muts function")
# loading mutations
data(cll_mutations)
# Formatting muts
this_genome = BSgenome.Hsapiens.UCSC.hg19::Hsapiens
formatted_muts = format_muts(cll_mutations[1:10,], this_genome = this_genome)
test_that("format_muts returns a data frame with the right columns",{... |
251835366ec258bd17a6cc6ae794d0a1cb54dd4a | 969e1c4b5ba41f2a79beac71e0e842adb514f6df | /man/plotIdFDRspace.Rd | d4ae5364e34a93ccf7d1a10a76901b72398fd5b1 | [
"Apache-2.0"
] | permissive | kiahalespractice/CCprofiler | 8f45fdef5593ef1b5d23454c27661fbce9655338 | 60e24828349b7c03bf82d9f178353c0e41a95565 | refs/heads/master | 2023-07-12T10:09:56.710306 | 2021-05-14T11:28:03 | 2021-05-14T11:28:03 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,710 | rd | plotIdFDRspace.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getBestFeatureParameters.R
\name{plotIdFDRspace}
\alias{plotIdFDRspace}
\title{Plot FDR gridsearch}
\usage{
plotIdFDRspace(grid_search_stats, best_parameters, level = "complex",
id_level = "TP", FDR_cutoff = 0.1,
colour_parameter = "min_f... |
8923fa5d3a1ca177c05f88cad4cb356753240337 | 90e772dfeb9fc441424dcf5e5beaa545af606f1c | /R/testNeutral.R | 929bda276b639d6e8539d37f0147c89972a4a9fd | [
"GPL-3.0-only"
] | permissive | chenjy327/MesKit | 97d356c8c8ac73493ba6f60488d5a0c6aae23092 | c9eb589fca6471e30e45cb9e03030af5ade69f83 | refs/heads/master | 2021-08-17T07:48:53.618404 | 2021-06-24T06:19:08 | 2021-06-24T06:19:08 | 304,196,319 | 0 | 0 | MIT | 2020-10-15T03:10:38 | 2020-10-15T03:10:37 | null | UTF-8 | R | false | false | 9,744 | r | testNeutral.R | #' testNeutral
#' @description Evaluate whether a tumor follows neutral evolution or under strong selection during the growth based on variant frequency distribution (VAF) of subclonal mutations.
#' The subclonal mutant allele frequencies of a follow a simple power-law distribution predicted by neutral growth.
#'
#'... |
71dbdbd059c3923adb690e3d18dbc83f8b47a098 | 7b97530578050b52cedf88f1314a91610b3fb510 | /R/estFixeff_adptGH.r | 8df779164606929b527ea101722fe5984c9f48c9 | [] | no_license | oliviayu/HHJMs | 8a1637ddb842556d417a496316e6e0a3fa0783e4 | 34e3cfb99b736947500f2925921824f942a211cb | refs/heads/master | 2021-01-01T03:32:51.818731 | 2020-03-25T23:19:54 | 2020-03-25T23:19:54 | 57,276,395 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 6,685 | r | estFixeff_adptGH.r |
# This function estimates the fixed parameters in the
# joint models, by maximizing the profile h-likelihood function.
### Gradient OK. (Jan 24, 2017)
estFixeff_adptGH <- function(RespLog=list(Jlik1, Jlik2),
fixed=names(fixedest0), # pars to be estimated
... |
c9fc9dec5026dfe0adc4461ee0b88f0f99d2bdd4 | ec52b16379ae82af0357468a63aa2259282b8436 | /Excercise 2 Stochastic gradient descent/stochastic gradient descent/gradient descent functions.R | 54c41de76c5700ac7ca0b5561db72b59a2e631c4 | [] | no_license | yinanzhu12/SDS385-Statistical-Models-for-Big-Data | 17b7c0d02e85d243070ce690234c8047d942682c | d08d647efe4259876bab1be8a83247701359e40d | refs/heads/master | 2021-08-30T12:31:08.237655 | 2017-12-18T00:17:46 | 2017-12-18T00:17:46 | 103,061,247 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,109 | r | gradient descent functions.R | omega=function(X,beta){
return=as.vector(1/(exp(-X%*%beta)+1))
}
grad=function(omega,y,X){
return=as.vector(crossprod(omega-y,X))
}
nllh=function(omega,y){
r=0
for(i in 1:length(y)){
if(y[i]==1)r=r-log(omega[i])
else r=r-log(1-omega[i])
}
return=r
}
#run stochastic gradient decent on training dat... |
6e49c3ad947e5a19c33948700275e65f6d5b9bde | 5ccd04c7de5ddf0d8b413b31a98ffd8a46a62d6e | /R/velocity.R | a04547c2b035e96fa43dcd6d62e8c1960030307f | [] | no_license | davidecannatanuig/openFaceR | 3e812e37a1ace99e07574f9e6448eaaa6ccfd17a | b041319a77baf70eb1ff7427759085ff3e32f2fd | refs/heads/master | 2023-04-27T14:40:24.224616 | 2023-04-13T10:58:49 | 2023-04-13T10:58:49 | 283,229,605 | 7 | 1 | null | 2020-10-19T21:52:49 | 2020-07-28T14:03:03 | R | UTF-8 | R | false | false | 366 | r | velocity.R | #' Calculate velocity.
#' calculate the difference of values in each ordered value of an array
#' @param x The array to transform
#' @return an array of same length (first value is NA)
#' @examples
#' moving_difference(c(1,4,-2, 2))
moving_difference <- function(x){
y <- array()
for (i in 1:(length(x)-1)){
... |
2769d8b271cee836dd8a4cb334a78f5c0ef5a859 | 6a28ba69be875841ddc9e71ca6af5956110efcb2 | /Linear_Algebra_And_Its_Applications_by_David_C._Lay/CH1/EX1.17/Ex1.17.R | 0190b57af0350f835921aab184dfe5a2106b536f | [] | permissive | FOSSEE/R_TBC_Uploads | 1ea929010b46babb1842b3efe0ed34be0deea3c0 | 8ab94daf80307aee399c246682cb79ccf6e9c282 | refs/heads/master | 2023-04-15T04:36:13.331525 | 2023-03-15T18:39:42 | 2023-03-15T18:39:42 | 212,745,783 | 0 | 3 | MIT | 2019-10-04T06:57:33 | 2019-10-04T05:57:19 | null | UTF-8 | R | false | false | 502 | r | Ex1.17.R | #Chapter 1 - Linear Equations In Linear Algebra
#General solution of the system
#Page No.35 / 1-23
#Prob 13
#1.5.13
#clear console
cat("\014")
#clear variables
rm(list=ls(all=TRUE))
xv<-c(5,-2,0)
x=matrix(xv,
nrow=3,
ncol=1,
byrow=TRUE)
x1v<-c(4,-7,1)
x1=matrix(x1v,
... |
748b0944339f31a9a5490405ec77ba483b64eb65 | 620877d62aa98a958b59dc70b727e3e323072475 | /Chapter 6 Inference for Numerical Data.R | 424387d97738a2ed088d5b9dfc68151686f1cd07 | [] | no_license | JoshuaHaden/Data-Analysis-and-Statistical-Inference-Data-Camp | 0cade99eb3e8689313fe0e8f1e97c6b6a4f860c7 | 1de7cae8234619e6ffb2db021343cb2423334bd1 | refs/heads/master | 2021-01-23T12:05:00.645205 | 2017-09-06T18:38:55 | 2017-09-06T18:38:55 | 102,644,877 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,199 | r | Chapter 6 Inference for Numerical Data.R | ###Chapter 6 Inference for Numerical Data
###North Carolina Births
# Load your dataset:
load(url("http://assets.datacamp.com/course/dasi/nc.Rdata"))
# List the variables in the dataset:
names(nc)
###A First Analysis
# The nc data frame is already loaded into the workspace
# Compute summaries of the data... |
b47b9d4cf82c6831d9b2f522b6da48d5cf85feb8 | 2fac645ca865f8cbe2f680332e54dba56419cbb6 | /forecast_tobacco_gpr/05_graph_results_logit.R | bde72431ee64c88a0d859b7393a95a6682896059 | [] | no_license | reedblog/work | a833a3a9e86839594d2f5904ffa5a569f5accac7 | 4395b4346c721f504dccd28cdf7330c2d4d07758 | refs/heads/master | 2021-01-01T05:35:46.136469 | 2015-04-17T00:23:19 | 2015-04-17T00:23:19 | 31,869,279 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,983 | r | 05_graph_results_logit.R | #
# 05_graph_results.R
# Graph the output of spacetime GPR
#
# Reed Sorensen, March 2015
#
require(dplyr)
require(data.table)
require(ggplot2)
require(boot)
project_name <- "forecast_tobacco_gpr"
output_name <- "logit_rescaled_l2_o05_z99_1333_bothsexes"
adjustment <- 1.333333
out_of_sample <- FALSE
oos <- ifelse(out... |
776accab544d647b67e5a4027e2d1207d7c1cc99 | 61f270f58408435d53b9892cf9b7ec7847b33e3d | /R/biADMM.speed.R | 7601b9da9bbd62ae6bb2a103cca29578458f4291 | [] | no_license | sakuramomo1005/biADMM | 37cfcea1a41c946a3324d20edbf9ecfc1ccdae58 | 6c2612137c9435cc37bd1d3610e01b22497535b6 | refs/heads/master | 2023-03-26T22:36:07.944591 | 2021-03-22T15:48:05 | 2021-03-22T15:48:05 | 350,109,657 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,384 | r | biADMM.speed.R | #' bi-ADMM: a Biclustering Algorithm for the General Model (faster version)
#'
#' Same algorithm as \code{biADMM}. Call python code to speed up the running time.
#' @param X The data matrix to be clustered. The rows are the samples, and the columns are the features.
#' @param nu1 A regularization parameter for row shri... |
7730bfcc4866b836f6669828bc33e44bdf256dea | 3265b0e5b9a4b19e6c2988867d04b6ad19e882bb | /R/clean_colvals.R | bd2f0cdeb1f61d12fd521f24b0caace06b1eb213 | [] | no_license | DrMattG/happypillpain | 6f4a81c53ba0fe7a8cf440e0bdeda98e8f5d1158 | c1acfca9b438291581f07e8d369c2ad678960b1f | refs/heads/master | 2023-05-03T13:26:42.300131 | 2021-05-18T06:40:34 | 2021-05-18T06:40:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 382 | r | clean_colvals.R | #' Convert a column to clean-names equivalent
#'
clean_colvals <- function(df, col) {
cleaned_col <-
df %>%
select({{col}}) %>%
# select(Scale) %>%
mutate(junk = 1) %>%
pivot_wider(
names_from = {{col}},
values_from = junk
) %>%
clean_names() %>%
colnames()
... |
998fb7d4f9e4a41f2db90652a0aafc5edba32d2d | 1f64458f1ef776d15aabea3c91145e487580a2aa | /R/progression-tables.R | 20ae8062e58de9e546031bbca2aeb772d3d4e085 | [
"MIT"
] | permissive | Ed-Rubi0/STM | bf9973f3eeafa2f2eb44d01eeb4b904e23a67c45 | e3a99179ccaa09181cf133f9c84c05eb4df90584 | refs/heads/main | 2023-01-05T01:22:44.974434 | 2020-10-29T16:13:09 | 2020-10-29T16:13:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,267 | r | progression-tables.R | #' Generic progression table
#'
#' Generic progression tables allow for custom progressions using
#' \code{rep_start}, \code{rep_step}, \code{inc_start}, and
#' \code{inc_step} parameters. For more information check the
#' 'Strength Training Manual' Chapter 6.
#'
#' @param reps Number of reps
#' @param step Pr... |
7d3fbb5be8f83ad740100c083ca7e8d7f3878b89 | 83ba6ec557810c39d713f11c1e6a46bc22a24a0f | /tests/testthat/test-handle.R | 67b3460eb0f31f17f86f6b68cf434319f3d419de | [
"MIT"
] | permissive | paleolimbot/grd | 65ae5142eac0d339a8c150b64b81102ce8177b76 | d83e27d82b126e12649fbceb2830be80bffdae81 | refs/heads/master | 2023-08-22T02:05:21.121156 | 2021-10-16T00:04:59 | 2021-10-16T00:04:59 | 415,056,175 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,508 | r | test-handle.R |
test_that("wk_handle() works for grd_rct", {
expect_identical(
wk_handle(grd(nx = 1, ny = 1), wk::wkt_writer()),
wkt("POLYGON ((0 0, 1 0, 1 1, 0 1, 0 0))")
)
})
test_that("wk_handle() works for grd_xy", {
expect_identical(
wk_handle(grd(nx = 1, ny = 1, type = "centers"), wk::wkt_writer()),
wkt("... |
4f5e61d208582844b606627037460c01f5a69476 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/A1/Database/Kronegger-Pfandler-Pichler/dungeon/dungeon_i10-m5-u10-v0.pddl_planlen=23/dungeon_i10-m5-u10-v0.pddl_planlen=23.R | a76024434b69f620cbbd72f48585e2ef4682c528 | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 89 | r | dungeon_i10-m5-u10-v0.pddl_planlen=23.R | 85f810d7c745dc152af008ed46786529 dungeon_i10-m5-u10-v0.pddl_planlen=23.qdimacs 4915 12944 |
7009161d9dd65a272bc80af2aaa6370748686568 | 35c741fe1331be9fd2214c7b2cc3e5bcaddba833 | /simmen/man/SNF.Rd | 87d854b617903d8a254469fb812823a52ba58ed9 | [] | no_license | ctszkin/simmen | 717d73f06572ee3cc78fb82670966098b61fa330 | 3a08eae0a3385f2b810991cff575d19722302289 | refs/heads/master | 2020-05-17T05:44:58.805273 | 2014-06-17T11:04:11 | 2014-06-17T11:04:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 809 | rd | SNF.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\name{SNF}
\alias{SNF}
\alias{SNF.dynamic.mcmc}
\alias{SNF.static.maxLik}
\alias{SNF.static.mcmc}
\title{SNF}
\usage{
SNF(data, method = c("static.maxLik", "static.mcmc", "dynamic.mcmc"), ...)
SNF.static.maxLik(data, ...)
SNF.static.mcmc(data, m = 1000, last_estima... |
abca92736c4f0173417e62014841930ee42464c6 | df0f07dfc35171966e0e481bad72596ca8a80a06 | /run_analysis.R | e4a5858fe603ad43f5cb5bc30f95134479b4d9ab | [] | no_license | aniketks/cleaningDataAssignment | 883f527f45a91a4b28c45a7c9ba0b2d2e87b886b | 1c920289c8c3d4e135cd8456e63c2b34ec8a3e71 | refs/heads/master | 2020-04-01T19:22:37.229017 | 2018-10-18T02:40:02 | 2018-10-18T02:40:02 | 153,550,472 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,722 | r | run_analysis.R | library(dplyr)
library(plyr)
###1:Merges the training and the test sets to create one data set.
#Dowload files
download.file('https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip',
'/Users/aniketkumar/Downloads/zip.zip')
#Unzip the file and store in folder 'data'
unzip... |
c53d7a211c6e8c577fb41b0e3fc69b90bf499080 | db459f039af619335e884887a143fce550d884f5 | /baseline-spon.R | e099522244ee00678c538bc68091b4ba66b2d661 | [] | no_license | cx749/Thesis-statistic-in-R | d39dde0ea8a6edd3a2f71dd66ce8fbe0167869c5 | fc7f08c44ce55d6f60150b8be38264aefcfe3004 | refs/heads/master | 2020-04-17T17:23:25.332031 | 2019-01-21T09:10:18 | 2019-01-21T09:10:18 | 166,780,447 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,488 | r | baseline-spon.R | .libPaths("O:/paths") #set library path
library(tidyverse)
library(ggpubr)
library(ggsignif)
#import csv file of results
baseline <- read_csv("raw_baseline-spon.csv")
baseline <- baseline %>%
mutate(age = as.factor(age))
#create default boxplot function
default.single.boxplot <- list(geom_boxplot(a... |
5e1063042181f57d617a6b6732336e588e3e5722 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/Morpho/R/plot.normals.r | 8074c6f1218dbd8a5891f78ad6dd8fe172d222b6 | [] | 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 | 1,600 | r | plot.normals.r | #' plots the normals of a triangular surface mesh.
#'
#' visualises the vertex normals of a triangular surface mesh of class mesh3d.
#' If no normals are contained, they are computed.
#'
#'
#' @param x object of class "mesh3d"
#' @param length either a single numeric value or a numeric vector defining per-normals le... |
4075c4df21d3ebfe8876b814cd0befb2acbb64fd | b92ecd58bdcb74bcadb9b4050de8314352c80d71 | /data/popMT.R | a105b807fa0193defb48c4089eb7036cbfcdd503 | [] | no_license | cran/wpp2017 | 2fb52509372d113a7958429778fadc429e9e5b22 | 391e4b09a612b5f6c583ad282080fa2182993175 | refs/heads/master | 2020-12-03T05:11:27.249976 | 2020-02-10T05:10:02 | 2020-02-10T05:10:02 | 95,742,096 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 701 | r | popMT.R | # Total male population (observed)
# This dataset is created on the fly as a sum of the age-specific population estimates popM
popMT <- local({
source('popM.R')
#suppressPackageStartupMessages(library(data.table))
sum.by.country <- function(dataset) {
year.cols <- grep('^[0-9]{4}', colnames(dataset), value = T... |
978463728b3f4f2e90e3f0b83e350929b59e0a6f | ce8ec3a112edfb9865f04c321261da5aac2f9082 | /man/kth.Rd | 51ac5171ba7f7db57676fd238fab24affff81ccc | [
"MIT"
] | permissive | DrRoad/mapsRinteractive | 14c7c01756bcd4a4dcf74af3bdb7b0448db92cef | 5ac39688187556379ae58cf419a4015d3c1f2654 | refs/heads/master | 2022-04-10T09:24:25.159197 | 2020-03-05T19:28:57 | 2020-03-05T19:28:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,586 | rd | kth.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/kth.R
\name{kth}
\alias{kth}
\title{kth}
\usage{
kth(x = NULL, k = 2, highest = TRUE, index = FALSE,
unique = FALSE, multiple = FALSE)
}
\arguments{
\item{x}{Numeric vector.}
\item{k}{Positive integer. The order of the value to... |
ae21c2f2a3b01d2a68896182d0898c1524d40a9d | fa6240c6abdee96162077168aab4c5dba78fa46f | /man/predict.hierNet.logistic.Rd | a96c4c0aac42049d60601a256d3b187670b827eb | [] | no_license | cran/hierNet | da43557ed794998e74d5be0f6f5535171cdf26b5 | e9b755972191f85113df8f60aaddcd9b394e009e | refs/heads/master | 2021-01-21T12:35:51.742237 | 2020-02-05T12:10:20 | 2020-02-05T12:10:20 | 17,696,644 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,560 | rd | predict.hierNet.logistic.Rd | \name{predict.hierNet.logistic}
\alias{predict.hierNet.logistic}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{Prediction function for hierNet.logistic.}
\description{
A function to perform prediction, using an x matrix and the output of
the "hierNet.logistic" function or "hierNet.logistic.path"... |
c67a82fc8dc9d42cc667580a05fad9e2c6a6fb70 | b946f5bea65aa485a7b70d8a83ba5a0a9815cdd1 | /prep_discharge_loc_gis.R | e4d502f41d2a2068ec22f11bb33913a5eb8f9eef | [] | no_license | mgayte/Scripts | 741fb0b98ccb7b16cc72e00af20bdfc2a9c32ad6 | c20da91d665334c98b4ec83dc03f8bf02d3325b0 | refs/heads/main | 2023-03-13T16:44:22.751903 | 2021-03-05T03:32:29 | 2021-03-05T03:32:29 | 344,633,897 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,601 | r | prep_discharge_loc_gis.R | #############################################
# #
# Prep discharge data #
# for #
# map arcgis #
# #
############################################... |
4268892f887e6d2eeab8a85f4e55307f402a1f5b | 0a90eb1dcd39493a432098a6ff58f97231ef75d1 | /funcionesAmpliaQueries.R | 1edc45136970ad4e03bae1d5249fce9b63131cab | [] | no_license | FerDoranNie/geodataLimpiezaSismo | b426162b08b30958cc3ce4cbe2a6589599f10442 | 3295b44ed620eded5e912f6cbca149dd08766678 | refs/heads/master | 2021-07-04T19:07:30.194507 | 2017-09-25T23:11:24 | 2017-09-25T23:11:24 | 104,497,405 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,801 | r | funcionesAmpliaQueries.R | library(RJSONIO)
library(RCurl)
source("api_key.R")
urlRev <- "https://maps.googleapis.com/maps/api/geocode/json?latlng="
getGeoData <- function(location){
location <- gsub(' ','+',location)
geo_data <- getURL(paste("https://maps.googleapis.com/maps/api/geocode/json?address=",
location,"... |
8d3ed54eb159b478a12dbfc171a638aaf480901a | 0e16e28b012e001afa50498e97ad3bcf4e370b5e | /MLR.R | 54b8256386197240a43b6f95a64a30e035218e0b | [] | no_license | lucci-leo/Carl-De-Leo | 1f125e31233e7640c0443005640ba60ebae650c3 | 001ba9c7eee0edb1d982865c9c6c1829d4307863 | refs/heads/master | 2021-01-11T02:08:45.066303 | 2016-11-01T07:37:26 | 2016-11-01T07:37:26 | 70,827,446 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,143 | r | MLR.R | ## Question 3:
## Install Bioconductor
source("https://bioconductor.org/biocLite.R")
biocLite()## Question 1: Done online
## Install DNAshapeR
biocLite("DNAshapeR")
## Install Caret
install.packages("caret")
## Question 4: Included in the Code Below
## Initialization
library(DNAshapeR)
library(caret)
workingPath <- "/... |
744c9b62bb580c72ac0ae302055d55bed392528d | 67c4da4303daa228a90f50bf346da0e1f0420926 | /scripts/03_Plots.R | 240d34af76d1e42bbb454c5e2ab457167484b974 | [] | no_license | troettge/ItalianFinalLengthening | 432a6dc3b98190adaaedd30fcd6df3876fa71691 | 6d8f46e354a0b304371cc81c0118c904a8824d78 | refs/heads/master | 2020-04-21T12:45:58.382993 | 2019-02-07T15:59:22 | 2019-02-07T15:59:22 | 169,574,183 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,167 | r | 03_Plots.R | ## Project: Final Lengthening in Italian
## Description: Plot results
## Author: Timo Roettger
## Contact: timo.b.roettger@gmail.com
## Date: 07/02/19
## Code book:
# processed_Italian_QS.csv
# Speaker: Unique Speaker IDs (n = 16)
# Rand: Randomisation list (rand1, rand2, rand3, rand4)
# Pros: Prosodic cond... |
0cc9ec19684518e0758fdc47d4c5be1e2e006e71 | fce169786d16e6a4145dd47da96aa43fda44b32f | /Creating_multiple_pop-up_window.R | 351c127a50384200e8d5adbe3adeae222ce58d56 | [] | no_license | ramnithish/R-Shiny | 38095d898d99a1747fdae6fbd62ab4a78cfc9903 | 2db69ea4dfe4702ab60fd530b1a2b641260d76b5 | refs/heads/master | 2020-04-07T12:40:55.406285 | 2019-01-10T03:16:49 | 2019-01-10T03:16:49 | 158,376,718 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,576 | r | Creating_multiple_pop-up_window.R | library(shiny)
library(ggplot2) # used to plot ggplot2 graphs
##ui code begin here
ui <- fluidPage(
h4("PLOT of MTCARS"),
# sidebarPanel(
# selectInput('xCol', 'X', names(mtcars)),
# selectInput('yCol', 'Y', names(mtcars))),
#
# Shows the plot in mainpanel
mainPanel(plotOutput('plot',click... |
b5a5fa73e34c13d708b66a1bd539676b2e584446 | 300250b64edf0ed40e7f120647a3226197032297 | /problemadamochila.r | 540ffaf9a9e227505f086b0d54dda1515d816360 | [] | no_license | brunamagrinidacruz/semcomp22-algoritmos-evolutivos | cbcba323b1108604081411bad7914a6d88dac07b | f57c04a4c987ebf706809454ce35980ccb526117 | refs/heads/master | 2022-03-21T09:42:01.693418 | 2019-10-01T03:12:12 | 2019-10-01T03:12:12 | 211,992,711 | 1 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 6,235 | r | problemadamochila.r | # Uma mochila suporta 15kg
# Temos a possibilidade de fazer a combinacao entre os pesos e o ganho:
# Valor: 2 Peso: 1
# Valor: 4 Peso: 12
# Valor: 2 Peso: 2
# Valor: 1 Peso: 1
# Valor: 10 Peso: 4
capacidade = 15
valor = c(2, 4, 2 , 1, 10)
peso = c(1, 12, 2, 1, 4)
mochila <- function(cromossomo) {
valor... |
9e64ccbe281708b0ff978bcaff85764a17f942b9 | 38dea308be807a700802b877178bf6a41aac63ce | /man/show.project.Rd | d130ee4e46e0e4f53897e7aee41e4a66b2e4811a | [] | no_license | jeromyanglim/ProjectTemplate | 84e8e745da052007562b7ee40af63f939da71518 | 2b23b98718dde14c1e4161d05ed841dffabd49b4 | refs/heads/master | 2021-01-24T11:39:27.413553 | 2018-02-25T20:18:29 | 2018-02-25T20:18:29 | 70,218,773 | 2 | 2 | null | 2016-10-07T05:43:39 | 2016-10-07T05:43:38 | null | UTF-8 | R | false | true | 1,006 | rd | show.project.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/show.project.R
\name{show.project}
\alias{show.project}
\title{Show information about the current project.}
\usage{
show.project()
}
\value{
No value is returned; this function is called for its side effects.
}
\description{
This ... |
070dd2fb8de9df0b7e5411dc880a744e84be7fb9 | 86a0e477dbfcf3319b6884a151c829182060ec5a | /MUSIC_results/MUSIC.R | 0fcf8dc9d0425e5ff20d8f9b5a2c0888630095de | [] | no_license | JuanruMaryGuo/perturb | 4af31c8ad5c924967071fbc243745be7eaf2c533 | 920e82ed6d9335e671f120dfd6ce27960779ffa6 | refs/heads/main | 2023-02-04T15:07:36.181815 | 2020-12-21T13:08:54 | 2020-12-21T13:08:54 | 303,863,707 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,299 | r | MUSIC.R | library(Biostrings)
library(clusterProfiler)
library(devtools)
library(SAVER)
library(MUSIC)
library(Seurat)
setwd("/Users/guojuanru/Desktop/Yale/MUSIC/mock")
crop_seq_list_mock<-Input_preprocess_10X_modified("/Users/guojuanru/Desktop/Yale/MUSIC/mock/")
save(crop_seq_list_mock,file = "crop_seq_list_mock.Rdata")
expr... |
655e5cd2715c4d5abd5c33b3a6a90b9110a8f96a | f4fe6046e22427afe038f136f8383ecbab7accae | /cart/02-custom-metric.R | 5a3b09c53693b2f067b14c068b149ff86de643ff | [] | no_license | anhnguyendepocen/rexamples | 73a91d71bf7d1fa5f88f2539cd6471b413e882f5 | 9ef0e4676ac6486b369e9fee407d928655e72337 | refs/heads/master | 2021-10-08T23:00:13.762527 | 2018-12-18T20:33:12 | 2018-12-18T20:33:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,049 | r | 02-custom-metric.R | # @ ?train (see Examples section)
### include
library(caret)
library(plyr)
library(ggplot2)
### data
data(iris)
iris <- subset(iris, Species == "setosa")
str(iris)
X <- subset(iris, select = c("Sepal.Length", "Petal.Length"))
Y <- subset(iris, select = "Petal.Width")
# See the reasoning for the model by plotting
# ... |
68672daf67ec2b86482671d8200da51847fc66fb | 0c980239ec00947f41822ff21c24c838f27882ef | /R/euterpe.R | 7bacf30af7eb9b59d16618c1119ced1ea5f51464 | [] | no_license | AndreaSanchezTapia/spfilt | 0f1c2f5eec2b10c63c0045700d6d68ee7804d0fc | 837abc10da176c0670ca365a458ece799269f76a | refs/heads/master | 2020-04-01T18:13:44.034430 | 2019-09-06T06:10:00 | 2019-09-06T06:10:00 | 153,479,998 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 286 | r | euterpe.R | #' Euterpe edulis occurrence data.
#' @description Distribution data for Euterpe edulis (a widely distributed palm, occurring continuously throughout the Atlantic Forest). Downloaded from GBIF with the gbif function from dismo package.
#' @references \url{http://www.gbif.org}
"euterpe" |
d706ff9ea42ab9b09c705abbcaa7f4fb0774febb | 64d87e5dca09e79caafa9b597553adcaefc9050c | /test5.R | 20ad15a76f7b9eb010c2691827cef1a67608f585 | [] | no_license | lionem2018/R_Practice | 127f85b16c8a6404893d31fc96f858b3f5452421 | 28660a71e0e0dd9219f2279edf5273c758f7d3a2 | refs/heads/master | 2020-03-22T08:57:59.919723 | 2018-07-05T06:28:56 | 2018-07-05T06:28:56 | null | 0 | 0 | null | null | null | null | ISO-8859-7 | R | false | false | 500 | r | test5.R | install.packages("readxl") # exel??Ό??½κΈ°μ??¨?€ΧΩ?€μΉ?
library(readxl)
# 첫ν?λ³?λͺ
μ΄μ‘΄μ¬? κ²½μ°
df_exam1 <-read_excel("excel_exam.xlsx")
df_exam1
# 첫νλΆ?°λ°λ‘?°?΄?°?Όκ²½μ°
df_exam2 <- read_excel("excel_exam.xlsx", col_names=F)
df_exam2
mean(df_exam1$english)
mean(df_exam1$ma... |
48baa4ccc46dd4f0d8ee5b95c79203682487d087 | 0211662ef5092f5350ef811056d9ad39bd7e40b3 | /man/hello.Rd | 3155555a0267c8ff4cc355f545afc97d879c379d | [] | no_license | paulafortuna/StopPropagHateR | eafdaf2aa4738ba51cc8479c69a5a6cf4425c0ca | 56ca97d37c3a87e0dc89e4c1d2fcecf99b6df400 | refs/heads/master | 2020-03-22T17:49:12.981636 | 2018-07-18T07:36:01 | 2018-07-18T07:36:01 | 140,418,313 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 286 | rd | hello.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hello.R
\name{hello}
\alias{hello}
\title{Hello World}
\usage{
hello(myname = "")
}
\arguments{
\item{myname}{your name. Required.}
}
\description{
Basic hello world function to be called from the demo app
}
|
bb48561977ee1fd499a63f5871720a6b69853c13 | e5b1416f3d7434fc19fee3a51474069cb2478e29 | /man/evaluateFasta.Rd | 936174b2accb9fa41afe2e725df443fa9de3a6cb | [] | no_license | anilgunduz/deepG | 16c13a8e0d2d372913506ab626ad31d4af76c428 | e47c415f04da15e363b46c39027c30255e0b698e | refs/heads/master | 2023-06-26T23:38:27.845094 | 2021-07-30T09:51:12 | 2021-07-30T09:51:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,861 | rd | evaluateFasta.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/predict.R
\name{evaluateFasta}
\alias{evaluateFasta}
\title{Evaluates a trained model on .fasta/fastq files}
\usage{
evaluateFasta(
fasta.path,
model = NULL,
batch.size = 100,
step = 1,
vocabulary = c("a", "c", "g", "t"),
label_vo... |
3328254b26b254e0c4cecb4daf032a007db9f8a8 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/HK80/examples/HK1980GRID_TO_WGS84UTM.Rd.R | 669abe3d4f2ec90f7774d30c4a730f7bc43c5ccc | [] | 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 | 542 | r | HK1980GRID_TO_WGS84UTM.Rd.R | library(HK80)
### Name: HK1980GRID_TO_WGS84UTM
### Title: Convert HK1980GRID coordinates to WGS84UTM coordinates
### Aliases: HK1980GRID_TO_WGS84UTM
### Keywords: HK1980GRID WGS84UTM
### ** Examples
options(digits = 15)
HK1980GRID_TO_WGS84UTM(820351.389, 832591.320)
#### $N
#### [1] 2471278.72371238
####
#### $E
... |
bddc749c3c1e47b89267c79d6604db2eb7df4566 | 78ee080962e68cbca60c7a27e5abe91ca728ebfe | /server.R | e412b8b37d9c9bc6a88b38ebdccb751862d5b2ff | [] | no_license | saos-apps/wspolzasiadanie | 44abe18adbd221d1a653ba89741fc457043ab167 | 8a3ee349168429de9a11d00a266bb66bf3cd02dd | refs/heads/master | 2021-01-15T11:49:06.683865 | 2019-05-24T17:47:54 | 2019-05-24T17:47:54 | 31,543,312 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 28,320 | r | server.R | require(tidyr)
require(scales)
require(zoo)
require(shiny)
require(ggplot2)
require(igraph)
require(plyr)
require(dplyr)
require(data.table)
require(RColorBrewer)
require(sqldf)
source("funkcje.R")
source("helpers.R")
judgments<-readRDS("data/judgments.rds")
judges<-readRDS("data/judges.rds")
divisions<-readRDS("data/d... |
db924e83f69a3f07e4c493692fa83d88af9d958c | 7906d9809924c2d9d6f7652aca712144e095cf35 | /man/readFromPopulationFile.Rd | ef43cb8fac8bb53e8cd6ef47cf6a45369d9c9158 | [
"MIT"
] | permissive | rdinnager/slimrlang | 999d8f5af0162dbcc8c42ff93b4dc5ae2f0cb7fc | 375a2667b0b3ab4fa03786fb69c5572f6367d36b | refs/heads/master | 2022-10-19T04:02:43.013658 | 2020-06-14T10:31:45 | 2020-06-14T10:31:45 | 262,492,066 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 7,317 | rd | readFromPopulationFile.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/slim_lang.R
\name{readFromPopulationFile}
\alias{readFromPopulationFile}
\alias{SLiMSim$readFromPopulationFile}
\alias{.SS$readFromPopulationFile}
\title{SLiM method readFromPopulationFile}
\usage{
readFromPopulationFile(filePath)
}
\argument... |
60280b155ff9af171e71399d1f1d552fa03ca0cc | f3bbc879600ff372f713d7570ed25c307f09a75b | /imageprocessing/readimages.R | 604ed58f76abc6fa3792c1b05fee8fcaf7087169 | [] | no_license | lauracova/senior_project | 3f73fd3368087c848f0b4ec2d3939a8d51fb0bc5 | 9d15734b6c36c9c72ff65440df4462f95e09f106 | refs/heads/master | 2020-05-03T10:56:51.433338 | 2019-12-03T23:05:57 | 2019-12-03T23:05:57 | 178,590,651 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,232 | r | readimages.R |
'''
The 10 classes to predict are:
c0: safe driving
c1: texting - right
c2: talking on the phone - right
c3: texting - left
c4: talking on the phone - left
c5: operating the radio
c6: drinking
c7: reaching behind
c8: hair and makeup
c9: talking to passenger
'''
############################################
# read in ... |
b24cf30140b231ce49293c29b9e3565ee966f88d | 457ac364ea29973a1a0378d5665931872100a121 | /CCES R.R | 0f858328fa5acf3e2658f50ab178f33e7a79dee9 | [] | no_license | jberry2/trumps-border-wall | 939f3c93088029b538b532fb64a6d8f1ed2fa219 | 3ddf3f15a3fd1d5f38f560b47d013f0b09b26658 | refs/heads/master | 2020-04-16T21:42:30.689827 | 2019-01-15T23:53:21 | 2019-01-15T23:53:21 | 165,936,317 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 544 | r | CCES R.R | library(haven)
library(tidyverse)
library(ggplot2)
library(survey)
library(ggthemes)
CCES <- read_dta("Documents - Harvard University/2018-2019/September-December/American Public Opinion/Final Memo/CCES16_Common_OUTPUT_Feb2018_VV.dta")
CCES <- as_factor(CCES)
CCES$state <- CCES$inputstate
CCES$white <- CCES$race
wh... |
9b63eac6e49a49b76c542a8b57f2230ba0c7f4f7 | 2219f7988e07df1d78f09e2bd3ce2feb6c87fc51 | /tests/testthat/test-lba-math.R | 7d988ae5efbf318eed9a52cb3d223d1d14c015c7 | [] | no_license | rtdists/rtdists | d1374c0e57fdbe05c0bdd3ce7d2b71d53a4f84e8 | 99a226f750c22de61e8e4899d2776104c316f03d | refs/heads/master | 2022-01-19T10:51:30.547103 | 2022-01-04T09:00:15 | 2022-01-04T09:00:15 | 23,277,437 | 41 | 14 | null | 2023-08-12T02:39:35 | 2014-08-24T09:20:45 | R | UTF-8 | R | false | false | 4,366 | r | test-lba-math.R | context("LBA-math agrees with current implementation")
runif(1)
x <- .Random.seed
set.seed(2)
test_that("PDF and CDF", {
n <- 10
samples_per_run <- 100
source(system.file("extdata", "lba-math.R", package = "rtdists"))
#source("inst/extdata//lba-math.r")
for (i in seq_len(n)) {
A <- runif(1, 0.3... |
bf47b41936c8e5ed251127657817e82718632762 | f6dcb066042632979fc5ccdd6aa7d796d3191003 | /Tutorial Code/ggplot_tutorial.R | 4526955965c2eccc79d21f24eab7de39f93ac132 | [] | no_license | NikoStein/ADS19 | 45301bcd68d851053399621dd8a0be784e1cc899 | 90f2439c6de8569f8a69983e0a605fd94e2e9f0a | refs/heads/master | 2020-05-19T19:10:12.411585 | 2020-03-12T00:02:14 | 2020-03-12T00:02:14 | 185,165,255 | 0 | 4 | null | 2019-08-06T06:16:30 | 2019-05-06T09:26:01 | HTML | UTF-8 | R | false | false | 1,487 | r | ggplot_tutorial.R | library(tidyverse)
dfSoccer = read.csv("https://github.com/vincentarelbundock/Rdatasets/raw/master/csv/vcd/Bundesliga.csv")
soccerTable = function(year){
dfSoccer %>%
filter(Year == year) %>%
mutate(pointsHome = if_else(HomeGoals > AwayGoals, 3, if_else(HomeGoals == AwayGoals, 1, 0)),
pointsAway ... |
f80150efa73044c43b35744943ea8689f6d5c100 | a064b6a958ad39eb5c06001228f8a14d55a14c53 | /ui.R | 0d8b714ae7f5b99cb8005bda38c55c3a31a1d4ed | [
"Apache-2.0"
] | permissive | NickTalavera/Xbox-One-Backwards-Compatibility-Predictions | 51196a064e05ea487664983cc6e2edd277dcee4d | 1263036d2edb66d5edc62907db47c35aed6bb8df | refs/heads/master | 2021-01-17T07:56:03.777255 | 2017-03-04T18:26:34 | 2017-03-04T18:26:34 | 83,819,189 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 16,286 | r | ui.R | # Xbox 360 Backwards Compatability Predictor
# Nick Talavera
# Date: November 1, 2016
# ui.R
#===============================================================================
# LIBRARIES #
#===============================================================... |
a22c6c3dd00ff21fa6c7b7aec3f7e184b135b850 | b951201cd94fc90a7e3fdb62ddc5215533e31abe | /drawing_raw_data.R | e648f6029eea3f23bf8d6d6ccbed56506ede407c | [] | no_license | omidi/Stochasticity_Sister_Cells | d6d203dc2d0b6ee0bdd146fa810d300969c0e386 | e5084b32064f97632bce31e5ce45d8fe376c4ec4 | refs/heads/master | 2021-01-09T20:53:37.458544 | 2016-06-20T16:07:07 | 2016-06-20T16:07:07 | 58,932,474 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,275 | r | drawing_raw_data.R | setwd('~/PycharmProjects/Stochasticity_Sister_Cells/')
# df = read.csv('~/Dropbox/Communication/Gene.Expression.Inheritance/Data 29.04.16/4.11 with mitosis.csv',
# header=FALSE)
require(RColorBrewer)
cols = brewer.pal(7, "Set1")
dest = "4.11_raw_data_plots"
# for (i in seq(1, dim(df)[2], by=2)) {
#
# ... |
e3af05f08072eecd21afb0dd569a806cb2582fa5 | 81d27c380d53de5258e56be5a240de9e954a229a | /src/deaths_averted_hospital/script.R | 4238835032b0e1cc79d9e8bcb149f6f3af92cd95 | [
"MIT"
] | permissive | mrc-ide/covid-vaccine-impact-orderly | 3145d6d9a817661d7094282dac94752eeeae9ed3 | eb325f1fea1c9ee5f2750d6567e5f6a0ba5fbfb4 | refs/heads/main | 2023-04-17T22:27:41.041072 | 2022-05-11T15:27:25 | 2022-05-11T15:27:25 | 410,044,956 | 4 | 3 | MIT | 2022-04-20T14:27:17 | 2021-09-24T17:16:03 | R | UTF-8 | R | false | false | 4,711 | r | script.R | if(!is.na(seed)){
set.seed(seed)
}
###Load data:
df_overall <- loadCounterfactualData(c("No Vaccines", "Baseline-Direct",
"Baseline-Direct & No Healthcare Surging",
"No Vaccines-No Healthcare Surging",
... |
fb19846d73bd3d0bd20b721f1325b40a0b7f353b | efc4e708132e1543827ee12f0076540681f2c354 | /Plot1.R | d9cfbbab590ba3cac5ea672679ccf1860a483d1e | [] | no_license | cmauricio/DataPlotCoursera | d99c934d40c5389a0486e8ff6eb2368323a89899 | 87358bfc84871e4ae96e560d6bd20af02133bbe6 | refs/heads/master | 2021-03-12T20:21:49.229998 | 2015-07-12T18:57:11 | 2015-07-12T18:57:11 | 38,973,195 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 1,265 | r | Plot1.R | ## Data asignment for the Data Scientist Course in Coursera
## Developed by Carlos Mauricio Castaño Díaz
## R version: 3.2.1
## Platform: Windows 7. 64 bit
## RStudio version: 0.99.451
setwd("C:/Users/Mauro/Desktop/RAssignment") ## Setup work directory
household_power_consumption <- read.csv("C:/Users/Mauro/Desktop/R... |
b4b82dfaf0bed7ea9b58a8d9a5fdbb4d33f55687 | 6f5408c66e329107478513deabdc27b19e676be4 | /hw05/hw05.R | bad37364011460f9121c99c26fed67e9f50d2a8a | [] | no_license | quyiwode/Data-Mining-in-R | 12095e6b00bf3e554893c85ae771a61f51f7cf97 | 4a2bf7503e17e676f863cde018af1f127a022001 | refs/heads/master | 2020-05-19T07:43:26.386518 | 2015-10-06T14:39:30 | 2015-10-06T14:39:30 | 42,493,297 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,802 | r | hw05.R | #############################
# < Yi Qu >
# STAT W4240
# Homework 05
# < Homework Due Date: Novemeber 25 >
#
# The following code use classfication trees and logistic regression
# to classify the federalist papers
#############################
#################
# Problem 4
#################
#----- START YOUR CODE BL... |
3e6411aa53b1deff63b516014102d2fecfaa2b48 | 8e6464eea79b07d65a72b38744dd317950991e70 | /Figure3c-d.R | b4a6882abddb2e7aeb41d6cd7882c4778c273e5f | [] | no_license | zm-git-dev/LDM_RNAseq_ChIPseq_NSCLC | 4c9d0253b17e26e9bf66f28ca2299a3a5d2772ce | 5d33fded3e9b24bb7c3cff2c31441d7266174be8 | refs/heads/main | 2023-03-28T09:50:22.883957 | 2021-04-04T02:31:06 | 2021-04-04T02:31:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,822 | r | Figure3c-d.R | ###Running RNA-seq analysis###
library("DESeq2")
library("ggplot2")
library("EnsDb.Hsapiens.v75")
library("AnnotationDbi")
library("ComplexHeatmap")
library("circlize")
library("ChIPseeker")
library("TxDb.Hsapiens.UCSC.hg19.knownGene")
library("enrichplot")
library("clusterProfiler")
library("org.Hs.eg.db")
source("RN... |
9de2eb76bde7e2ea839b5f511037d2328bdb6042 | 7f9a64c8bffb593b2fc77b990345512b7021235b | /Arp53D_populationCage_plotModellingResults.R | 2f1b90f2f7e41b6e030431eea63fbd49966eb359 | [] | no_license | jayoung/Arp53D_popCage | e69a99bdc7a23081026868c176442178ecd18499 | 8f6d9e77a2a693bc895ec21467e703328e574d3c | refs/heads/main | 2023-08-18T12:01:42.655882 | 2022-12-07T02:22:28 | 2022-12-07T02:22:28 | 373,989,515 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,260 | r | Arp53D_populationCage_plotModellingResults.R | library(dplyr)
library(tidyr)
library(ggplot2)
library(ggpubr)
library(scales)
library(grid)
library(gridExtra)
rm(list=ls())
setwd("/Volumes/malik_h/user/jayoung/forOtherPeople/forCourtney/Arp53D_population_cage_experiments/Arp53D_popCage")
load("Rdata_files/Arp53D_populationCage_modellingOutput.Rdata")
source("Arp... |
e782acc2724c158fb38d8e739c5120e74fd0de97 | 82f9c1b5dc7ff6b2f48bf83a19ca79b9cd9391f6 | /man/getWaterML2Data.Rd | 35655e749eb88d202b5a251526b76ee9daac0c97 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain-disclaimer"
] | permissive | bjsomalley/dataRetrieval | 1810a981f34c8a37acd59c704c8765cc0281831a | f775a8f9abbc07ff2924d2e48c35b52c125c7bc5 | refs/heads/master | 2021-01-18T07:52:02.826815 | 2014-08-05T22:00:56 | 2014-08-05T22:00:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 702 | rd | getWaterML2Data.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\name{getWaterML2Data}
\alias{getWaterML2Data}
\title{Function to return data from the WaterML2 data}
\usage{
getWaterML2Data(obs_url)
}
\arguments{
\item{obs_url}{string containing the url for the retrieval}
}
\value{
mergedDF a data frame containing columns agency,... |
4d8d6e48d44acfc5a71d7a2c428b80d64ba2ce5c | 4687684b530d87f13130e0bb3d1446dacfd08af9 | /R/plotFunction.R | 30004d9b3d573f041f523232a33d570181be49bb | [] | no_license | MarieEtienne/MixtLiP | ce576354901513d2d49dde88ddb2203309e28be8 | 5a41a0183223a8d17f0a2cea583fa533e5a09c66 | refs/heads/master | 2021-01-12T10:25:21.951744 | 2016-12-14T10:52:35 | 2016-12-14T10:52:35 | 76,445,613 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,294 | r | plotFunction.R | plot4dimData <- function(Y, Z = NULL, names=NULL, cex=1) {
if (is.null(Z)) {
Z = rep(1, nrow(Y))
}
if(is.null(names)){
names<- paste('Var', 1:ncol(Y))
}
par(mfcol = c(3,3))
plot(Y[,1], Y[,2], col = Z, xlab='',ylab=names[2], cex=cex)
plot(Y[,1], Y[,3], col = Z, xlab='',ylab=names[3], cex=cex)
plo... |
65955ad9514258ac24e227b7b3f947d367d5a504 | 794863d2e9e26424a04079a91c3a23063bdb4f8e | /R/GARCHselection.R | e1c775d5ec686cb34d7094e52b460382f478ba80 | [] | no_license | GabauerDavid/ConnectednessApproach | ef768e64e0bc458ad180bac6b667b3fe5662f01d | 0ca4799a2f5aa68fdd2c4a3e8a2e0e687d0a9b17 | refs/heads/main | 2023-08-09T07:23:45.002713 | 2023-07-27T22:57:04 | 2023-07-27T22:57:04 | 474,462,772 | 47 | 20 | null | 2023-03-12T04:22:26 | 2022-03-26T20:47:15 | R | UTF-8 | R | false | false | 3,769 | r | GARCHselection.R |
#' @title Univariate GARCH selection criterion
#' @description This function estimates and evaluates a combination of GARCH models with different distributions and suggests the best GARCH models among all alternatives given some test statistics
#' @param x zoo data matrix
#' @param distributions Vector of distribution... |
a3c3dab5092e7b5cf9343d8406b8866741737de9 | 57ece4e522fd10bf49f001c6b2caedbb07965068 | /run_analysis.R | 8086a8ed38855fc0fc4cbd46bd892d93218e2af1 | [] | no_license | SKelliher/DataCleaningAssignment | 74846b11a4af27c5961a2b037e46db3d14d5069f | e8c8c820913d50ed266735422e802ae3327afffc | refs/heads/master | 2021-01-20T17:15:38.585875 | 2016-07-10T21:31:45 | 2016-07-10T21:31:45 | 63,018,069 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,192 | r | run_analysis.R | # Clear workspace variables
rm(list=ls())
# Check if subdirectory "dataset" exists
if (!file.exists("dataset")) {dir.create("dataset")}
# Source data URL
URL <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
# Assign local name for zip archive
ziparchive = "UCI HAR... |
a4fc175e9d0e2ec27b9b8041e3e07471722321c7 | dfe533f87566e7d3da51d58ff74e0a1200572300 | /Shiny_Richard/gina-trouble-shoot.R | 4cf5da2635c802296fa92ab884e3f73246503ee5 | [] | no_license | Agron508/Repository_2020 | 859c9072f8609ebab52019ad1d21386ece9d0e26 | 1273277ce10fad7831a5476a0759b53162e6e69c | refs/heads/master | 2020-12-29T07:34:58.107010 | 2020-05-06T21:13:05 | 2020-05-06T21:13:05 | 238,516,619 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,041 | r | gina-trouble-shoot.R | #This is my app to edit
# 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)
library(tidyverse)
library(janitor)
library(scales)
library(lubridate)
libra... |
25c19caf0862a9a4cf7bafdd3cd0a443aa71c7e0 | 4a636d9dbd819640c13ed6ad600fa41fe736356d | /man/Modelcharts.Rd | dd262f73798426090b7e27e8d176c9b7a84dda49 | [] | no_license | cran/Modelcharts | 87c6f7f6f2c6e904c2f9ae48dc98bd36df437ef0 | e3231f7011d32308e92f0688c05c6ab437af57cb | refs/heads/master | 2021-04-03T09:03:48.415112 | 2018-03-13T10:07:18 | 2018-03-13T10:07:18 | 125,039,178 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 653 | rd | Modelcharts.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Modelcharts.R
\docType{package}
\name{Modelcharts}
\alias{Modelcharts}
\alias{Modelcharts-package}
\title{Gain Chart and Lift Chart \cr}
\description{
This Package provides two important functions for producing Gain chart and Lift... |
984da32ff6717714cf645d2fd5a22c61634f7f8d | ed43c0b1500ce9849c27c3e241b6df4c1a52b8ca | /man/load_data.Rd | b3e3ea40e94dfb2d0f285111d2ba5cf54d2fdc87 | [] | no_license | akastrin/sarcoid-microbiome-paper | 6b97ba60a96dad83885793cba8cc943fe5121426 | 6d19e284fc89a9b952fd21ca7e1f7042d737578c | refs/heads/master | 2020-03-28T12:24:34.027376 | 2017-07-20T12:06:36 | 2017-07-20T12:06:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 457 | rd | load_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/load_data.R
\name{load_data}
\alias{load_data}
\title{Load datasets.}
\usage{
load_data(set = c("A", "B", "C", "DE"), data = c("16S", "ITS", "virome",
"WGS"), data_fp = opts$data_fp)
}
\arguments{
\item{set}{the sample set in question (of A... |
dbc02a2ecb56154d82c9578a749d9768fb9c4955 | a3769c8719aa41fce75f203ffcf02f485626cceb | /data-raw/df-abs-ROX-data.R | e37ffb70453b1bd6c75de00e9be506876d1d8dd9 | [
"MIT"
] | permissive | JPSieg/MeltR | e2af7222f6755be076005e9100a8ded3726580be | d1ce870082194de47ca54a3a0d470548f723a2e8 | refs/heads/master | 2023-04-13T00:54:44.703450 | 2023-03-28T17:29:13 | 2023-03-28T17:29:13 | 262,172,873 | 7 | 1 | null | 2022-07-12T13:20:22 | 2020-05-07T22:37:27 | R | UTF-8 | R | false | false | 165 | r | df-abs-ROX-data.R | ## code to prepare `df.abs.ROX.data` dataset goes here
df.abs.ROX.data = read.csv("data/js3047_ROX_data.csv")
usethis::use_data(df.abs.ROX.data, overwrite = TRUE)
|
50e676289bffa5fe196e9c3f8ae42ea2cba5baaa | b718ca150ca94783df2bbfacd42e93548ada0ba5 | /xbrl.R | 0bf5a3550198e9d502b7c025c83c21f007d0a253 | [] | no_license | PaulMaley/Toba | 11f6901a15d89321fe7a31325e860494171a344e | cbe7355ed7e16a436ba6142d9b5f04419832ad00 | refs/heads/master | 2021-01-19T03:29:07.866534 | 2017-04-17T09:26:57 | 2017-04-17T09:26:57 | 87,316,067 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 561 | r | xbrl.R | library('XBRL')
library('finstr') ## needs package DBI, assertthat, tibble
options(stringsAsFactors = FALSE)
## Link to Edgar - Serious downloading problems to understand .....
## ref <- 'https://www.sec.gov/Archives/edgar/data/1318605/000156459017003118/tsla-20161231.xml'
ref <- 'https://www.sec.gov/Archives/edgar/d... |
aac0a7c424d1920d5cf6d4901e317accc4437366 | 0153b7d266bc6b6ba4bd42533853999aaa89f707 | /man/computePhysChem.Rd | 216070a7bc20c4c9dd4355ff7a4c17be3e7de010 | [] | no_license | Yan-Liao/ncProR | c45b6976d7bdbc32676bd5b12e4ab651858940b7 | fd6e5648a5e697c320a5356f6aedb7967bd6098d | refs/heads/master | 2022-04-07T21:04:00.304571 | 2020-03-04T05:34:15 | 2020-03-04T05:34:15 | 258,749,779 | 0 | 1 | null | 2020-04-25T10:37:48 | 2020-04-25T10:37:47 | null | UTF-8 | R | false | true | 6,107 | rd | computePhysChem.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/PhysicochemicalProperty.R
\name{computePhysChem}
\alias{computePhysChem}
\title{Computation of the Physicochemical Features of RNA or Protein Sequences}
\usage{
computePhysChem(seqs, seqType = c("RNA", "Pro"), Fourier.len = 10,
physchemRNA ... |
3f05c1bfbd022cac31c5c029ab45578136a47d06 | 1ea1fac76546164a7de31459b844214280a50c38 | /man/player_stats.Rd | f1b96db365727a8838b4c02aba9c0734dd38152a | [] | no_license | SaniyaMAli/columbia | a19391b57555c9109f00386b8c643f74e5a6037d | 256cc060ba0edfeb832edd9a739d374d17eddbd5 | refs/heads/master | 2021-02-14T01:59:37.289637 | 2020-03-04T20:21:27 | 2020-03-04T20:21:27 | 244,756,069 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 392 | rd | player_stats.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/playerstats.R
\name{player_stats}
\alias{player_stats}
\title{A Player Assists Function}
\usage{
player_stats(year)
}
\arguments{
\item{year}{Year of interest.}
}
\description{
This function allows you to see which player had the most assists... |
93ae345df1fc6d09d2a6c43568552c10e6801ff2 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/entropart/examples/Tsallis.Rd.R | f17e427020a2b14ce37517f494c74781f7dfd897 | [] | 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 | 626 | r | Tsallis.Rd.R | library(entropart)
### Name: Tsallis
### Title: Tsallis (HCDT) Entropy of a community
### Aliases: Tsallis bcTsallis Tsallis.ProbaVector Tsallis.AbdVector
### Tsallis.integer Tsallis.numeric
### ** Examples
# Load Paracou data (number of trees per species in two 1-ha plot of a tropical forest)
data(Paracou618)
# ... |
c81942d28a2a08385e959e08b8829369988316da | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/knitr/examples/opts_chunk.Rd.R | a6018f9b89222d0d5369e4300cd0b66dc9505fef | [] | 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 | 216 | r | opts_chunk.Rd.R | library(knitr)
### Name: opts_chunk
### Title: Default and current chunk options
### Aliases: opts_chunk opts_current
### Keywords: datasets
### ** Examples
opts_chunk$get("prompt")
opts_chunk$get("fig.keep")
|
6c2ff0589638fcef289e3ba0ded987b500b82056 | 926517ec2bca37361dd5c785f5350d7179bcff61 | /data-raw/Tree.dataset.BCI.R | 7e6be04d05e822aabca79fa66e49946f36cd0002 | [] | no_license | femeunier/LianaRTM | 0f144b5db9b8d980bd72f5dc6e2e9ab5355fba32 | 697a5945b49816351d409ae58c5a41ec8b8f7ecd | refs/heads/main | 2023-05-02T02:56:22.638079 | 2021-05-06T15:06:47 | 2021-05-06T15:06:47 | 348,286,242 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,234 | r | Tree.dataset.BCI.R | library(dplyr)
library(LidarED)
folder <- "./data/"
times <- seq(1980,2010,5)
census <- list()
df.BCI <- data.frame()
for (i in seq(1,7)){
censusname <- paste0("bci.full",i)
datafile2read <- file.path(folder,paste0(censusname,".rdata"))
load(datafile2read)
census[[as.character(times[i])]] <- get(censusname)
... |
22a6ee15018c929c63ff8877cd2f1bdd8f13d880 | 93e8e426da28151c87829df7dcdbb61b3f157f74 | /plot3.R | cd4adaedf8957a799a76960e59f43c422dffbeb6 | [] | no_license | GGanguly/ExData_Plotting1 | 65684a56c522a98e5966b01a51aee15d6dd49991 | 84fe9a951aa8f9bc2eaa5cb4fbf97ea602b75518 | refs/heads/master | 2021-01-13T10:06:52.760080 | 2016-03-27T00:03:53 | 2016-03-27T00:03:53 | 54,757,175 | 0 | 0 | null | 2016-03-26T01:41:32 | 2016-03-26T01:41:32 | null | UTF-8 | R | false | false | 451 | r | plot3.R | plot3 <- function(finalDf){
with(finalDf,plot(date_ts,Sub_metering_1, type="l", xlab="", ylab="Energy sub metering"))
lines(finalDf$date_ts,finalDf$Sub_metering_2,col="red")
lines(finalDf$date_ts,finalDf$Sub_metering_3,col="blue")
legend("topright", col=c("black","red","blue"), c("Sub_metering_1 ","Sub_meterin... |
a1d8b22501064fac3acc99fa49a6526441b7b732 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/kequate/examples/cdist.Rd.R | 807f18404c809546588935ba2e849e2c507911f1 | [] | 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 | 522 | r | cdist.Rd.R | library(kequate)
### Name: cdist
### Title: Conditional Mean, Variance, Skewness and Kurtosis
### Aliases: cdist
### ** Examples
freqdata<-data.frame(X=c(1,2,2,1,2,2,2,2,3,1,2,1,4,2,1,1,3,3,3,3),
A=(c(0,2,1,1,0,3,1,2,2,0,2,0,3,1,1,2,2,2,1,2)))
Pdata<-kefreq(freqdata$X, 0:5, freqdata$A, 0:3)
Pglm<-glm(frequency~X+I... |
11062edb05e6a166cd9f4d92eceb3c1657e5b620 | 057cb37817ffeec47fffecdabb59fc1f060884e8 | /experiment_real_data/single_cell/breast_TNBC/generate.onconem.R | be3c03660801a56569119c2e41f0358d258a54b3 | [] | no_license | BIMIB-DISCo/MST | 7e1a89e430ed0c16f42a9caecafb0e1f426189fc | d1db82d70c6df9c19ab86153e3b7e696d1f7588b | refs/heads/master | 2021-01-13T06:56:36.494870 | 2018-12-09T22:22:08 | 2018-12-09T22:22:08 | 54,653,989 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,981 | r | generate.onconem.R | ##############################################################################
###
### MST
###
### Generate OncoNEM
###
##############################################################################
### Copyright (c) 2015-2018, The TRONCO Team (www.troncopackage.org)
### email: tronco@disco.unimib.it
### All rights res... |
ea0bc130412abcf95452a852e9d68d5ffe8015e9 | afe00b66262d444a8380bd346372d98ef7bf6299 | /fasagfa.R | 13e3f888e5be64912a98e83990aa0dddd83f45d6 | [] | no_license | YingxiaLiu/try | f8c7b2c4d8ee4e033017594ff0363f35d184e080 | 41ae0d650eac28962299a994a9459d99fc06cf5f | refs/heads/master | 2020-12-12T05:31:15.022256 | 2020-01-15T10:39:24 | 2020-01-15T10:39:24 | 234,052,816 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 33 | r | fasagfa.R | tiffile <- dircontents[1]
j=69
lm |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.